Automated Gmail Labeling Using AI Analysis

81ff1b6c-ea49-42ac-8620-1e690605af06

Latency
9004ms
Cost
$0.0000
Tokens
0
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "8141ffad-df2a-403b-a869-799c036f9733",
    "timestamp": 1780872251706
  },
  {
    "data": {
      "kind": "n8n-nodes-base.gmailTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780872251706
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "8141ffad-df2a-403b-a869-799c036f9733",
    "timestamp": 1780872251706
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "60a9d75e-1564-4b1d-b3f2-acc2e3bf2411",
    "timestamp": 1780872251707
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780872251707
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "60a9d75e-1564-4b1d-b3f2-acc2e3bf2411",
    "timestamp": 1780872251707
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2bdf3fed-8a7f-411a-bad4-266bfea5cede",
    "timestamp": 1780872251709
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4-turbo-preview",
    "nodeId": "llm",
    "timestamp": 1780872251709
  },
  {
    "data": {
      "model": "gpt-4-turbo-preview",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780872251709
  },
  {
    "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": "2bdf3fed-8a7f-411a-bad4-266bfea5cede",
    "timestamp": 1780872256108
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "6d9aa398-e2de-4fd0-b939-2a12d0c9fe14",
    "timestamp": 1780872256109
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872256109
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872256109
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780872256257
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 148,
      "operation": "get"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780872256257
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "6d9aa398-e2de-4fd0-b939-2a12d0c9fe14",
    "timestamp": 1780872256257
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7ebb1aad-00ad-43fa-9e07-e5f324864a74",
    "timestamp": 1780872256258
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780872256258
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780872256258
  },
  {
    "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": "7ebb1aad-00ad-43fa-9e07-e5f324864a74",
    "timestamp": 1780872260377
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "cd86bc09-8c7f-4c85-9cb3-6dbd42420672",
    "timestamp": 1780872260379
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780872260379
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "cd86bc09-8c7f-4c85-9cb3-6dbd42420672",
    "timestamp": 1780872260379
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "329435a6-51d1-416e-9aa9-5fe9a8dce74f",
    "timestamp": 1780872260381
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872260381
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872260381
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780872260582
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 201,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780872260582
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "329435a6-51d1-416e-9aa9-5fe9a8dce74f",
    "timestamp": 1780872260582
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "7ae2dd15-472d-4a4b-b036-f80ebd7e3c28",
    "timestamp": 1780872260585
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1780872260585
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "7ae2dd15-472d-4a4b-b036-f80ebd7e3c28",
    "timestamp": 1780872260585
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "744c7afa-75b1-4b3b-8ccb-e2106c01f387",
    "timestamp": 1780872260586
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1780872260586
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "744c7afa-75b1-4b3b-8ccb-e2106c01f387",
    "timestamp": 1780872260586
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "e47424dc-f43e-41a9-b1e5-ab3e08cbf395",
    "timestamp": 1780872260589
  },
  {
    "data": {
      "count": 2
    },
    "event": "aggregate",
    "nodeId": "passthrough",
    "timestamp": 1780872260589
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "e47424dc-f43e-41a9-b1e5-ab3e08cbf395",
    "timestamp": 1780872260589
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "22ba8297-8efc-463e-8ae0-385fd94a205f",
    "timestamp": 1780872260592
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780872260592
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780872260592
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780872260710
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 118,
      "operation": "addLabels"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780872260710
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "22ba8297-8efc-463e-8ae0-385fd94a205f",
    "timestamp": 1780872260710
  }
]