Telegram AI Agent with Long-Term Memory

f6e78028-49d6-4006-8f38-c1e16b0aa46e

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

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "a3866585-bfee-4025-a8f4-f06fde16171a",
    "timestamp": 1783328952884
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783328952884
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "a3866585-bfee-4025-a8f4-f06fde16171a",
    "timestamp": 1783328952884
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "94a01b4f-549d-4e49-88e0-143c90dd200e",
    "timestamp": 1783328952885
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328952885
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "94a01b4f-549d-4e49-88e0-143c90dd200e",
    "timestamp": 1783328952885
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "d1182e11-025e-4885-abb1-b76a9b617b84",
    "timestamp": 1783328952886
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783328952886
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "d1182e11-025e-4885-abb1-b76a9b617b84",
    "timestamp": 1783328952886
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "5f342299-40fe-44cf-9b58-8a9d3bfac1df",
    "timestamp": 1783328952887
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleDocs",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783328953389
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "5f342299-40fe-44cf-9b58-8a9d3bfac1df",
    "timestamp": 1783328953389
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "af14e803-44a5-4b0e-a675-b1e860bf6d29",
    "timestamp": 1783328953391
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/deepseek-reasoner",
    "nodeId": "llm",
    "timestamp": 1783328953391
  },
  {
    "data": {
      "model": "deepseek-reasoner",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783328953391
  },
  {
    "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": "af14e803-44a5-4b0e-a675-b1e860bf6d29",
    "timestamp": 1783328978644
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "e8be6a32-ba4c-4895-b34b-c5e7d0ded5e8",
    "timestamp": 1783328978648
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/deepseek-chat",
    "nodeId": "llm",
    "timestamp": 1783328978648
  },
  {
    "data": {
      "model": "deepseek-chat",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783328978648
  },
  {
    "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": "e8be6a32-ba4c-4895-b34b-c5e7d0ded5e8",
    "timestamp": 1783329004138
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2b6149d5-ffd6-46ef-9840-149508251a77",
    "timestamp": 1783329004139
  },
  {
    "data": {
      "inputKeys": [
        "body"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783329004139
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2b6149d5-ffd6-46ef-9840-149508251a77",
    "timestamp": 1783329004139
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "23b50c07-39a8-4166-ab13-9683b3ee25e6",
    "timestamp": 1783329004141
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783329004141
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "23b50c07-39a8-4166-ab13-9683b3ee25e6",
    "timestamp": 1783329004141
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "164f5e91-1958-4dc5-b38c-db1cec0579d4",
    "timestamp": 1783329004142
  },
  {
    "event": "matched rule 1 -> text",
    "nodeId": "switch",
    "timestamp": 1783329004142
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "164f5e91-1958-4dc5-b38c-db1cec0579d4",
    "timestamp": 1783329004142
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e5ec71ec-9527-4ccd-87c3-3aa2f09192e8",
    "timestamp": 1783329004143
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "googleDocs",
      "latencyMs": 0,
      "operation": "get",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783329004143
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e5ec71ec-9527-4ccd-87c3-3aa2f09192e8",
    "timestamp": 1783329004143
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ecbc13fe-305d-4cdd-b35c-3e119e8e8b5d",
    "timestamp": 1783329004144
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783329004144
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ecbc13fe-305d-4cdd-b35c-3e119e8e8b5d",
    "timestamp": 1783329004144
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "6111c771-d8af-4586-8829-213d86dc4f47",
    "timestamp": 1783329004145
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1783329004145
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "6111c771-d8af-4586-8829-213d86dc4f47",
    "timestamp": 1783329004145
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7947173d-39fa-4d4b-9b1e-60de809a9950",
    "timestamp": 1783329004147
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783329004147
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783329004147
  },
  {
    "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": "7947173d-39fa-4d4b-9b1e-60de809a9950",
    "timestamp": 1783329029423
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "73156ecc-af5f-4e3d-82c6-4668db52b511",
    "timestamp": 1783329029426
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783329029426
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "73156ecc-af5f-4e3d-82c6-4668db52b511",
    "timestamp": 1783329029426
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1b53aef2-ca99-409b-bd10-3fc1fd87f540",
    "timestamp": 1783329029427
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783329029427
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783329029679
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1b53aef2-ca99-409b-bd10-3fc1fd87f540",
    "timestamp": 1783329029679
  }
]