Multi-Channel AI Chatbot With Google Sheets Integration

c86363ae-d058-4a86-8589-0ba0633e1db7

Latency
7542ms
Cost
$0.0020
Tokens
858
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "1ba6ad37-f1e5-440d-bf10-569038c27bce",
    "timestamp": 1782944127710
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782944127710
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "1ba6ad37-f1e5-440d-bf10-569038c27bce",
    "timestamp": 1782944127711
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "56a52e8a-714f-4e7a-8a13-e915e9dc29c4",
    "timestamp": 1782944127712
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782944127712
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "56a52e8a-714f-4e7a-8a13-e915e9dc29c4",
    "timestamp": 1782944127712
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "0932484f-707b-412b-b9cb-431a8ae64447",
    "timestamp": 1782944127714
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782944127714
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782944127714
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0018277999999999999,
      "provider": "openai",
      "latencyMs": 5591,
      "promptTokens": 1,
      "completionTokens": 731
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782944133307
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "0932484f-707b-412b-b9cb-431a8ae64447",
    "timestamp": 1782944133307
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "65948d2c-71b2-4df0-97db-ed216ed7c691",
    "timestamp": 1782944133312
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782944133312
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "65948d2c-71b2-4df0-97db-ed216ed7c691",
    "timestamp": 1782944133312
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ae5f9ca6-6bba-4fe8-b955-6c615d8a522f",
    "timestamp": 1782944133315
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782944133315
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "sendChatAction",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944133566
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ae5f9ca6-6bba-4fe8-b955-6c615d8a522f",
    "timestamp": 1782944133566
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "be29d3ec-8211-4f23-82f2-83a1aa3aad5b",
    "timestamp": 1782944133570
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "output",
        "scheduleURL",
        "markdown",
        "inputMessage",
        "chatInput",
        "sessionId",
        "mode",
        "responseMessage",
        "chatId"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944133570
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "be29d3ec-8211-4f23-82f2-83a1aa3aad5b",
    "timestamp": 1782944133570
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "b7078c59-b6e6-4002-831f-96e56278ab61",
    "timestamp": 1782944133575
  },
  {
    "data": {
      "inputKeys": [
        "simulated",
        "echo",
        "items",
        "messages"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944133575
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "b7078c59-b6e6-4002-831f-96e56278ab61",
    "timestamp": 1782944133575
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "192aa194-f131-4ba3-8842-7c88da1a6129",
    "timestamp": 1782944133577
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "output",
        "scheduleURL",
        "markdown",
        "inputMessage",
        "chatInput",
        "sessionId",
        "mode",
        "responseMessage",
        "chatId"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944133577
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "192aa194-f131-4ba3-8842-7c88da1a6129",
    "timestamp": 1782944133577
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1c52cdf5-da32-4c76-a294-5ec2109dbf39",
    "timestamp": 1782944133578
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782944133578
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944133828
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1c52cdf5-da32-4c76-a294-5ec2109dbf39",
    "timestamp": 1782944133828
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "eff88417-4ce6-4809-8693-dc63e00fff20",
    "timestamp": 1782944133828
  },
  {
    "event": "execution error (simulated): Buffer is not defined",
    "nodeId": "code",
    "timestamp": 1782944133833
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944133833
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "eff88417-4ce6-4809-8693-dc63e00fff20",
    "timestamp": 1782944133834
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "04fab70c-493a-4c5d-adfb-0d9e8a5b7382",
    "timestamp": 1782944133837
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782944133837
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782944133837
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002072,
      "provider": "openai",
      "latencyMs": 1154,
      "promptTokens": 49,
      "completionTokens": 77
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782944134993
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "04fab70c-493a-4c5d-adfb-0d9e8a5b7382",
    "timestamp": 1782944134993
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "244e7be3-2caa-46f7-8628-d063a3b84c12",
    "timestamp": 1782944134996
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944134996
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "244e7be3-2caa-46f7-8628-d063a3b84c12",
    "timestamp": 1782944134996
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "961f67f0-bd44-4e7f-9f2f-c2f02f3176ce",
    "timestamp": 1782944134998
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1782944134998
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "961f67f0-bd44-4e7f-9f2f-c2f02f3176ce",
    "timestamp": 1782944134998
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2962a77f-5727-43be-93fb-b0751b63c6ac",
    "timestamp": 1782944134999
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782944134999
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2962a77f-5727-43be-93fb-b0751b63c6ac",
    "timestamp": 1782944134999
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "57056425-37ba-417d-9a2d-977a81d378ab",
    "timestamp": 1782944135000
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782944135000
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944135252
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "57056425-37ba-417d-9a2d-977a81d378ab",
    "timestamp": 1782944135252
  }
]