Multi-Channel AI Chatbot With Google Sheets Integration

9b8de81f-a917-4014-9b9d-7842f14d8f2b

Latency
2626ms
Cost
$0.0006
Tokens
105
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "1ba6ad37-f1e5-440d-bf10-569038c27bce",
    "timestamp": 1782944096352
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782944096352
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "1ba6ad37-f1e5-440d-bf10-569038c27bce",
    "timestamp": 1782944096352
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "56a52e8a-714f-4e7a-8a13-e915e9dc29c4",
    "timestamp": 1782944096357
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782944096357
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "56a52e8a-714f-4e7a-8a13-e915e9dc29c4",
    "timestamp": 1782944096357
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "0932484f-707b-412b-b9cb-431a8ae64447",
    "timestamp": 1782944096359
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782944096359
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782944096359
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 716,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782944097076
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "0932484f-707b-412b-b9cb-431a8ae64447",
    "timestamp": 1782944097076
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "65948d2c-71b2-4df0-97db-ed216ed7c691",
    "timestamp": 1782944097082
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782944097082
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "65948d2c-71b2-4df0-97db-ed216ed7c691",
    "timestamp": 1782944097082
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ae5f9ca6-6bba-4fe8-b955-6c615d8a522f",
    "timestamp": 1782944097084
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782944097084
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "sendChatAction",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944097335
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ae5f9ca6-6bba-4fe8-b955-6c615d8a522f",
    "timestamp": 1782944097335
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "be29d3ec-8211-4f23-82f2-83a1aa3aad5b",
    "timestamp": 1782944097341
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "output",
        "scheduleURL",
        "markdown",
        "inputMessage",
        "chatInput",
        "sessionId",
        "mode",
        "responseMessage",
        "chatId"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944097341
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "be29d3ec-8211-4f23-82f2-83a1aa3aad5b",
    "timestamp": 1782944097341
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "b7078c59-b6e6-4002-831f-96e56278ab61",
    "timestamp": 1782944097346
  },
  {
    "data": {
      "inputKeys": [
        "simulated",
        "echo",
        "items",
        "messages"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944097346
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "b7078c59-b6e6-4002-831f-96e56278ab61",
    "timestamp": 1782944097346
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "192aa194-f131-4ba3-8842-7c88da1a6129",
    "timestamp": 1782944097348
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "output",
        "scheduleURL",
        "markdown",
        "inputMessage",
        "chatInput",
        "sessionId",
        "mode",
        "responseMessage",
        "chatId"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944097348
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "192aa194-f131-4ba3-8842-7c88da1a6129",
    "timestamp": 1782944097348
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1c52cdf5-da32-4c76-a294-5ec2109dbf39",
    "timestamp": 1782944097349
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782944097349
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944097599
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1c52cdf5-da32-4c76-a294-5ec2109dbf39",
    "timestamp": 1782944097599
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "eff88417-4ce6-4809-8693-dc63e00fff20",
    "timestamp": 1782944097599
  },
  {
    "event": "execution error (simulated): Buffer is not defined",
    "nodeId": "code",
    "timestamp": 1782944097605
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944097605
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "eff88417-4ce6-4809-8693-dc63e00fff20",
    "timestamp": 1782944097605
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "04fab70c-493a-4c5d-adfb-0d9e8a5b7382",
    "timestamp": 1782944097610
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782944097610
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782944097610
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0004775,
      "provider": "openai",
      "latencyMs": 1104,
      "promptTokens": 55,
      "completionTokens": 34
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782944098717
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "04fab70c-493a-4c5d-adfb-0d9e8a5b7382",
    "timestamp": 1782944098717
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "244e7be3-2caa-46f7-8628-d063a3b84c12",
    "timestamp": 1782944098723
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782944098723
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "244e7be3-2caa-46f7-8628-d063a3b84c12",
    "timestamp": 1782944098723
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "961f67f0-bd44-4e7f-9f2f-c2f02f3176ce",
    "timestamp": 1782944098725
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1782944098725
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "961f67f0-bd44-4e7f-9f2f-c2f02f3176ce",
    "timestamp": 1782944098725
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2962a77f-5727-43be-93fb-b0751b63c6ac",
    "timestamp": 1782944098726
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782944098726
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2962a77f-5727-43be-93fb-b0751b63c6ac",
    "timestamp": 1782944098726
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "57056425-37ba-417d-9a2d-977a81d378ab",
    "timestamp": 1782944098727
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782944098727
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782944098978
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "57056425-37ba-417d-9a2d-977a81d378ab",
    "timestamp": 1782944098978
  }
]