{
  "name": "Track tenant document compliance with GPT-4,  Drive, Sheets, email and Slack",
  "nodes": [
    {
      "id": "cf21f2b4-6cef-4a90-82e7-9bb24923d244",
      "name": "Document Upload Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "497dc543-74f7-4172-ad63-bbd1cd4b3aaa",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        0
      ]
    },
    {
      "id": "1a5b2a0e-9e5a-41e6-8777-aaa020685a06",
      "name": "Normalize Tenant Data",
      "type": "n8n-nodes-base.set",
      "position": [
        448,
        0
      ]
    },
    {
      "id": "01e08050-8de0-45b7-81d7-233777889785",
      "name": "Upload to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        672,
        0
      ]
    },
    {
      "id": "72853a33-6243-4da1-9a51-b4e11bf5625c",
      "name": "Check Document Completeness",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        896,
        0
      ]
    },
    {
      "id": "77e38c97-65d5-4361-b3bf-2a62bfd7c54d",
      "name": "Log Document Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1248,
        0
      ]
    },
    {
      "id": "71e064ae-b0c8-4cf1-90c3-377176599e0c",
      "name": "Check Completeness Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        1472,
        0
      ]
    },
    {
      "id": "85287795-4678-45da-ba08-d0901bb50f46",
      "name": "Send Reminder Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1696,
        0
      ]
    },
    {
      "id": "066a4e98-75f6-4562-9c6a-2121dabf1b1a",
      "name": "Wait for Recheck",
      "type": "n8n-nodes-base.wait",
      "position": [
        1920,
        0
      ]
    },
    {
      "id": "5022287f-95b3-41cf-a5e0-b2cc8a944e4f",
      "name": "Escalate to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        2144,
        0
      ]
    },
    {
      "id": "f68705aa-6903-4ca3-9e03-dd8338dcb621",
      "name": "Weekly Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        224
      ]
    },
    {
      "id": "5fcb90ff-e997-428a-b1e9-7f58370ab2a3",
      "name": "Read Compliance Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        224
      ]
    },
    {
      "id": "55bdffa0-ad78-4c16-9415-e609829b7f8a",
      "name": "Aggregate Compliance Status",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        448,
        224
      ]
    },
    {
      "id": "db04dc20-51fd-4154-941f-92c2f946c1f1",
      "name": "Send Compliance Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        672,
        224
      ]
    },
    {
      "id": "eab4592f-70cd-46fc-a93e-1924b72949bf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "018717f3-5f54-4dfe-899f-bcf616e24012",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        176
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1fdeb3cd-6a65-42c0-9f79-ac1570f19700",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4d93eb9f-478e-4c1b-8424-9cbc4c5a0be7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1456,
        -176
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a0e9791f-91e6-46ea-a560-a7e13b35191a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -144
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Weekly Schedule": {
      "main": [
        [
          {
            "node": "Read Compliance Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Recheck": {
      "main": [
        [
          {
            "node": "Escalate to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Document Status": {
      "main": [
        [
          {
            "node": "Check Completeness Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Reminder Email": {
      "main": [
        [
          {
            "node": "Wait for Recheck",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Compliance Data": {
      "main": [
        [
          {
            "node": "Aggregate Compliance Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Tenant Data": {
      "main": [
        [
          {
            "node": "Upload to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Google Drive": {
      "main": [
        [
          {
            "node": "Check Document Completeness",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Normalize Tenant Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Document Upload Webhook": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Completeness Status": {
      "main": [
        [
          {
            "node": "Send Reminder Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Compliance Status": {
      "main": [
        [
          {
            "node": "Send Compliance Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Document Completeness": {
      "main": [
        [
          {
            "node": "Log Document Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}