Telegram AI Chatbot with LLM Integration

a7313307-5434-45d0-a847-f0251f823859

Latency
25889ms
Cost
$0.0000
Tokens
0
Status
partial
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "telegram-trigger",
    "timestamp": 1783371570131
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783371570131
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "telegram-trigger",
    "timestamp": 1783371570131
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "preprocess-message",
    "timestamp": 1783371570134
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "user_id",
        "max_tokens",
        "temperature",
        "system_prompt",
        "message_text",
        "choices"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783371570134
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "preprocess-message",
    "timestamp": 1783371570134
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "bot-settings",
    "timestamp": 1783371570135
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "user_id",
        "max_tokens",
        "temperature",
        "system_prompt",
        "message_text",
        "choices",
        "string"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783371570135
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "bot-settings",
    "timestamp": 1783371570135
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "send-typing",
    "timestamp": 1783371570136
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783371570136
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "send-typing",
    "timestamp": 1783371570136
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "openai-chat",
    "timestamp": 1783371570140
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-3.5-turbo",
    "nodeId": "llm",
    "timestamp": 1783371570140
  },
  {
    "data": {
      "model": "gpt-3.5-turbo",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783371570140
  },
  {
    "data": {
      "error": "OpenAI API error (429): {\n    \"error\": {\n        \"message\": \"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\",\n        \"type\": \"insufficient_quota\",\n        \"param\": null,\n        \"code\": \"insufficient_quota\"\n    }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "openai-chat",
    "timestamp": 1783371596012
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "send-response",
    "timestamp": 1783371596020
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783371596020
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "send-response",
    "timestamp": 1783371596020
  }
]