Telegram AI Agent with Long-Term Memory and Docs
74c0b74a-5732-405f-89ee-897cdf2d78a7
Latency
52847ms
Cost
$0.0005
Tokens
977
Status
partialgemini-2.5-flash
Workflow Graph
Trace
[
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "20a2d959-5412-447b-a2c4-7736b6b758b3",
"timestamp": 1783202933839
},
{
"data": {
"kind": "@n8n/n8n-nodes-langchain.chatTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1783202933839
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "20a2d959-5412-447b-a2c4-7736b6b758b3",
"timestamp": 1783202933839
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "8b30f207-8204-4548-8f51-38c387d98ae9",
"timestamp": 1783202933841
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783202933841
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783202933841
},
{
"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": "8b30f207-8204-4548-8f51-38c387d98ae9",
"timestamp": 1783202959204
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "1064a2bf-bf74-44cd-ba8a-48f93700e887",
"timestamp": 1783202959209
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783202959209
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "1064a2bf-bf74-44cd-ba8a-48f93700e887",
"timestamp": 1783202959209
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "280fe3b1-faca-41b6-be0e-2ab906cd1662",
"timestamp": 1783202959212
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "googleDocs",
"safeMode": true,
"latencyMs": 500,
"operation": "update",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783202959714
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "280fe3b1-faca-41b6-be0e-2ab906cd1662",
"timestamp": 1783202959714
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "7d5d1466-b4c9-4055-a634-ea7025dc370a",
"timestamp": 1783202959720
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/deepseek-chat",
"nodeId": "llm",
"timestamp": 1783202959720
},
{
"data": {
"model": "deepseek-chat",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783202959720
},
{
"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": "7d5d1466-b4c9-4055-a634-ea7025dc370a",
"timestamp": 1783202985290
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "87c88d31-811d-4265-b44e-ab30a45ff88b",
"timestamp": 1783202985294
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "googleDocs",
"safeMode": true,
"latencyMs": 500,
"operation": "update",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783202985796
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "87c88d31-811d-4265-b44e-ab30a45ff88b",
"timestamp": 1783202985796
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "37baa147-120a-40a8-b92f-df319fc4bc46",
"timestamp": 1783202985801
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "googleDocs",
"latencyMs": 0,
"operation": "get",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783202985801
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "37baa147-120a-40a8-b92f-df319fc4bc46",
"timestamp": 1783202985801
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "0002a227-4240-4d3c-9a45-fc6e23fdc7f5",
"timestamp": 1783202985804
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "googleDocs",
"latencyMs": 0,
"operation": "get",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783202985804
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "0002a227-4240-4d3c-9a45-fc6e23fdc7f5",
"timestamp": 1783202985804
},
{
"data": {
"nodeType": "merge"
},
"event": "node_start",
"nodeId": "48d576fc-870a-441e-a7be-3056ef7e1d7a",
"timestamp": 1783202985806
},
{
"data": {
"inputCount": 2
},
"event": "merged 2 inputs",
"nodeId": "merge",
"timestamp": 1783202985806
},
{
"data": {
"status": "ok",
"nodeType": "merge"
},
"event": "node_end",
"nodeId": "48d576fc-870a-441e-a7be-3056ef7e1d7a",
"timestamp": 1783202985806
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "88f7024c-87d4-48b4-b6bb-f68c88202f56",
"timestamp": 1783202985809
},
{
"data": {
"count": 2
},
"event": "aggregate",
"nodeId": "passthrough",
"timestamp": 1783202985809
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "88f7024c-87d4-48b4-b6bb-f68c88202f56",
"timestamp": 1783202985809
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "68303b67-2203-41e8-b370-220d884d2945",
"timestamp": 1783202985814
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783202985814
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783202985814
},
{
"data": {
"model": "gemini-2.5-flash",
"costUsd": 0.0004867,
"provider": "openai",
"latencyMs": 864,
"promptTokens": 889,
"completionTokens": 88
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783202986679
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "68303b67-2203-41e8-b370-220d884d2945",
"timestamp": 1783202986679
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "15bb5fd5-7dfe-4da9-830c-e1d905831640",
"timestamp": 1783202986683
},
{
"data": {
"mode": "read",
"status": "ok",
"fixture": true,
"service": "telegram",
"latencyMs": 0,
"operation": "read",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783202986683
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "15bb5fd5-7dfe-4da9-830c-e1d905831640",
"timestamp": 1783202986683
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "50271e59-6dd2-4f54-9b28-dd4a9f33ddc5",
"timestamp": 1783202986686
},
{
"data": {
"inputKeys": [
"text",
"model",
"usage"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783202986686
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "50271e59-6dd2-4f54-9b28-dd4a9f33ddc5",
"timestamp": 1783202986686
}
]