{
  "name": "Validate property documents with Claude (Anthropic), Google Drive and Slack",
  "nodes": [
    {
      "id": "a65a3d4f-cc2b-487c-99f4-dd01491ac8d5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -336
      ],
      "parameters": {
        "width": 960,
        "height": 1932,
        "content": "## Automated Property Document Validator\n\nThis workflow ingests property document packages submitted via webhook or monitored cloud storage, extracts text from each file, runs Claude AI to verify lega"
      }
    },
    {
      "id": "5d335b19-7bda-4f94-b31e-b1fc5d097e63",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        512
      ],
      "parameters": {
        "width": 456,
        "height": 524,
        "content": "## 1. Intake, Registration & File Retrieval"
      }
    },
    {
      "id": "4eeefba1-7996-4235-8ead-bd68df044e62",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1536,
        336
      ],
      "parameters": {
        "width": 572,
        "height": 740,
        "content": "## 2. Document Extraction & Type Classification\n### PDF Text · DOCX Parse · Document Identification"
      }
    },
    {
      "id": "0d49b4ed-2361-46fa-8a48-39d3cbd302dc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        556
      ],
      "parameters": {
        "width": 800,
        "height": 564,
        "content": "## 3. Claude AI Legal Compliance Analysis"
      }
    },
    {
      "id": "4bef9d01-0ae6-41e4-8b81-71dd13e4acfa",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2992,
        272
      ],
      "parameters": {
        "width": 920,
        "height": 920,
        "content": "## 4. Aggregation · Compliance Routing · Notifications · Audit Log"
      }
    },
    {
      "id": "030a3b75-e7e5-44d8-9088-cd3b9ddba482",
      "name": "Receive Document Submission",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1104,
        640
      ]
    },
    {
      "id": "0d750afe-8f0a-42fc-ade8-f4d5805d5950",
      "name": "Watch Drive Intake Folder",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        1104,
        832
      ]
    },
    {
      "id": "82566bc9-c9e8-472b-9f65-17b516197af0",
      "name": "Register Validation Case",
      "type": "n8n-nodes-base.code",
      "position": [
        1328,
        736
      ]
    },
    {
      "id": "0f0e001b-193b-4e2d-9667-3269faf3e0de",
      "name": "Download Document from Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1552,
        736
      ]
    },
    {
      "id": "572371fd-4ec1-4c9b-a0d6-2bd6e8e43891",
      "name": "Extract Document Text",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        1776,
        736
      ]
    },
    {
      "id": "59071362-d097-4c23-841f-1d7abfebb135",
      "name": "Classify & Prepare Document",
      "type": "n8n-nodes-base.code",
      "position": [
        2000,
        736
      ]
    },
    {
      "id": "a0e09fa8-26a4-4e77-8893-b2d05d14e636",
      "name": "AI Legal Compliance Check",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2224,
        736
      ]
    },
    {
      "id": "f30d3121-3ba9-48ca-9148-150865251772",
      "name": "Claude AI Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2296,
        960
      ]
    },
    {
      "id": "43a3ef9e-10f3-4ec2-9228-6871e95b6fde",
      "name": "Parse AI Validation Result",
      "type": "n8n-nodes-base.code",
      "position": [
        2576,
        736
      ]
    },
    {
      "id": "0892aaee-9b19-4a4e-a8a4-a892bbe9780a",
      "name": "Aggregate All Document Results",
      "type": "n8n-nodes-base.code",
      "position": [
        2800,
        736
      ]
    },
    {
      "id": "3963903b-49c7-4594-8f47-2d2793e5b9ef",
      "name": "Route by Compliance Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        3024,
        704
      ]
    },
    {
      "id": "eacaba37-bc71-4487-8c4a-bf2e5435be0f",
      "name": "Email Validation Report to Submitter",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        3248,
        448
      ]
    },
    {
      "id": "760cc9a4-b6e1-4a42-82a2-5ab51c509591",
      "name": "Alert Legal Team on Slack",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3248,
        640
      ]
    },
    {
      "id": "68960595-0d5e-4806-81e6-3a0e78b6737f",
      "name": "Write Compliance Audit Record",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3248,
        832
      ]
    },
    {
      "id": "462620c8-b4aa-4706-bcd5-163a5fabdd75",
      "name": "Build Final Validation Response",
      "type": "n8n-nodes-base.code",
      "position": [
        3472,
        640
      ]
    },
    {
      "id": "89b547ec-2b6d-474d-a9c0-d0e9c7e24b20",
      "name": "Return Validation Result to Caller",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3696,
        640
      ]
    },
    {
      "id": "c05f97cd-a900-4b7f-9dde-3aaf216d3c83",
      "name": "Mark Case Auto-Approved",
      "type": "n8n-nodes-base.set",
      "position": [
        3248,
        1024
      ]
    }
  ],
  "connections": {
    "Claude AI Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Legal Compliance Check",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extract Document Text": {
      "main": [
        [
          {
            "node": "Classify & Prepare Document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Register Validation Case": {
      "main": [
        [
          {
            "node": "Download Document from Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Legal Compliance Check": {
      "main": [
        [
          {
            "node": "Parse AI Validation Result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Alert Legal Team on Slack": {
      "main": [
        [
          {
            "node": "Build Final Validation Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Watch Drive Intake Folder": {
      "main": [
        [
          {
            "node": "Register Validation Case",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Validation Result": {
      "main": [
        [
          {
            "node": "Aggregate All Document Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Compliance Status": {
      "main": [
        [
          {
            "node": "Email Validation Report to Submitter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Write Compliance Audit Record",
            "type": "main",
            "index": 0
          },
          {
            "node": "Mark Case Auto-Approved",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email Validation Report to Submitter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Alert Legal Team on Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Write Compliance Audit Record",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email Validation Report to Submitter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Alert Legal Team on Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Write Compliance Audit Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Classify & Prepare Document": {
      "main": [
        [
          {
            "node": "AI Legal Compliance Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Document Submission": {
      "main": [
        [
          {
            "node": "Register Validation Case",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Document from Drive": {
      "main": [
        [
          {
            "node": "Extract Document Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Compliance Audit Record": {
      "main": [
        [
          {
            "node": "Build Final Validation Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate All Document Results": {
      "main": [
        [
          {
            "node": "Route by Compliance Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Final Validation Response": {
      "main": [
        [
          {
            "node": "Return Validation Result to Caller",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Validation Report to Submitter": {
      "main": [
        [
          {
            "node": "Build Final Validation Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}