AutomationFlowsAI & RAG › Audit Document Compliance

Audit Document Compliance

Audit Document Compliance. Uses httpRequest, googleGeminiChat. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexityAI-powered4 nodesHTTP RequestGoogle Gemini Chat
AI & RAG Trigger: Webhook Nodes: 4 Complexity: ★★☆☆☆ AI nodes: yes Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Audit Document Compliance",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "audit-document-compliance",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "url": "={{$json.body.fileUrl}}",
        "responseFormat": "string",
        "options": {}
      },
      "name": "Download File",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "gemini-1.5-flash",
          "mode": "list",
          "cachedResultName": "Gemini 1.5 Flash"
        },
        "prompt": "=Analyze the following real estate document text and determine if it is compliant. Look for signatures and dates. Return JSON with 'status' (Compliant/Review Needed) and 'reason'.\n\nDocument Context: {{$node[\"Webhook\"].json.body.fileName}}\n\nText Content: {{$json.data}}",
        "options": {}
      },
      "name": "Google Gemini",
      "type": "n8n-nodes-base.googleGeminiChat",
      "typeVersion": 1,
      "position": [
        650,
        300
      ],
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{$json.output}}",
        "options": {}
      },
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        850,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Google Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Audit Document Compliance. Uses httpRequest, googleGeminiChat. Webhook trigger; 4 nodes.

Source: https://github.com/YHSG-Kling/Smart-Engine--VIP-Agents/blob/39a4392cd3e306846338d3870d4add1e5c4c0d54/workflows/audit-document.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

N8N Workflow. Uses httpRequest, toolHttpRequest, memoryBufferWindow, lmChatGoogleGemini. Webhook trigger; 13 nodes.

HTTP Request, Tool Http Request, Memory Buffer Window +2
AI & RAG

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Agent, Anthropic Chat, N8N Nodes Octavehq +1
AI & RAG

Messenger. Uses agent, memoryBufferWindow, httpRequest, googleSheetsTool. Webhook trigger; 9 nodes.

Agent, Memory Buffer Window, HTTP Request +2
AI & RAG

n8n_workflow. Uses chatTrigger, httpRequest, agent, lmChatOpenAi. Webhook trigger; 8 nodes.

Chat Trigger, HTTP Request, Agent +2
AI & RAG

whatsapp ai penjadwalan. Uses googleCalendarTool, lmChatGoogleGemini, agent, httpRequest. Webhook trigger; 7 nodes.

Google Calendar Tool, Google Gemini Chat, Agent +1