Classify Gmail invoice attachments with Google Gemini and forward to freee
b2ec0379-5481-413a-afc8-3e628382de7f
Latency
4480ms
Cost
$0.0000
Tokens
0
Status
partialgemini-2.5-flash-lite
Workflow Graph
Trace
[
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "4f994f2b-b6d3-4b35-b25e-2b473f9fb52d",
"timestamp": 1780868540738
},
{
"data": {
"kind": "n8n-nodes-base.gmailTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780868540738
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "4f994f2b-b6d3-4b35-b25e-2b473f9fb52d",
"timestamp": 1780868540738
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "87c2e3a2-51e5-4858-a5c2-34990b652b81",
"timestamp": 1780868540739
},
{
"event": "false branch",
"nodeId": "if",
"timestamp": 1780868540739
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "87c2e3a2-51e5-4858-a5c2-34990b652b81",
"timestamp": 1780868540739
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "7c571379-c41f-47c8-ab12-c89e5035cbbf",
"timestamp": 1780868540740
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780868540740
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "7c571379-c41f-47c8-ab12-c89e5035cbbf",
"timestamp": 1780868540740
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "2fa81cca-5513-4d6a-a2e0-ce8e8b2dbcf9",
"timestamp": 1780868540741
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780868540741
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "2fa81cca-5513-4d6a-a2e0-ce8e8b2dbcf9",
"timestamp": 1780868540741
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "3fb2f04b-59dc-4dd6-8a03-296d955dc741",
"timestamp": 1780868540743
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling google/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780868540743
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "google"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780868540743
},
{
"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": "3fb2f04b-59dc-4dd6-8a03-296d955dc741",
"timestamp": 1780868544895
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "090ec41a-d07b-4cad-9a3e-4ef779c4a16a",
"timestamp": 1780868544897
},
{
"event": "false branch",
"nodeId": "if",
"timestamp": 1780868544897
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "090ec41a-d07b-4cad-9a3e-4ef779c4a16a",
"timestamp": 1780868544897
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "922d2b80-2e98-4ace-991f-a191a4ee71a8",
"timestamp": 1780868544898
},
{
"data": {
"service": "gmail",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780868544898
},
{
"data": {
"url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780868544898
},
{
"data": {
"status": 200
},
"event": "gmail.read",
"nodeId": "integration",
"timestamp": 1780868545092
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "gmail",
"latencyMs": 194,
"operation": "get"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780868545092
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "922d2b80-2e98-4ace-991f-a191a4ee71a8",
"timestamp": 1780868545092
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "85086fde-9fe0-4c63-a49c-9d5e4c627036",
"timestamp": 1780868545093
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780868545093
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "85086fde-9fe0-4c63-a49c-9d5e4c627036",
"timestamp": 1780868545093
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "9b09d5db-1d7b-4b5a-bde8-38c55eb90004",
"timestamp": 1780868545095
},
{
"data": {
"service": "gmail",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780868545095
},
{
"data": {
"url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780868545095
},
{
"data": {
"status": 200
},
"event": "gmail.read",
"nodeId": "integration",
"timestamp": 1780868545218
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "gmail",
"latencyMs": 123,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780868545218
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "9b09d5db-1d7b-4b5a-bde8-38c55eb90004",
"timestamp": 1780868545218
}
]