Log Telegram receipt images to Excel 365 using Tesseract OCR and GPT-4.1-mini

b9438326-7a27-47a8-ae56-db466885ead6

Latency
1309ms
Cost
$0.0002
Tokens
32
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "819bc3ef-5fd4-49b5-9d9b-79c64ce99257",
    "timestamp": 1783211829651
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783211829651
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "819bc3ef-5fd4-49b5-9d9b-79c64ce99257",
    "timestamp": 1783211829651
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c1e967bf-9e1b-435f-bafd-80a273e4125c",
    "timestamp": 1783211829652
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211829652
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211829652
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 713,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211830370
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c1e967bf-9e1b-435f-bafd-80a273e4125c",
    "timestamp": 1783211830370
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "b07deb69-9ce2-4015-8771-14a5802d6148",
    "timestamp": 1783211830371
  },
  {
    "data": {
      "inputKeys": [
        "update_id",
        "message"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211830371
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "b07deb69-9ce2-4015-8771-14a5802d6148",
    "timestamp": 1783211830371
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "adb93c83-4894-4b95-a58a-9c7d83b01bd7",
    "timestamp": 1783211830373
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783211830373
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "adb93c83-4894-4b95-a58a-9c7d83b01bd7",
    "timestamp": 1783211830373
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b5704a52-2032-4f8c-97b8-fc1b758065f6",
    "timestamp": 1783211830374
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830374
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b5704a52-2032-4f8c-97b8-fc1b758065f6",
    "timestamp": 1783211830374
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "16d68a8c-60ef-436e-89a6-af22fe57a918",
    "timestamp": 1783211830375
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830375
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "16d68a8c-60ef-436e-89a6-af22fe57a918",
    "timestamp": 1783211830375
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ff0a7696-9d59-4fea-8170-c579dbf7f9f0",
    "timestamp": 1783211830377
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "tesseractnode",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830377
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ff0a7696-9d59-4fea-8170-c579dbf7f9f0",
    "timestamp": 1783211830377
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "a3576579-cb15-4324-8920-b3787ed336b6",
    "timestamp": 1783211830378
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211830378
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211830378
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 565,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211830947
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "a3576579-cb15-4324-8920-b3787ed336b6",
    "timestamp": 1783211830947
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "0fdb8423-d76a-4561-b832-45aed67b683c",
    "timestamp": 1783211830949
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211830949
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "0fdb8423-d76a-4561-b832-45aed67b683c",
    "timestamp": 1783211830949
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "25e7ac1a-0def-4a36-80ed-ebce8568e05b",
    "timestamp": 1783211830950
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "excel",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830950
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "25e7ac1a-0def-4a36-80ed-ebce8568e05b",
    "timestamp": 1783211830950
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "feb8c68e-5132-4949-8b49-2bbb85e348c8",
    "timestamp": 1783211830951
  },
  {
    "data": {
      "inputKeys": [
        "excel_sheet_name",
        "excel_file_id",
        "excel_drive_id",
        "telegram_bot_token",
        "gpt_api_key",
        "gpt_model",
        "required_fields"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211830951
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "feb8c68e-5132-4949-8b49-2bbb85e348c8",
    "timestamp": 1783211830951
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "102aaa27-07a3-4021-96b2-0cc39dc2bbfe",
    "timestamp": 1783211830953
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783211830953
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "102aaa27-07a3-4021-96b2-0cc39dc2bbfe",
    "timestamp": 1783211830953
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "70ddd1c8-c268-4e07-b6db-fcf16e1fc2f4",
    "timestamp": 1783211830954
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "excel",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830954
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "70ddd1c8-c268-4e07-b6db-fcf16e1fc2f4",
    "timestamp": 1783211830954
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "741be234-6dca-4a98-b931-808d1d8ad32e",
    "timestamp": 1783211830955
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830955
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "741be234-6dca-4a98-b931-808d1d8ad32e",
    "timestamp": 1783211830955
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "87ecde57-e303-4a87-a71f-e04a33cc29df",
    "timestamp": 1783211830956
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783211830956
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "87ecde57-e303-4a87-a71f-e04a33cc29df",
    "timestamp": 1783211830956
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "7e1f9c61-2130-4390-85f2-5bdd27e8767c",
    "timestamp": 1783211830957
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830957
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "7e1f9c61-2130-4390-85f2-5bdd27e8767c",
    "timestamp": 1783211830957
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "276fcaca-0320-4167-b20f-ebf34944cef3",
    "timestamp": 1783211830959
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "excel",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830959
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "276fcaca-0320-4167-b20f-ebf34944cef3",
    "timestamp": 1783211830959
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "71f1d4a1-3bf6-4030-9d78-1d52775c71bd",
    "timestamp": 1783211830960
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211830960
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "71f1d4a1-3bf6-4030-9d78-1d52775c71bd",
    "timestamp": 1783211830960
  }
]