Multi-Format Telegram AI Chatbot With Memory

148a2e9c-d4a0-4394-a39d-f57606c33276

Latency
51111ms
Cost
$0.0002
Tokens
401
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "65196267-0d57-4af4-9081-962701478146",
    "timestamp": 1783209769327
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o",
    "nodeId": "llm",
    "timestamp": 1783209769327
  },
  {
    "data": {
      "model": "gpt-4o",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209769327
  },
  {
    "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": "65196267-0d57-4af4-9081-962701478146",
    "timestamp": 1783209794644
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "fc446ef0-2f15-42e7-a993-7960d76d8876",
    "timestamp": 1783209794647
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783209794647
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "fc446ef0-2f15-42e7-a993-7960d76d8876",
    "timestamp": 1783209794647
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "d931b7e1-bc17-431e-ae67-967b6ef79236",
    "timestamp": 1783209794648
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783209794648
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "d931b7e1-bc17-431e-ae67-967b6ef79236",
    "timestamp": 1783209794648
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "2c56536d-1a86-4a49-b495-3e877adb308a",
    "timestamp": 1783209794650
  },
  {
    "event": "matched rule 1 -> Voice",
    "nodeId": "switch",
    "timestamp": 1783209794650
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "2c56536d-1a86-4a49-b495-3e877adb308a",
    "timestamp": 1783209794650
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "89515d80-6efc-40a8-95ce-343d4ff4dbee",
    "timestamp": 1783209794651
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "sendChatAction",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209794651
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "89515d80-6efc-40a8-95ce-343d4ff4dbee",
    "timestamp": 1783209794651
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b33335ff-5dea-4fff-8f63-fea2b11b8241",
    "timestamp": 1783209794653
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209794653
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b33335ff-5dea-4fff-8f63-fea2b11b8241",
    "timestamp": 1783209794653
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b47a9583-ce5c-464f-a9e6-153fb42e685f",
    "timestamp": 1783209794654
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209794654
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b47a9583-ce5c-464f-a9e6-153fb42e685f",
    "timestamp": 1783209794654
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "0196b49e-90a1-4f2f-8b94-492fced37dbf",
    "timestamp": 1783209794655
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783209794655
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209794655
  },
  {
    "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": "0196b49e-90a1-4f2f-8b94-492fced37dbf",
    "timestamp": 1783209820012
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2954ced6-ab98-42e6-bf64-237146a433e0",
    "timestamp": 1783209820014
  },
  {
    "data": {
      "inputKeys": [
        "audio_content_base64"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783209820014
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2954ced6-ab98-42e6-bf64-237146a433e0",
    "timestamp": 1783209820014
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c925d059-f843-473c-bfd4-3c563d80ca0f",
    "timestamp": 1783209820015
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783209820015
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209820015
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0001643,
      "provider": "openai",
      "latencyMs": 421,
      "promptTokens": 381,
      "completionTokens": 20
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783209820436
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c925d059-f843-473c-bfd4-3c563d80ca0f",
    "timestamp": 1783209820436
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e18de374-941f-4c2e-ab6c-6c6f68f2ce12",
    "timestamp": 1783209820437
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209820437
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e18de374-941f-4c2e-ab6c-6c6f68f2ce12",
    "timestamp": 1783209820437
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "51c3cddd-fc21-4fff-b615-ea7080c47947",
    "timestamp": 1783209820438
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209820438
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "51c3cddd-fc21-4fff-b615-ea7080c47947",
    "timestamp": 1783209820438
  }
]