Automated Invoice Parsing with LlamaParse and Gmail

71fa097b-26c9-4a15-89ba-ed3cda6727b5

Latency
1566ms
Cost
$0.0006
Tokens
148
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "7076854e-c7e8-45b5-9e5e-16678bffa254",
    "timestamp": 1783207488044
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "lmopenai",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488296
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "7076854e-c7e8-45b5-9e5e-16678bffa254",
    "timestamp": 1783207488296
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "00819f1c-2c60-4b7c-b395-445ec05fd898",
    "timestamp": 1783207488303
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783207488303
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "00819f1c-2c60-4b7c-b395-445ec05fd898",
    "timestamp": 1783207488303
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "a4504d83-da3b-41bc-891f-f8f9314a6af5",
    "timestamp": 1783207488307
  },
  {
    "data": {
      "kind": "n8n-nodes-base.gmailTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783207488307
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "a4504d83-da3b-41bc-891f-f8f9314a6af5",
    "timestamp": 1783207488307
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "12a23527-39f3-4f72-8691-3d5cf59f9909",
    "timestamp": 1783207488309
  },
  {
    "data": {
      "count": 2
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1783207488309
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "12a23527-39f3-4f72-8691-3d5cf59f9909",
    "timestamp": 1783207488309
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "88ff6e22-d3d3-403d-b0b2-2674487140a7",
    "timestamp": 1783207488310
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "gmail",
      "latencyMs": 0,
      "operation": "get",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488310
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "88ff6e22-d3d3-403d-b0b2-2674487140a7",
    "timestamp": 1783207488310
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "88accb8e-6531-40be-8d35-1bba594149af",
    "timestamp": 1783207488311
  },
  {
    "data": {
      "count": 3
    },
    "event": "aggregate",
    "nodeId": "passthrough",
    "timestamp": 1783207488311
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "88accb8e-6531-40be-8d35-1bba594149af",
    "timestamp": 1783207488311
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "d233ff33-cabf-434e-876d-879693ecaf58",
    "timestamp": 1783207488312
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1783207488312
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "d233ff33-cabf-434e-876d-879693ecaf58",
    "timestamp": 1783207488312
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "3735a124-9fab-4400-8b94-8b5aa9f951fe",
    "timestamp": 1783207488314
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783207488314
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "3735a124-9fab-4400-8b94-8b5aa9f951fe",
    "timestamp": 1783207488314
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "3b40d506-aabc-4105-853a-a318375cea73",
    "timestamp": 1783207488315
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488315
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "3b40d506-aabc-4105-853a-a318375cea73",
    "timestamp": 1783207488315
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "02bd4636-f35b-4a3a-8a5f-9ae7aeed2bf4",
    "timestamp": 1783207488316
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "append",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488819
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "02bd4636-f35b-4a3a-8a5f-9ae7aeed2bf4",
    "timestamp": 1783207488819
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "cdb0a7ee-068d-465a-b4ae-d5221d5e7400",
    "timestamp": 1783207488823
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488823
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "cdb0a7ee-068d-465a-b4ae-d5221d5e7400",
    "timestamp": 1783207488823
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b68a01ab-d8e6-42f4-ab1d-81e746695eef",
    "timestamp": 1783207488824
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783207488824
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b68a01ab-d8e6-42f4-ab1d-81e746695eef",
    "timestamp": 1783207488824
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "41bd28d2-665a-4f71-a456-98eeb26b6655",
    "timestamp": 1783207488826
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1783207488826
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "41bd28d2-665a-4f71-a456-98eeb26b6655",
    "timestamp": 1783207488826
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "3802c538-acf9-48d8-b011-bfe2fb817350",
    "timestamp": 1783207488827
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "gmail",
      "latencyMs": 0,
      "operation": "addLabels",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488827
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "3802c538-acf9-48d8-b011-bfe2fb817350",
    "timestamp": 1783207488827
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "ffabd8c5-c440-4473-8e44-b849426c70cf",
    "timestamp": 1783207488829
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207488829
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "ffabd8c5-c440-4473-8e44-b849426c70cf",
    "timestamp": 1783207488829
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "5f9b507f-4dc1-4853-bf71-a64f2f4b55c1",
    "timestamp": 1783207488830
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783207488830
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "5f9b507f-4dc1-4853-bf71-a64f2f4b55c1",
    "timestamp": 1783207488830
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "d22744cd-151d-4b92-b4f2-4a5b9ceb4ee7",
    "timestamp": 1783207488831
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783207488831
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207488831
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.000565,
      "provider": "openai",
      "latencyMs": 776,
      "promptTokens": 122,
      "completionTokens": 26
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783207489610
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "d22744cd-151d-4b92-b4f2-4a5b9ceb4ee7",
    "timestamp": 1783207489610
  }
]