Telegram AI PDF Chatbot With Pinecone RAG

78606154-8d1a-494c-a454-d382ef555333

Latency
8236ms
Cost
$0.0028
Tokens
1,142
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "9fbce801-8c42-43a4-bc70-d93042d68b2c",
    "timestamp": 1783206417887
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783206417887
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "9fbce801-8c42-43a4-bc70-d93042d68b2c",
    "timestamp": 1783206417887
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "1bfc1fbd-86b1-4a8a-9301-fe54497f5acd",
    "timestamp": 1783206417890
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206417890
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "1bfc1fbd-86b1-4a8a-9301-fe54497f5acd",
    "timestamp": 1783206417890
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "fed803d0-49a2-4b82-8f20-a02a10caa027",
    "timestamp": 1783206417892
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206417892
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "fed803d0-49a2-4b82-8f20-a02a10caa027",
    "timestamp": 1783206417892
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "693f9026-f47f-48dc-8e5d-e8b832a37235",
    "timestamp": 1783206417895
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/llama-3.1-70b-versatile",
    "nodeId": "llm",
    "timestamp": 1783206417895
  },
  {
    "data": {
      "model": "llama-3.1-70b-versatile",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783206417895
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0025503,
      "provider": "openai",
      "latencyMs": 5826,
      "promptTokens": 1,
      "completionTokens": 1020
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783206423722
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "693f9026-f47f-48dc-8e5d-e8b832a37235",
    "timestamp": 1783206423722
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cf548bee-d5d5-4f1a-a059-932ea163e155",
    "timestamp": 1783206423723
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206423723
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cf548bee-d5d5-4f1a-a059-932ea163e155",
    "timestamp": 1783206423723
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "9aaf575a-5e40-407c-951c-10b1d16e5d3c",
    "timestamp": 1783206423724
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783206423724
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "9aaf575a-5e40-407c-951c-10b1d16e5d3c",
    "timestamp": 1783206423724
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "d5ad7851-ed40-4b3a-b0d5-aeaf04362f1c",
    "timestamp": 1783206423725
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206423725
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "d5ad7851-ed40-4b3a-b0d5-aeaf04362f1c",
    "timestamp": 1783206423725
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0217056f-2b71-4308-adf1-19dcd4d2cc11",
    "timestamp": 1783206423726
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206423726
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0217056f-2b71-4308-adf1-19dcd4d2cc11",
    "timestamp": 1783206423726
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ea4d4e74-8954-47f0-a3a0-662d47ea2298",
    "timestamp": 1783206423727
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783206423727
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206423978
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ea4d4e74-8954-47f0-a3a0-662d47ea2298",
    "timestamp": 1783206423978
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c9bc4c80-8e57-48bc-a405-131ed7348c1d",
    "timestamp": 1783206423979
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "retrievervectorstore",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206424230
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c9bc4c80-8e57-48bc-a405-131ed7348c1d",
    "timestamp": 1783206424230
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "c1edb6bf-ba95-4a5f-9626-add673274086",
    "timestamp": 1783206424230
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "c1edb6bf-ba95-4a5f-9626-add673274086",
    "timestamp": 1783206424232
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c87f1db3-7cc9-4063-9895-4b4d68ea53a1",
    "timestamp": 1783206424233
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783206424233
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783206424233
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002739,
      "provider": "openai",
      "latencyMs": 1359,
      "promptTokens": 13,
      "completionTokens": 108
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783206425593
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c87f1db3-7cc9-4063-9895-4b4d68ea53a1",
    "timestamp": 1783206425593
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "aae26861-f34d-4b59-bd99-3662fbd6676c",
    "timestamp": 1783206425599
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206425599
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "aae26861-f34d-4b59-bd99-3662fbd6676c",
    "timestamp": 1783206425599
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e3bd4759-80cc-42bb-ba53-f9e88e9ba916",
    "timestamp": 1783206425603
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783206425603
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206425855
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e3bd4759-80cc-42bb-ba53-f9e88e9ba916",
    "timestamp": 1783206425855
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "312fb807-4225-4630-ab32-aa12fe07c127",
    "timestamp": 1783206425860
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206425860
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "312fb807-4225-4630-ab32-aa12fe07c127",
    "timestamp": 1783206425860
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "ab60f36f-fada-4812-8dbd-441ad372cb80",
    "timestamp": 1783206425864
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206425864
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "ab60f36f-fada-4812-8dbd-441ad372cb80",
    "timestamp": 1783206425864
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e478df48-9e6d-4a84-89be-beb569914ae3",
    "timestamp": 1783206425867
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783206425867
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206426118
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e478df48-9e6d-4a84-89be-beb569914ae3",
    "timestamp": 1783206426118
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "5be7a321-1be6-4173-83de-3d569666718d",
    "timestamp": 1783206426123
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206426123
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "5be7a321-1be6-4173-83de-3d569666718d",
    "timestamp": 1783206426123
  }
]