Telegram AI PDF Chatbot With Pinecone RAG

b3923f83-d5f9-46d4-b647-dc68e51c1eb5

Latency
3164ms
Cost
$0.0009
Tokens
106
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "9fbce801-8c42-43a4-bc70-d93042d68b2c",
    "timestamp": 1783206385920
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783206385920
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "9fbce801-8c42-43a4-bc70-d93042d68b2c",
    "timestamp": 1783206385920
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "1bfc1fbd-86b1-4a8a-9301-fe54497f5acd",
    "timestamp": 1783206385922
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206385922
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "1bfc1fbd-86b1-4a8a-9301-fe54497f5acd",
    "timestamp": 1783206385922
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "fed803d0-49a2-4b82-8f20-a02a10caa027",
    "timestamp": 1783206385924
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206385924
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "fed803d0-49a2-4b82-8f20-a02a10caa027",
    "timestamp": 1783206385924
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "693f9026-f47f-48dc-8e5d-e8b832a37235",
    "timestamp": 1783206385926
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/llama-3.1-70b-versatile",
    "nodeId": "llm",
    "timestamp": 1783206385926
  },
  {
    "data": {
      "model": "llama-3.1-70b-versatile",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783206385926
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 729,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783206386656
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "693f9026-f47f-48dc-8e5d-e8b832a37235",
    "timestamp": 1783206386656
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cf548bee-d5d5-4f1a-a059-932ea163e155",
    "timestamp": 1783206386660
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206386660
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cf548bee-d5d5-4f1a-a059-932ea163e155",
    "timestamp": 1783206386660
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "9aaf575a-5e40-407c-951c-10b1d16e5d3c",
    "timestamp": 1783206386664
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783206386664
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "9aaf575a-5e40-407c-951c-10b1d16e5d3c",
    "timestamp": 1783206386664
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "d5ad7851-ed40-4b3a-b0d5-aeaf04362f1c",
    "timestamp": 1783206386666
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206386666
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "d5ad7851-ed40-4b3a-b0d5-aeaf04362f1c",
    "timestamp": 1783206386666
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0217056f-2b71-4308-adf1-19dcd4d2cc11",
    "timestamp": 1783206386669
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206386669
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0217056f-2b71-4308-adf1-19dcd4d2cc11",
    "timestamp": 1783206386669
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ea4d4e74-8954-47f0-a3a0-662d47ea2298",
    "timestamp": 1783206386671
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783206386671
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206386922
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ea4d4e74-8954-47f0-a3a0-662d47ea2298",
    "timestamp": 1783206386922
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c9bc4c80-8e57-48bc-a405-131ed7348c1d",
    "timestamp": 1783206386925
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "retrievervectorstore",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206387177
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c9bc4c80-8e57-48bc-a405-131ed7348c1d",
    "timestamp": 1783206387177
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "c1edb6bf-ba95-4a5f-9626-add673274086",
    "timestamp": 1783206387177
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "c1edb6bf-ba95-4a5f-9626-add673274086",
    "timestamp": 1783206387183
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c87f1db3-7cc9-4063-9895-4b4d68ea53a1",
    "timestamp": 1783206387187
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783206387187
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783206387187
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.00075,
      "provider": "openai",
      "latencyMs": 1361,
      "promptTokens": 20,
      "completionTokens": 70
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783206388556
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c87f1db3-7cc9-4063-9895-4b4d68ea53a1",
    "timestamp": 1783206388556
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "aae26861-f34d-4b59-bd99-3662fbd6676c",
    "timestamp": 1783206388560
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206388560
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "aae26861-f34d-4b59-bd99-3662fbd6676c",
    "timestamp": 1783206388560
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e3bd4759-80cc-42bb-ba53-f9e88e9ba916",
    "timestamp": 1783206388564
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783206388564
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206388816
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e3bd4759-80cc-42bb-ba53-f9e88e9ba916",
    "timestamp": 1783206388816
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "312fb807-4225-4630-ab32-aa12fe07c127",
    "timestamp": 1783206388821
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206388821
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "312fb807-4225-4630-ab32-aa12fe07c127",
    "timestamp": 1783206388821
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "ab60f36f-fada-4812-8dbd-441ad372cb80",
    "timestamp": 1783206388824
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206388824
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "ab60f36f-fada-4812-8dbd-441ad372cb80",
    "timestamp": 1783206388824
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e478df48-9e6d-4a84-89be-beb569914ae3",
    "timestamp": 1783206388828
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783206388828
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783206389079
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e478df48-9e6d-4a84-89be-beb569914ae3",
    "timestamp": 1783206389079
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "5be7a321-1be6-4173-83de-3d569666718d",
    "timestamp": 1783206389084
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783206389084
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "5be7a321-1be6-4173-83de-3d569666718d",
    "timestamp": 1783206389084
  }
]