Telegram AI Agent with Long-Term Memory and Docs

ea217ed5-5787-45c0-8140-6fbece1c3467

Latency
10132ms
Cost
$0.0037
Tokens
2,282
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "20a2d959-5412-447b-a2c4-7736b6b758b3",
    "timestamp": 1783202987703
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783202987703
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "20a2d959-5412-447b-a2c4-7736b6b758b3",
    "timestamp": 1783202987703
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8b30f207-8204-4548-8f51-38c387d98ae9",
    "timestamp": 1783202987706
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783202987706
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783202987706
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0023703,
      "provider": "openai",
      "latencyMs": 5310,
      "promptTokens": 1,
      "completionTokens": 948
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783202993020
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8b30f207-8204-4548-8f51-38c387d98ae9",
    "timestamp": 1783202993020
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "1064a2bf-bf74-44cd-ba8a-48f93700e887",
    "timestamp": 1783202993024
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783202993024
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "1064a2bf-bf74-44cd-ba8a-48f93700e887",
    "timestamp": 1783202993024
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "280fe3b1-faca-41b6-be0e-2ab906cd1662",
    "timestamp": 1783202993027
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleDocs",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783202993528
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "280fe3b1-faca-41b6-be0e-2ab906cd1662",
    "timestamp": 1783202993528
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7d5d1466-b4c9-4055-a634-ea7025dc370a",
    "timestamp": 1783202993533
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/deepseek-chat",
    "nodeId": "llm",
    "timestamp": 1783202993533
  },
  {
    "data": {
      "model": "deepseek-chat",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783202993533
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0008552999999999999,
      "provider": "openai",
      "latencyMs": 2459,
      "promptTokens": 1,
      "completionTokens": 342
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783202995994
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7d5d1466-b4c9-4055-a634-ea7025dc370a",
    "timestamp": 1783202995994
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "87c88d31-811d-4265-b44e-ab30a45ff88b",
    "timestamp": 1783202996000
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleDocs",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783202996502
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "87c88d31-811d-4265-b44e-ab30a45ff88b",
    "timestamp": 1783202996502
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "37baa147-120a-40a8-b92f-df319fc4bc46",
    "timestamp": 1783202996505
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "googleDocs",
      "latencyMs": 0,
      "operation": "get",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783202996505
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "37baa147-120a-40a8-b92f-df319fc4bc46",
    "timestamp": 1783202996505
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "0002a227-4240-4d3c-9a45-fc6e23fdc7f5",
    "timestamp": 1783202996508
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "googleDocs",
      "latencyMs": 0,
      "operation": "get",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783202996508
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "0002a227-4240-4d3c-9a45-fc6e23fdc7f5",
    "timestamp": 1783202996508
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "48d576fc-870a-441e-a7be-3056ef7e1d7a",
    "timestamp": 1783202996511
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1783202996511
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "48d576fc-870a-441e-a7be-3056ef7e1d7a",
    "timestamp": 1783202996511
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "88f7024c-87d4-48b4-b6bb-f68c88202f56",
    "timestamp": 1783202996513
  },
  {
    "data": {
      "count": 2
    },
    "event": "aggregate",
    "nodeId": "passthrough",
    "timestamp": 1783202996513
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "88f7024c-87d4-48b4-b6bb-f68c88202f56",
    "timestamp": 1783202996513
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "68303b67-2203-41e8-b370-220d884d2945",
    "timestamp": 1783202996518
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783202996518
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783202996518
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0005192,
      "provider": "openai",
      "latencyMs": 1309,
      "promptTokens": 889,
      "completionTokens": 101
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783202997828
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "68303b67-2203-41e8-b370-220d884d2945",
    "timestamp": 1783202997828
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "15bb5fd5-7dfe-4da9-830c-e1d905831640",
    "timestamp": 1783202997832
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783202997832
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "15bb5fd5-7dfe-4da9-830c-e1d905831640",
    "timestamp": 1783202997832
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "50271e59-6dd2-4f54-9b28-dd4a9f33ddc5",
    "timestamp": 1783202997835
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783202997835
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "50271e59-6dd2-4f54-9b28-dd4a9f33ddc5",
    "timestamp": 1783202997835
  }
]