Multi-Channel AI Chatbot With Google Sheets Integration

1a8018a5-aaf1-4ebf-abcc-dab792a16851

Latency
7061ms
Cost
$0.0003
Tokens
145
Status
partial
gemini-3-flash-preview

1 node ran as pass-throughs

@n8n/n8n-nodes-langchain.lmChatOpenRouter

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "1ba6ad37-f1e5-440d-bf10-569038c27bce",
    "timestamp": 1780646635488
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780646635488
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "1ba6ad37-f1e5-440d-bf10-569038c27bce",
    "timestamp": 1780646635488
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "56a52e8a-714f-4e7a-8a13-e915e9dc29c4",
    "timestamp": 1780646635492
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780646635492
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "56a52e8a-714f-4e7a-8a13-e915e9dc29c4",
    "timestamp": 1780646635492
  },
  {
    "data": {
      "nodeType": "unsupported"
    },
    "event": "node_start",
    "nodeId": "0932484f-707b-412b-b9cb-431a8ae64447",
    "timestamp": 1780646635495
  },
  {
    "data": {
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter"
    },
    "event": "unsupported_node",
    "nodeId": "unsupported",
    "timestamp": 1780646635495
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "unsupported"
    },
    "event": "node_end",
    "nodeId": "0932484f-707b-412b-b9cb-431a8ae64447",
    "timestamp": 1780646635495
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "65948d2c-71b2-4df0-97db-ed216ed7c691",
    "timestamp": 1780646635497
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780646635497
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "65948d2c-71b2-4df0-97db-ed216ed7c691",
    "timestamp": 1780646635497
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ae5f9ca6-6bba-4fe8-b955-6c615d8a522f",
    "timestamp": 1780646635500
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780646635500
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780646635500
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780646637273
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 1773,
      "operation": "sendChatAction"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780646637273
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ae5f9ca6-6bba-4fe8-b955-6c615d8a522f",
    "timestamp": 1780646637273
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "be29d3ec-8211-4f23-82f2-83a1aa3aad5b",
    "timestamp": 1780646637283
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780646637283
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "be29d3ec-8211-4f23-82f2-83a1aa3aad5b",
    "timestamp": 1780646637283
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "b7078c59-b6e6-4002-831f-96e56278ab61",
    "timestamp": 1780646637286
  },
  {
    "data": {
      "inputKeys": [
        "updates"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780646637286
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "b7078c59-b6e6-4002-831f-96e56278ab61",
    "timestamp": 1780646637286
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "192aa194-f131-4ba3-8842-7c88da1a6129",
    "timestamp": 1780646637288
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780646637288
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "192aa194-f131-4ba3-8842-7c88da1a6129",
    "timestamp": 1780646637288
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1c52cdf5-da32-4c76-a294-5ec2109dbf39",
    "timestamp": 1780646637291
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780646637291
  },
  {
    "data": {
      "url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/A1%3AZ100",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780646637291
  },
  {
    "data": {
      "status": 200
    },
    "event": "sheets.read",
    "nodeId": "integration",
    "timestamp": 1780646637568
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 277,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780646637568
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1c52cdf5-da32-4c76-a294-5ec2109dbf39",
    "timestamp": 1780646637568
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "eff88417-4ce6-4809-8693-dc63e00fff20",
    "timestamp": 1780646637568
  },
  {
    "event": "execution error: Buffer is not defined",
    "nodeId": "code",
    "timestamp": 1780646637573
  },
  {
    "data": {
      "error": "Code node execution failed: Buffer is not defined",
      "status": "error",
      "degraded": true,
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "eff88417-4ce6-4809-8693-dc63e00fff20",
    "timestamp": 1780646637573
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "04fab70c-493a-4c5d-adfb-0d9e8a5b7382",
    "timestamp": 1780646637576
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780646637577
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780646637577
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002723,
      "provider": "openai",
      "latencyMs": 1694,
      "promptTokens": 41,
      "completionTokens": 104
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780646639273
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "04fab70c-493a-4c5d-adfb-0d9e8a5b7382",
    "timestamp": 1780646639273
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "244e7be3-2caa-46f7-8628-d063a3b84c12",
    "timestamp": 1780646639281
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780646639281
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "244e7be3-2caa-46f7-8628-d063a3b84c12",
    "timestamp": 1780646639281
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "961f67f0-bd44-4e7f-9f2f-c2f02f3176ce",
    "timestamp": 1780646639284
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1780646639284
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "961f67f0-bd44-4e7f-9f2f-c2f02f3176ce",
    "timestamp": 1780646639284
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2962a77f-5727-43be-93fb-b0751b63c6ac",
    "timestamp": 1780646639287
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780646639287
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2962a77f-5727-43be-93fb-b0751b63c6ac",
    "timestamp": 1780646639287
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "57056425-37ba-417d-9a2d-977a81d378ab",
    "timestamp": 1780646639290
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780646639290
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780646639290
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780646642549
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 3259,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780646642549
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "57056425-37ba-417d-9a2d-977a81d378ab",
    "timestamp": 1780646642549
  }
]