๐Ÿ”ฌ Validate property documents with Claude (Anthropic), Google Drive and Slack

โšก 11 views ยท ๐Ÿ”ฌ Document Extraction & Analysis

Description

This workflow ingests property document packages submitted via webhook or monitored cloud storage, extracts text from each file, runs Claude AI to verify legal compliance, detect missing or expired documents, flag invalid clauses, and produces a structured validation report with remediation guidance.

How it works

  1. Trigger โ€” Webhook submission or Google Drive folder watch
  2. Intake & Register โ€” Logs submission, assigns case ID, normalises metadata
  3. Download Documents โ€” Fetches each file from Drive / S3 / URL
  4. Extract Text โ€” Reads PDF/DOCX content via parser node
  5. Classify Document Type โ€” Identifies contract, title, disclosure, certificate, etc.
  6. AI Legal Compliance Check โ€” Claude AI validates each document against jurisdiction rules
  7. Aggregate Validation Results โ€” Merges per-document findings into a case report
  8. Check Required Doc Checklist โ€” Detects missing mandatory documents
  9. Route by Compliance Status โ€” Branches on PASS / FAIL / REQUIRES_REVIEW
  10. Notify Submitter โ€” Email with full validation report and remediation steps
  11. Alert Legal Team on Slack โ€” Flags FAIL or critical issues to legal channel
  12. Create Audit Record โ€” Writes full report to Google Sheets compliance log
  13. Generate PDF Report โ€” Stores formatted report back to Drive
  14. Return Validation Response โ€” Sends structured JSON result to caller

Setup Steps

  1. Import workflow into n8n
  2. Configure credentials:
    • Anthropic API โ€” Claude AI for legal document analysis
    • Google Drive OAuth โ€” Document intake and report storage
    • Google Sheets OAuth โ€” Compliance audit log
    • Slack OAuth โ€” Legal team alerts
    • SendGrid / SMTP โ€” Submitter notification emails
  3. Set your Google Drive folder IDs for intake and output
  4. Configure jurisdiction rules in the AI prompt node
  5. Set mandatory document checklist in the Checklist node
  6. Activate the workflow

Sample Webhook Payload

{
  "caseId": "CASE-2025-0871",
  "submitterEmail": "agent@realty.com",
  "propertyAddress": "42 Oak Street, Sydney NSW 2000",
  "transactionType": "sale",
  "jurisdiction": "NSW",
  "documents": [
    {
      "name": "Contract of Sale",
      "type": "contract",
      "driveFileId": "1aBcDeFgHiJkL"
    },
    {
      "name": "Title Search",
      "type": "title",
      "driveFileId": "2mNoPqRsTuVwX"
    }
  ]
}

Document Types Supported

Features


Explore More Automation:
Contact us to design AI-powered lead nurturing, content engagement, and multi-platform reply workflows tailored to your growth strategy.

๐Ÿ”— Nodes Used

Send Email, Google Sheets, HTTP Request, Webhook, Google Drive, Google Drive Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup