WhatsApp Business AI Chatbot With Google Drive

f5020852-567e-4ba0-9238-9f2419ab93f1

Latency
10402ms
Cost
$0.0033
Tokens
1,896
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "b8f5ac53-03fe-4151-ac56-b246245702b6",
    "timestamp": 1783447723826
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783447723826
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783447723826
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0020603,
      "provider": "openai",
      "latencyMs": 5140,
      "promptTokens": 1,
      "completionTokens": 824
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783447728966
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "b8f5ac53-03fe-4151-ac56-b246245702b6",
    "timestamp": 1783447728966
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "a02f4e76-1895-48ad-a2d5-6daf3347f181",
    "timestamp": 1783447728968
  },
  {
    "data": {
      "initialData": {
        "body": {
          "entry": [
            {
              "changes": [
                {
                  "value": {
                    "id": "wamid.HBgNNzY5MTIzNDU2Nzg5MAA2MTQ0MjQ2MTM1MTQ5",
                    "contacts": [
                      {
                        "wa_id": "7691234567890",
                        "profile": {
                          "name": "Alice Smith"
                        }
                      }
                    ],
                    "messages": [
                      {
                        "id": "wamid.HBgNNzY5MTIzNDU2Nzg5MAA2MTQ0MjQ2MTM1MTQ5",
                        "from": "7691234567890",
                        "text": {
                          "body": "What are the return policies for electronics purchased in the last 30 days?"
                        },
                        "timestamp": "1678886400"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        },
        "query": {
          "hub": {
            "challenge": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
          }
        },
        "output": "What are the return policies for electronics purchased in the last 30 days?"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783447728968
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "a02f4e76-1895-48ad-a2d5-6daf3347f181",
    "timestamp": 1783447728968
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b20975d7-e367-49a3-ac8c-613289775463",
    "timestamp": 1783447728968
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783447728968
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b20975d7-e367-49a3-ac8c-613289775463",
    "timestamp": 1783447728968
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "72591129-1691-4caf-bf63-c04db85708dc",
    "timestamp": 1783447728969
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783447728969
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "72591129-1691-4caf-bf63-c04db85708dc",
    "timestamp": 1783447728969
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "ec013e0c-a354-4f12-8ded-97013bb8fb21",
    "timestamp": 1783447728970
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783447728970
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "ec013e0c-a354-4f12-8ded-97013bb8fb21",
    "timestamp": 1783447728970
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "253ddc93-5693-4362-aa6c-a80ab3f6df82",
    "timestamp": 1783447728971
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783447728971
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "253ddc93-5693-4362-aa6c-a80ab3f6df82",
    "timestamp": 1783447728971
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "dafe692e-7767-4ded-966c-df812f58ae63",
    "timestamp": 1783447728972
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783447728972
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "dafe692e-7767-4ded-966c-df812f58ae63",
    "timestamp": 1783447728972
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "1538c8b1-f914-4991-b311-e533df625c5f",
    "timestamp": 1783447728973
  },
  {
    "event": "fetching POST https://QDRANTURL/collections/COLLECTION",
    "nodeId": "http",
    "timestamp": 1783447728973
  },
  {
    "data": {
      "url": "https://QDRANTURL/collections/COLLECTION",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783447728973
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783447728978
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "1538c8b1-f914-4991-b311-e533df625c5f",
    "timestamp": 1783447728978
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "423b73a6-2497-4635-9ad0-9e768f32018d",
    "timestamp": 1783447728979
  },
  {
    "event": "fetching POST https://QDRANTURL/collections/COLLECTION/points/delete",
    "nodeId": "http",
    "timestamp": 1783447728979
  },
  {
    "data": {
      "url": "https://QDRANTURL/collections/COLLECTION/points/delete",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783447728979
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783447728983
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "423b73a6-2497-4635-9ad0-9e768f32018d",
    "timestamp": 1783447728983
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "4c2d02a4-c954-42c4-97b0-b94ee3198f56",
    "timestamp": 1783447728984
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783447728984
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "4c2d02a4-c954-42c4-97b0-b94ee3198f56",
    "timestamp": 1783447728984
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2c5b2dd1-c63f-4bc9-909e-5f4b2a385d01",
    "timestamp": 1783447728985
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783447728985
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2c5b2dd1-c63f-4bc9-909e-5f4b2a385d01",
    "timestamp": 1783447728985
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "2d4b956e-92d9-41da-a6d3-9f588e453d2a",
    "timestamp": 1783447728986
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783447728986
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "2d4b956e-92d9-41da-a6d3-9f588e453d2a",
    "timestamp": 1783447728986
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9519866a-f28a-495a-9cb4-3b2170407943",
    "timestamp": 1783447728987
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783447728987
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783447729239
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9519866a-f28a-495a-9cb4-3b2170407943",
    "timestamp": 1783447729239
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cc230fcd-f88c-40d4-8835-ac9dc6228b18",
    "timestamp": 1783447729240
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783447729240
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783447729240
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0012409,
      "provider": "openai",
      "latencyMs": 3726,
      "promptTokens": 653,
      "completionTokens": 418
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783447732967
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cc230fcd-f88c-40d4-8835-ac9dc6228b18",
    "timestamp": 1783447732967
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "2af633a9-f6b0-4989-9e85-abb619d2b3bb",
    "timestamp": 1783447732969
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783447733469
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "2af633a9-f6b0-4989-9e85-abb619d2b3bb",
    "timestamp": 1783447733469
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c9a36259-8340-4382-8bb0-84b73a8288c6",
    "timestamp": 1783447733470
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783447733470
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "download",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783447733723
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c9a36259-8340-4382-8bb0-84b73a8288c6",
    "timestamp": 1783447733723
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "5235dd06-2235-4edb-904e-872848e2ed79",
    "timestamp": 1783447733725
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783447734227
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "5235dd06-2235-4edb-904e-872848e2ed79",
    "timestamp": 1783447734227
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "35a71dd7-ae08-46c5-acb2-e66d92b311cb",
    "timestamp": 1783447734228
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783447734228
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "35a71dd7-ae08-46c5-acb2-e66d92b311cb",
    "timestamp": 1783447734228
  }
]