{
  "name": "Route and review finance documents from Google Drive with AI, Notion, Gmail, Slack, and Google Sheets",
  "nodes": [
    {
      "id": "2a4677dd-411b-4ce5-a338-451aa90389f4",
      "name": "AI: Extract & Classify",
      "type": "n8n-nodes-base.code",
      "position": [
        2416,
        4016
      ]
    },
    {
      "id": "0bf0d913-02bb-49f7-901d-37a705a4e4ab",
      "name": "Notion: Create Approval Task",
      "type": "n8n-nodes-base.notion",
      "position": [
        3072,
        3968
      ]
    },
    {
      "id": "0d8b7384-375a-4d57-9f3d-7d4ef622a208",
      "name": "IF: Quality Check Required?",
      "type": "n8n-nodes-base.if",
      "position": [
        2880,
        4144
      ]
    },
    {
      "id": "110c2204-a997-40fd-bc0c-1c9ed3cdbd5c",
      "name": "Slack: Alert Team",
      "type": "n8n-nodes-base.slack",
      "position": [
        3056,
        4256
      ]
    },
    {
      "id": "3808cc7a-c6b1-4572-b73a-434d83f575cd",
      "name": "Log to Audit Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3280,
        4128
      ]
    },
    {
      "id": "c3b9b463-65c1-4404-85db-18fb46236119",
      "name": "Sticky Note: Intake",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1312,
        3888
      ],
      "parameters": {
        "width": 380,
        "height": 340,
        "content": "### 📥 INTAKE LAYER\nScheduled & webhook triggers feed documents into the system"
      }
    },
    {
      "id": "196562aa-9cc4-46a9-bb15-8689c7d16817",
      "name": "Sticky Note: AI Processing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        3888
      ],
      "parameters": {
        "width": 580,
        "height": 340,
        "content": "### 🔬 EXTRACTION & INTELLIGENCE\nOCR extracts text, AI classifies documents and extracts structured data with confidence scoring"
      }
    },
    {
      "id": "b30da001-a411-4483-b075-318722c6a0e7",
      "name": "Sticky Note: Smart Routing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2368,
        3888
      ],
      "parameters": {
        "width": 680,
        "height": 340,
        "content": "### 🎯 ROUTING & APPROVAL\nDepartmental routing with multi-tier approval workflows and quality checks"
      }
    },
    {
      "id": "db6ce707-cdf2-4d12-a8ba-a5fba21df300",
      "name": "Sticky Note: Output Layer",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3040,
        3664
      ],
      "parameters": {
        "width": 412,
        "height": 804,
        "content": "### ✅ AUDIT & ALERTS\nNotion tasks, Gmail escalations, Slack alerts, and comprehensive audit logging"
      }
    },
    {
      "id": "18774067-9adc-400a-95b1-b040b0ef3194",
      "name": "Trigger: Daily Schedule1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1344,
        3984
      ]
    },
    {
      "id": "7f03b5eb-1dfd-4919-95e0-ef595842bd0a",
      "name": "Trigger: Webhook Scan1",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1344,
        4096
      ]
    },
    {
      "id": "9601d3e4-47c3-428d-b277-e43d8b8b6db8",
      "name": "Fetch Bulk Scan from Drive1",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1584,
        4016
      ]
    },
    {
      "id": "5daa3796-51b8-4c4c-85c9-d360dc682a4c",
      "name": "Verify File Integrity1",
      "type": "n8n-nodes-base.code",
      "position": [
        1792,
        4016
      ]
    },
    {
      "id": "4de9a2bc-9362-48df-a14f-05163d5b34d5",
      "name": "Split PDF into Pages1",
      "type": "n8n-nodes-htmlcsstopdf.htmlcsstopdf",
      "position": [
        2000,
        4016
      ]
    },
    {
      "id": "a459d73f-9717-4e2b-b880-6a865047f84c",
      "name": "Route by Department1",
      "type": "n8n-nodes-base.switch",
      "position": [
        2640,
        4016
      ]
    },
    {
      "id": "060b9e8d-07ff-47ac-8da3-d8415f120602",
      "name": "Escalate High Value?1",
      "type": "n8n-nodes-base.if",
      "position": [
        2880,
        3904
      ]
    },
    {
      "id": "fab141d7-35d2-4542-87af-0179ef88ba90",
      "name": "Escalate to CFO (Gmail)1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3280,
        3792
      ]
    },
    {
      "id": "b31bcab7-def8-48a6-84fd-3c6ebc04a4b9",
      "name": "Main Documentation1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        3264
      ],
      "parameters": {
        "width": 500,
        "height": 580,
        "content": "## 🔍 How it works\nThis intelligent document processing workflow automatically handles bulk scans from Google Drive. After splitting PDFs page-by-page, it uses **OCR technology** to extract text, then "
      }
    },
    {
      "id": "b8641448-abae-4cec-9f81-d4965de22ee5",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2208,
        4016
      ]
    }
  ],
  "connections": {
    "Extract from File": {
      "main": [
        [
          {
            "node": "AI: Extract & Classify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack: Alert Team": {
      "main": [
        [
          {
            "node": "Log to Audit Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Department1": {
      "main": [
        [
          {
            "node": "Escalate High Value?1",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF: Quality Check Required?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log to Audit Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log to Audit Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Escalate High Value?1",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF: Quality Check Required?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Escalate High Value?1": {
      "main": [
        [
          {
            "node": "Notion: Create Approval Task",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log to Audit Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split PDF into Pages1": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI: Extract & Classify": {
      "main": [
        [
          {
            "node": "Route by Department1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: Webhook Scan1": {
      "main": [
        [
          {
            "node": "Fetch Bulk Scan from Drive1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Verify File Integrity1": {
      "main": [
        [
          {
            "node": "Split PDF into Pages1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Escalate to CFO (Gmail)1": {
      "main": [
        [
          {
            "node": "Log to Audit Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: Daily Schedule1": {
      "main": [
        [
          {
            "node": "Fetch Bulk Scan from Drive1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Bulk Scan from Drive1": {
      "main": [
        [
          {
            "node": "Verify File Integrity1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Quality Check Required?": {
      "main": [
        [
          {
            "node": "Slack: Alert Team",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log to Audit Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion: Create Approval Task": {
      "main": [
        [
          {
            "node": "Escalate to CFO (Gmail)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}