Extract invoice data to Excel using Google Gemini, OCR, and Telegram

993ec5c5-f2e5-4df1-be10-48a02aec919b

Latency
37458ms
Cost
$0.0000
Tokens
0
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "b8a4c4c7-c47f-42bd-bff3-a0036cf960c1",
    "timestamp": 1780874783298
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780874783298
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "b8a4c4c7-c47f-42bd-bff3-a0036cf960c1",
    "timestamp": 1780874783298
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "3669271f-ceb0-4685-81f2-464dbcbc96bc",
    "timestamp": 1780874783298
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874783298
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "3669271f-ceb0-4685-81f2-464dbcbc96bc",
    "timestamp": 1780874783298
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "b06374f7-6b56-4388-b0bf-b9a3c3ccd0e6",
    "timestamp": 1780874783301
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780874783301
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "b06374f7-6b56-4388-b0bf-b9a3c3ccd0e6",
    "timestamp": 1780874783301
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "6471cc50-9980-435a-99a6-90588d16a140",
    "timestamp": 1780874783303
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "update_id"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780874783303
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "6471cc50-9980-435a-99a6-90588d16a140",
    "timestamp": 1780874783303
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "db1cc9db-105f-4872-9e58-4d5a9a1dffe2",
    "timestamp": 1780874783306
  },
  {
    "data": {
      "inputKeys": [
        "message",
        "update_id"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780874783306
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "db1cc9db-105f-4872-9e58-4d5a9a1dffe2",
    "timestamp": 1780874783306
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "270e13f4-ca09-4d2f-91ba-92f2f4daf19b",
    "timestamp": 1780874783308
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780874783308
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780874783308
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780874783835
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 527,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780874783835
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "270e13f4-ca09-4d2f-91ba-92f2f4daf19b",
    "timestamp": 1780874783835
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "686740fb-7c5b-4dcf-8575-ec6b5a98b2ee",
    "timestamp": 1780874783839
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780874783839
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780874783839
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780874787021
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 3182,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780874787021
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "686740fb-7c5b-4dcf-8575-ec6b5a98b2ee",
    "timestamp": 1780874787021
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "03d96845-35f2-42b2-b82e-70674c972707",
    "timestamp": 1780874787026
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780874787026
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780874787026
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780874787225
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 199,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780874787225
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "03d96845-35f2-42b2-b82e-70674c972707",
    "timestamp": 1780874787225
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "f249898a-61c7-49f6-8802-ee40021e530a",
    "timestamp": 1780874787229
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780874787229
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780874787229
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780874790504
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 3275,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780874790504
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "f249898a-61c7-49f6-8802-ee40021e530a",
    "timestamp": 1780874790504
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "f78b903d-f3ba-4bef-a0ff-73862130e442",
    "timestamp": 1780874790509
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780874790509
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "f78b903d-f3ba-4bef-a0ff-73862130e442",
    "timestamp": 1780874790509
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "90ab039c-fe7e-49b6-adb5-837e9b66f55d",
    "timestamp": 1780874790512
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "tesseractnode",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "90ab039c-fe7e-49b6-adb5-837e9b66f55d",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "87a251f9-6c9e-41e5-bd6d-85fb96ef6a80",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "87a251f9-6c9e-41e5-bd6d-85fb96ef6a80",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "db53dd4d-8816-47d3-881e-6925d59684fd",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "db53dd4d-8816-47d3-881e-6925d59684fd",
    "timestamp": 1780874790764
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "7b900e78-bc5a-490e-8abf-af20ad43ae24",
    "timestamp": 1780874790768
  },
  {
    "data": {
      "inputKeys": [
        "updates"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780874790768
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "7b900e78-bc5a-490e-8abf-af20ad43ae24",
    "timestamp": 1780874790768
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "0b7d7792-14e6-493a-b443-4230461e4e00",
    "timestamp": 1780874790771
  },
  {
    "data": {
      "inputKeys": [
        "items",
        "records",
        "simulated",
        "echo"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780874790771
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "0b7d7792-14e6-493a-b443-4230461e4e00",
    "timestamp": 1780874790771
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "123890e8-0a75-47b9-a1a9-f58736514722",
    "timestamp": 1780874790773
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780874790773
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780874790773
  },
  {
    "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": "123890e8-0a75-47b9-a1a9-f58736514722",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "a58eb524-03c5-403f-ad75-7ea655bdc4a5",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "a58eb524-03c5-403f-ad75-7ea655bdc4a5",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "d18ebac0-e6e8-4b04-8a3c-4a39f88a5ed5",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "d18ebac0-e6e8-4b04-8a3c-4a39f88a5ed5",
    "timestamp": 1780874816790
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "7015fc32-1278-4e0d-b77b-81898dc0153b",
    "timestamp": 1780874816794
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780874816794
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "7015fc32-1278-4e0d-b77b-81898dc0153b",
    "timestamp": 1780874816794
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "8104ecbc-d823-41c7-a3f4-a0569a16ba7a",
    "timestamp": 1780874816794
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874816794
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "8104ecbc-d823-41c7-a3f4-a0569a16ba7a",
    "timestamp": 1780874816794
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "0a5e4248-67e3-45b6-bd98-4013e9de3495",
    "timestamp": 1780874816797
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780874816797
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780874816797
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780874817339
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 542,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780874817339
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "0a5e4248-67e3-45b6-bd98-4013e9de3495",
    "timestamp": 1780874817339
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b888987a-c967-48a7-a584-323eeb26f686",
    "timestamp": 1780874817342
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "excel",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780874817594
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b888987a-c967-48a7-a584-323eeb26f686",
    "timestamp": 1780874817594
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "d7e254c2-3750-4374-b701-db8a4561ad69",
    "timestamp": 1780874817596
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780874817596
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780874817596
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780874820756
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 3160,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780874820756
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "d7e254c2-3750-4374-b701-db8a4561ad69",
    "timestamp": 1780874820756
  }
]