WhatsApp AI Sales Assistant with Document RAG

6099bbb3-cb6a-45a1-9577-04cb07e5cc5a

Latency
52292ms
Cost
$0.0002
Tokens
168
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "77ee6494-4898-47dc-81d9-35daf6f0beea",
    "timestamp": 1783205563651
  },
  {
    "data": {
      "kind": "n8n-nodes-base.whatsAppTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783205563651
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "77ee6494-4898-47dc-81d9-35daf6f0beea",
    "timestamp": 1783205563651
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "57210e27-1f89-465a-98cc-43f890a4bf58",
    "timestamp": 1783205563654
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-2024-08-06",
    "nodeId": "llm",
    "timestamp": 1783205563654
  },
  {
    "data": {
      "model": "gpt-4o-2024-08-06",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783205563654
  },
  {
    "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": "57210e27-1f89-465a-98cc-43f890a4bf58",
    "timestamp": 1783205588909
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "e1053235-0ade-4e36-9ad2-8b29c78fced8",
    "timestamp": 1783205588914
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205588914
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "e1053235-0ade-4e36-9ad2-8b29c78fced8",
    "timestamp": 1783205588914
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "170e8f7d-7e14-48dd-9f80-5352cc411fc1",
    "timestamp": 1783205588917
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783205588917
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "170e8f7d-7e14-48dd-9f80-5352cc411fc1",
    "timestamp": 1783205588917
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ee78320b-d407-49e8-b4b8-417582a44709",
    "timestamp": 1783205588920
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-2024-08-06",
    "nodeId": "llm",
    "timestamp": 1783205588920
  },
  {
    "data": {
      "model": "gpt-4o-2024-08-06",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783205588920
  },
  {
    "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": "ee78320b-d407-49e8-b4b8-417582a44709",
    "timestamp": 1783205614210
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "9dd89378-5acf-4ca6-8d84-e6e64254ed02",
    "timestamp": 1783205614215
  },
  {
    "data": {
      "initialData": {
        "messages": [
          {
            "from": "+1234567890",
            "text": {
              "body": "Hi, I'm interested in the 'Quantum Leap' smartwatch. Can you tell me more about its battery life and if it's waterproof?"
            },
            "type": "text"
          }
        ]
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783205614215
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "9dd89378-5acf-4ca6-8d84-e6e64254ed02",
    "timestamp": 1783205614215
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "e68fc137-1bcb-43f0-b597-3ae07f380c15",
    "timestamp": 1783205614218
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783205614218
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "e68fc137-1bcb-43f0-b597-3ae07f380c15",
    "timestamp": 1783205614218
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "ca0c015e-fba2-4dca-b0fe-bac66681725a",
    "timestamp": 1783205614221
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205614221
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "ca0c015e-fba2-4dca-b0fe-bac66681725a",
    "timestamp": 1783205614221
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "87cf9b41-66de-49a7-aeb0-c8809191b5a0",
    "timestamp": 1783205614224
  },
  {
    "event": "matched rule 0 -> Supported",
    "nodeId": "switch",
    "timestamp": 1783205614224
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "87cf9b41-66de-49a7-aeb0-c8809191b5a0",
    "timestamp": 1783205614224
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "52decd86-ac6c-4d91-a938-86f93ec5f822",
    "timestamp": 1783205614227
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205614227
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "52decd86-ac6c-4d91-a938-86f93ec5f822",
    "timestamp": 1783205614227
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "be2add9c-3670-4196-8c38-82742bf4f283",
    "timestamp": 1783205614229
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205614229
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "be2add9c-3670-4196-8c38-82742bf4f283",
    "timestamp": 1783205614229
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2d31e92b-18d4-4f6b-8cdb-bed0056d50d7",
    "timestamp": 1783205614231
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205614231
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2d31e92b-18d4-4f6b-8cdb-bed0056d50d7",
    "timestamp": 1783205614231
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b6efba81-18b0-4378-bb91-51f39ca57f3e",
    "timestamp": 1783205614234
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205614735
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b6efba81-18b0-4378-bb91-51f39ca57f3e",
    "timestamp": 1783205614735
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "69f1b78b-7c93-4713-863a-27e04809996f",
    "timestamp": 1783205614741
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "toolvectorstore",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205614741
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "69f1b78b-7c93-4713-863a-27e04809996f",
    "timestamp": 1783205614741
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "63abb6b2-b955-4e65-9c63-3211dca65613",
    "timestamp": 1783205614744
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205614744
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "63abb6b2-b955-4e65-9c63-3211dca65613",
    "timestamp": 1783205614744
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "a36524d0-22a6-48cc-93fe-b4571cec428a",
    "timestamp": 1783205614747
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783205614747
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783205614747
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.000211,
      "provider": "openai",
      "latencyMs": 682,
      "promptTokens": 95,
      "completionTokens": 73
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783205615430
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "a36524d0-22a6-48cc-93fe-b4571cec428a",
    "timestamp": 1783205615430
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "86bd5334-d735-4650-aeff-06230119d705",
    "timestamp": 1783205615436
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205615436
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "86bd5334-d735-4650-aeff-06230119d705",
    "timestamp": 1783205615436
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1ae5a311-36d7-4454-ab14-6788d1331780",
    "timestamp": 1783205615441
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205615943
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1ae5a311-36d7-4454-ab14-6788d1331780",
    "timestamp": 1783205615943
  }
]