Extract Invoice and Payment Spend to Sheets

d27c3d04-0ce7-434c-bc7a-7b881a41d629

Latency
14632ms
Cost
$0.0048
Tokens
2,188
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "8e1e0861-9f06-4fe2-a9c1-423bab246959",
    "timestamp": 1783204351325
  },
  {
    "data": {
      "kind": "n8n-nodes-base.gmailTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783204351325
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "8e1e0861-9f06-4fe2-a9c1-423bab246959",
    "timestamp": 1783204351325
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "364fe355-672a-4074-800a-a7496c4fb1b2",
    "timestamp": 1783204351328
  },
  {
    "data": {
      "kind": "n8n-nodes-base.gmailTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783204351328
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "364fe355-672a-4074-800a-a7496c4fb1b2",
    "timestamp": 1783204351328
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0d75443d-0d23-4120-95e5-b3128a760fb4",
    "timestamp": 1783204351331
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204351331
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0d75443d-0d23-4120-95e5-b3128a760fb4",
    "timestamp": 1783204351331
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7ade499c-015b-4903-8129-6c135264bf75",
    "timestamp": 1783204351333
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204351333
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204351333
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0023203,
      "provider": "google",
      "latencyMs": 6294,
      "promptTokens": 1,
      "completionTokens": 928
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204357628
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7ade499c-015b-4903-8129-6c135264bf75",
    "timestamp": 1783204357628
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "250bbd9a-3d22-4a04-910c-7cec437b3c33",
    "timestamp": 1783204357634
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/llama-3.2-11b-text-preview",
    "nodeId": "llm",
    "timestamp": 1783204357634
  },
  {
    "data": {
      "model": "llama-3.2-11b-text-preview",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204357634
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0018303,
      "provider": "openai",
      "latencyMs": 4623,
      "promptTokens": 1,
      "completionTokens": 732
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204362259
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "250bbd9a-3d22-4a04-910c-7cec437b3c33",
    "timestamp": 1783204362259
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b8d2b2fc-748c-43c5-a82b-d5e7357bbef8",
    "timestamp": 1783204362264
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204362264
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b8d2b2fc-748c-43c5-a82b-d5e7357bbef8",
    "timestamp": 1783204362264
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "e3218faf-2486-46e0-bf43-3bc52927e2bd",
    "timestamp": 1783204362267
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204362267
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "e3218faf-2486-46e0-bf43-3bc52927e2bd",
    "timestamp": 1783204362267
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "3772b3dc-7601-4005-9b61-263b2c1abd5f",
    "timestamp": 1783204362271
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204362271
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "3772b3dc-7601-4005-9b61-263b2c1abd5f",
    "timestamp": 1783204362271
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "0d9f8bde-af54-480c-bdc9-15cd5b0e6f28",
    "timestamp": 1783204362274
  },
  {
    "data": {
      "inputKeys": [
        "output",
        "date",
        "subject",
        "spend",
        "text",
        "html",
        "labelIds",
        "from",
        "email_date",
        "email_subject",
        "email_content",
        "email_type"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204362274
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "0d9f8bde-af54-480c-bdc9-15cd5b0e6f28",
    "timestamp": 1783204362274
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "c1c4c490-d7a9-4b16-a81b-a338103764b6",
    "timestamp": 1783204362277
  },
  {
    "data": {
      "inputKeys": [
        "output",
        "date",
        "subject",
        "spend",
        "text",
        "html",
        "labelIds",
        "from",
        "email_date",
        "email_subject",
        "email_content",
        "email_type"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204362277
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "c1c4c490-d7a9-4b16-a81b-a338103764b6",
    "timestamp": 1783204362277
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "01c5a934-9412-4ef9-81a8-c4aef19c8868",
    "timestamp": 1783204362279
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1783204362279
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "01c5a934-9412-4ef9-81a8-c4aef19c8868",
    "timestamp": 1783204362279
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "10d57038-940e-47aa-84ea-3850f61ac757",
    "timestamp": 1783204362281
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204362281
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "10d57038-940e-47aa-84ea-3850f61ac757",
    "timestamp": 1783204362281
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "c2829f41-1e3f-40bc-8d4b-9fd1bac41381",
    "timestamp": 1783204362283
  },
  {
    "data": {
      "inputKeys": [
        "output",
        "date",
        "subject",
        "spend",
        "text",
        "html",
        "labelIds",
        "from",
        "email_date",
        "email_subject",
        "email_content",
        "email_type"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204362283
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "c2829f41-1e3f-40bc-8d4b-9fd1bac41381",
    "timestamp": 1783204362283
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "ecf9ea3c-3f34-43ef-b101-ca4a420e4c24",
    "timestamp": 1783204362285
  },
  {
    "data": {
      "inputKeys": [
        "output",
        "date",
        "subject",
        "spend",
        "text",
        "html",
        "labelIds",
        "from",
        "email_date",
        "email_subject",
        "email_content",
        "email_type"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204362285
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "ecf9ea3c-3f34-43ef-b101-ca4a420e4c24",
    "timestamp": 1783204362285
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "dae6d22e-587d-4102-b006-20a341ede5ee",
    "timestamp": 1783204362287
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1783204362287
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "dae6d22e-587d-4102-b006-20a341ede5ee",
    "timestamp": 1783204362287
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "112f5198-871e-42f9-9376-5fa074497413",
    "timestamp": 1783204362290
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204362290
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204362290
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00038889999999999997,
      "provider": "openai",
      "latencyMs": 1414,
      "promptTokens": 138,
      "completionTokens": 139
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204363705
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "112f5198-871e-42f9-9376-5fa074497413",
    "timestamp": 1783204363705
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "87ab4932-aae5-4c5a-a175-c782bebdf781",
    "timestamp": 1783204363712
  },
  {
    "data": {
      "inputKeys": [
        "0"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204363712
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "87ab4932-aae5-4c5a-a175-c782bebdf781",
    "timestamp": 1783204363712
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "39b10715-54fe-4c07-9ca1-afbe43ae519e",
    "timestamp": 1783204363717
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "append",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204364219
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "39b10715-54fe-4c07-9ca1-afbe43ae519e",
    "timestamp": 1783204364219
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "b9c3cb29-e68e-4ae0-8930-185c17bc6cab",
    "timestamp": 1783204364225
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1783204364225
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "b9c3cb29-e68e-4ae0-8930-185c17bc6cab",
    "timestamp": 1783204364225
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "b50d632c-b762-4f61-b34a-91f941100668",
    "timestamp": 1783204364231
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204364231
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204364231
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0003079,
      "provider": "openai",
      "latencyMs": 1213,
      "promptTokens": 143,
      "completionTokens": 106
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204365446
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "b50d632c-b762-4f61-b34a-91f941100668",
    "timestamp": 1783204365446
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "10fe4a38-139b-4284-9e86-dd36e472f59e",
    "timestamp": 1783204365454
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "append",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204365957
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "10fe4a38-139b-4284-9e86-dd36e472f59e",
    "timestamp": 1783204365957
  }
]