Automated Invoice Parsing with LlamaParse and Gmail
3f900561-0045-4b72-a3a2-4c0474fc7e3c
Latency
3814ms
Cost
$0.0005
Tokens
290
Status
partialgemini-3-flash-preview
1 node ran as pass-throughs
@n8n/n8n-nodes-langchain.lmOpenAi
Workflow Graph
Trace
[
{
"data": {
"nodeType": "unsupported"
},
"event": "node_start",
"nodeId": "7076854e-c7e8-45b5-9e5e-16678bffa254",
"timestamp": 1780644685256
},
{
"data": {
"type": "@n8n/n8n-nodes-langchain.lmOpenAi"
},
"event": "unsupported_node",
"nodeId": "unsupported",
"timestamp": 1780644685256
},
{
"data": {
"status": "ok",
"nodeType": "unsupported"
},
"event": "node_end",
"nodeId": "7076854e-c7e8-45b5-9e5e-16678bffa254",
"timestamp": 1780644685256
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "00819f1c-2c60-4b7c-b395-445ec05fd898",
"timestamp": 1780644685260
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780644685260
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "00819f1c-2c60-4b7c-b395-445ec05fd898",
"timestamp": 1780644685260
},
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "a4504d83-da3b-41bc-891f-f8f9314a6af5",
"timestamp": 1780644685262
},
{
"data": {
"kind": "n8n-nodes-base.gmailTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780644685262
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "a4504d83-da3b-41bc-891f-f8f9314a6af5",
"timestamp": 1780644685262
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "12a23527-39f3-4f72-8691-3d5cf59f9909",
"timestamp": 1780644685265
},
{
"data": {
"count": 1
},
"event": "splitOut",
"nodeId": "passthrough",
"timestamp": 1780644685265
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "12a23527-39f3-4f72-8691-3d5cf59f9909",
"timestamp": 1780644685265
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "88ff6e22-d3d3-403d-b0b2-2674487140a7",
"timestamp": 1780644685268
},
{
"data": {
"service": "gmail",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780644685268
},
{
"data": {
"url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780644685268
},
{
"data": {
"status": 200
},
"event": "gmail.read",
"nodeId": "integration",
"timestamp": 1780644685490
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "gmail",
"latencyMs": 222,
"operation": "get"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780644685490
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "88ff6e22-d3d3-403d-b0b2-2674487140a7",
"timestamp": 1780644685490
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "88accb8e-6531-40be-8d35-1bba594149af",
"timestamp": 1780644685495
},
{
"data": {
"count": 1
},
"event": "aggregate",
"nodeId": "passthrough",
"timestamp": 1780644685495
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "88accb8e-6531-40be-8d35-1bba594149af",
"timestamp": 1780644685495
},
{
"data": {
"nodeType": "merge"
},
"event": "node_start",
"nodeId": "d233ff33-cabf-434e-876d-879693ecaf58",
"timestamp": 1780644685499
},
{
"data": {
"inputCount": 2
},
"event": "merged 2 inputs",
"nodeId": "merge",
"timestamp": 1780644685499
},
{
"data": {
"status": "ok",
"nodeType": "merge"
},
"event": "node_end",
"nodeId": "d233ff33-cabf-434e-876d-879693ecaf58",
"timestamp": 1780644685499
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "3735a124-9fab-4400-8b94-8b5aa9f951fe",
"timestamp": 1780644685502
},
{
"event": "false branch",
"nodeId": "if",
"timestamp": 1780644685502
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "3735a124-9fab-4400-8b94-8b5aa9f951fe",
"timestamp": 1780644685502
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "3b40d506-aabc-4105-853a-a318375cea73",
"timestamp": 1780644685504
},
{
"event": "fetching POST https://api.cloud.llamaindex.ai/api/parsing/upload",
"nodeId": "http",
"timestamp": 1780644685504
},
{
"data": {
"url": "https://api.cloud.llamaindex.ai/api/parsing/upload",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780644685504
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "3b40d506-aabc-4105-853a-a318375cea73",
"timestamp": 1780644685898
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "02bd4636-f35b-4a3a-8a5f-9ae7aeed2bf4",
"timestamp": 1780644685908
},
{
"data": {
"service": "googleSheets",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780644685908
},
{
"data": {
"url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/Sink:append?valueInputOption=RAW",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780644685908
},
{
"data": {
"tab": "Sink",
"status": 200
},
"event": "sheets.write",
"nodeId": "integration",
"timestamp": 1780644686284
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "googleSheets",
"latencyMs": 376,
"operation": "append"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780644686284
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "02bd4636-f35b-4a3a-8a5f-9ae7aeed2bf4",
"timestamp": 1780644686284
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "cdb0a7ee-068d-465a-b4ae-d5221d5e7400",
"timestamp": 1780644686289
},
{
"event": "fetching GET https://api.cloud.llamaindex.ai/api/parsing/job/",
"nodeId": "http",
"timestamp": 1780644686289
},
{
"data": {
"url": "https://api.cloud.llamaindex.ai/api/parsing/job/",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780644686289
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "cdb0a7ee-068d-465a-b4ae-d5221d5e7400",
"timestamp": 1780644686904
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "b68a01ab-d8e6-42f4-ab1d-81e746695eef",
"timestamp": 1780644686909
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780644686909
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "b68a01ab-d8e6-42f4-ab1d-81e746695eef",
"timestamp": 1780644686909
},
{
"data": {
"nodeType": "switch"
},
"event": "node_start",
"nodeId": "41bd28d2-665a-4f71-a456-98eeb26b6655",
"timestamp": 1780644686913
},
{
"event": "no rule matched -> default",
"nodeId": "switch",
"timestamp": 1780644686913
},
{
"data": {
"status": "ok",
"nodeType": "switch"
},
"event": "node_end",
"nodeId": "41bd28d2-665a-4f71-a456-98eeb26b6655",
"timestamp": 1780644686913
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "3802c538-acf9-48d8-b011-bfe2fb817350",
"timestamp": 1780644686916
},
{
"data": {
"service": "gmail",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780644686916
},
{
"data": {
"url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780644686916
},
{
"data": {
"status": 200
},
"event": "gmail.read",
"nodeId": "integration",
"timestamp": 1780644687039
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "gmail",
"latencyMs": 123,
"operation": "addLabels"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780644687039
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "3802c538-acf9-48d8-b011-bfe2fb817350",
"timestamp": 1780644687039
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "ffabd8c5-c440-4473-8e44-b849426c70cf",
"timestamp": 1780644687044
},
{
"event": "fetching GET https://api.cloud.llamaindex.ai/api/parsing/job//result/markdown",
"nodeId": "http",
"timestamp": 1780644687044
},
{
"data": {
"url": "https://api.cloud.llamaindex.ai/api/parsing/job//result/markdown",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780644687044
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "ffabd8c5-c440-4473-8e44-b849426c70cf",
"timestamp": 1780644687121
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "5f9b507f-4dc1-4853-bf71-a64f2f4b55c1",
"timestamp": 1780644687127
},
{
"data": {
"inputKeys": [],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780644687127
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "5f9b507f-4dc1-4853-bf71-a64f2f4b55c1",
"timestamp": 1780644687127
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "d22744cd-151d-4b92-b4f2-4a5b9ceb4ee7",
"timestamp": 1780644687130
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780644687130
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780644687130
},
{
"data": {
"model": "gemini-3-flash-preview",
"costUsd": 0.0004654,
"provider": "openai",
"latencyMs": 1939,
"promptTokens": 118,
"completionTokens": 172
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780644689070
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "d22744cd-151d-4b92-b4f2-4a5b9ceb4ee7",
"timestamp": 1780644689070
}
]