WhatsApp Business AI Chatbot With Google Drive

ba062331-c2bf-4d97-a781-328fb976ba79

Latency
6530ms
Cost
$0.0001
Tokens
703
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "b8f5ac53-03fe-4151-ac56-b246245702b6",
    "timestamp": 1780872296476
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780872296476
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780872296476
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "b8f5ac53-03fe-4151-ac56-b246245702b6",
    "timestamp": 1780872300697
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "a02f4e76-1895-48ad-a2d5-6daf3347f181",
    "timestamp": 1780872300700
  },
  {
    "data": {
      "initialData": {
        "id": "wamid.HBgNNTI5MjQzNjQ4NzQ3MjQ5OAEwAQA=",
        "body": {
          "entry": [
            {
              "id": "1234567890",
              "changes": [
                {
                  "field": "messages",
                  "value": {
                    "id": "wamid.HBgNNTI5MjQzNjQ4NzQ3MjQ5OAEwAQA=",
                    "contacts": [
                      {
                        "wa_id": "529243648747249",
                        "profile": {
                          "name": "John Doe"
                        }
                      }
                    ],
                    "messages": [
                      {
                        "id": "wamid.HBgNNTI5MjQzNjQ4NzQ3MjQ5OAEwAQA=",
                        "from": "1234567890",
                        "text": {
                          "body": "What is the capital of France?"
                        },
                        "timestamp": "1678886400"
                      }
                    ]
                  }
                }
              ]
            }
          ],
          "object": "whatsapp_business_account"
        },
        "query": {
          "hub": {
            "challenge": "aBcDeFg12345"
          }
        },
        "output": {
          "response": "Paris is the capital of France."
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780872300700
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "a02f4e76-1895-48ad-a2d5-6daf3347f181",
    "timestamp": 1780872300700
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b20975d7-e367-49a3-ac8c-613289775463",
    "timestamp": 1780872300701
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872300701
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b20975d7-e367-49a3-ac8c-613289775463",
    "timestamp": 1780872300701
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "72591129-1691-4caf-bf63-c04db85708dc",
    "timestamp": 1780872300703
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872300703
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "72591129-1691-4caf-bf63-c04db85708dc",
    "timestamp": 1780872300703
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "ec013e0c-a354-4f12-8ded-97013bb8fb21",
    "timestamp": 1780872300704
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780872300704
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "ec013e0c-a354-4f12-8ded-97013bb8fb21",
    "timestamp": 1780872300704
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "253ddc93-5693-4362-aa6c-a80ab3f6df82",
    "timestamp": 1780872300706
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780872300706
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "253ddc93-5693-4362-aa6c-a80ab3f6df82",
    "timestamp": 1780872300706
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "dafe692e-7767-4ded-966c-df812f58ae63",
    "timestamp": 1780872300707
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872300707
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "dafe692e-7767-4ded-966c-df812f58ae63",
    "timestamp": 1780872300707
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "1538c8b1-f914-4991-b311-e533df625c5f",
    "timestamp": 1780872300708
  },
  {
    "event": "fetching POST https://QDRANTURL/collections/COLLECTION",
    "nodeId": "http",
    "timestamp": 1780872300709
  },
  {
    "data": {
      "url": "https://QDRANTURL/collections/COLLECTION",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872300709
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780872300715
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "1538c8b1-f914-4991-b311-e533df625c5f",
    "timestamp": 1780872300715
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "423b73a6-2497-4635-9ad0-9e768f32018d",
    "timestamp": 1780872300716
  },
  {
    "event": "fetching POST https://QDRANTURL/collections/COLLECTION/points/delete",
    "nodeId": "http",
    "timestamp": 1780872300716
  },
  {
    "data": {
      "url": "https://QDRANTURL/collections/COLLECTION/points/delete",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872300716
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780872300720
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "423b73a6-2497-4635-9ad0-9e768f32018d",
    "timestamp": 1780872300720
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "4c2d02a4-c954-42c4-97b0-b94ee3198f56",
    "timestamp": 1780872300721
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872300721
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "4c2d02a4-c954-42c4-97b0-b94ee3198f56",
    "timestamp": 1780872300721
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2c5b2dd1-c63f-4bc9-909e-5f4b2a385d01",
    "timestamp": 1780872300723
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872300723
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2c5b2dd1-c63f-4bc9-909e-5f4b2a385d01",
    "timestamp": 1780872300723
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "2d4b956e-92d9-41da-a6d3-9f588e453d2a",
    "timestamp": 1780872300750
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780872300750
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "2d4b956e-92d9-41da-a6d3-9f588e453d2a",
    "timestamp": 1780872300750
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9519866a-f28a-495a-9cb4-3b2170407943",
    "timestamp": 1780872300752
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872300752
  },
  {
    "data": {
      "url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872300752
  },
  {
    "data": {
      "status": 200
    },
    "event": "drive.read",
    "nodeId": "integration",
    "timestamp": 1780872301090
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 339,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780872301091
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9519866a-f28a-495a-9cb4-3b2170407943",
    "timestamp": 1780872301091
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cc230fcd-f88c-40d4-8835-ac9dc6228b18",
    "timestamp": 1780872301092
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780872301092
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780872301092
  },
  {
    "data": {
      "model": "gemini-2.5-flash-lite",
      "costUsd": 0.000088,
      "provider": "openai",
      "latencyMs": 583,
      "promptTokens": 644,
      "completionTokens": 59
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780872301676
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cc230fcd-f88c-40d4-8835-ac9dc6228b18",
    "timestamp": 1780872301676
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "2af633a9-f6b0-4989-9e85-abb619d2b3bb",
    "timestamp": 1780872301682
  },
  {
    "data": {
      "service": "whatsapp",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872301682
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780872302183
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "2af633a9-f6b0-4989-9e85-abb619d2b3bb",
    "timestamp": 1780872302183
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c9a36259-8340-4382-8bb0-84b73a8288c6",
    "timestamp": 1780872302190
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872302190
  },
  {
    "data": {
      "url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872302190
  },
  {
    "data": {
      "status": 200
    },
    "event": "drive.read",
    "nodeId": "integration",
    "timestamp": 1780872302502
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 312,
      "operation": "download"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780872302502
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c9a36259-8340-4382-8bb0-84b73a8288c6",
    "timestamp": 1780872302502
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "5235dd06-2235-4edb-904e-872848e2ed79",
    "timestamp": 1780872302504
  },
  {
    "data": {
      "service": "whatsapp",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872302504
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780872303004
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "5235dd06-2235-4edb-904e-872848e2ed79",
    "timestamp": 1780872303004
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "35a71dd7-ae08-46c5-acb2-e66d92b311cb",
    "timestamp": 1780872303006
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872303006
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "35a71dd7-ae08-46c5-acb2-e66d92b311cb",
    "timestamp": 1780872303006
  }
]