Multi-Format Telegram AI Chatbot With Memory

7b5955bd-4d65-467f-866a-8de7aabff8a5

Latency
14246ms
Cost
$0.0022
Tokens
1,227
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "65196267-0d57-4af4-9081-962701478146",
    "timestamp": 1780648227880
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o",
    "nodeId": "llm",
    "timestamp": 1780648227880
  },
  {
    "data": {
      "model": "gpt-4o",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780648227880
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0013652999999999998,
      "provider": "openai",
      "latencyMs": 3635,
      "promptTokens": 1,
      "completionTokens": 546
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780648231516
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "65196267-0d57-4af4-9081-962701478146",
    "timestamp": 1780648231516
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "fc446ef0-2f15-42e7-a993-7960d76d8876",
    "timestamp": 1780648231519
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780648231519
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "fc446ef0-2f15-42e7-a993-7960d76d8876",
    "timestamp": 1780648231519
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "d931b7e1-bc17-431e-ae67-967b6ef79236",
    "timestamp": 1780648231524
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780648231524
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "d931b7e1-bc17-431e-ae67-967b6ef79236",
    "timestamp": 1780648231524
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "2c56536d-1a86-4a49-b495-3e877adb308a",
    "timestamp": 1780648231527
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1780648231527
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "2c56536d-1a86-4a49-b495-3e877adb308a",
    "timestamp": 1780648231527
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "89515d80-6efc-40a8-95ce-343d4ff4dbee",
    "timestamp": 1780648231528
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780648231528
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780648231528
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780648231997
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 469,
      "operation": "sendChatAction"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780648231997
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "89515d80-6efc-40a8-95ce-343d4ff4dbee",
    "timestamp": 1780648231997
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b33335ff-5dea-4fff-8f63-fea2b11b8241",
    "timestamp": 1780648232001
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780648232001
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780648232001
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780648235153
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 3152,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780648235153
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b33335ff-5dea-4fff-8f63-fea2b11b8241",
    "timestamp": 1780648235153
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b47a9583-ce5c-464f-a9e6-153fb42e685f",
    "timestamp": 1780648235158
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780648235158
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780648235158
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780648235308
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 150,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780648235308
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b47a9583-ce5c-464f-a9e6-153fb42e685f",
    "timestamp": 1780648235308
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "0196b49e-90a1-4f2f-8b94-492fced37dbf",
    "timestamp": 1780648235311
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780648235311
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780648235311
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0004553,
      "provider": "openai",
      "latencyMs": 1865,
      "promptTokens": 1,
      "completionTokens": 182
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780648237177
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "0196b49e-90a1-4f2f-8b94-492fced37dbf",
    "timestamp": 1780648237177
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2954ced6-ab98-42e6-bf64-237146a433e0",
    "timestamp": 1780648237181
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780648237182
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2954ced6-ab98-42e6-bf64-237146a433e0",
    "timestamp": 1780648237182
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c925d059-f843-473c-bfd4-3c563d80ca0f",
    "timestamp": 1780648237186
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780648237186
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780648237186
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0004065,
      "provider": "openai",
      "latencyMs": 1632,
      "promptTokens": 380,
      "completionTokens": 117
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780648238819
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c925d059-f843-473c-bfd4-3c563d80ca0f",
    "timestamp": 1780648238819
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e18de374-941f-4c2e-ab6c-6c6f68f2ce12",
    "timestamp": 1780648238821
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780648238821
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780648238821
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780648238970
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 149,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780648238970
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e18de374-941f-4c2e-ab6c-6c6f68f2ce12",
    "timestamp": 1780648238970
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "51c3cddd-fc21-4fff-b615-ea7080c47947",
    "timestamp": 1780648238976
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780648238976
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780648238976
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780648242126
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 3150,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780648242126
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "51c3cddd-fc21-4fff-b615-ea7080c47947",
    "timestamp": 1780648242126
  }
]