AI Gmail Auto-Responder for Draft Replies

6908a2b1-d69c-489c-8834-ffa01c5f1827

Latency
55954ms
Cost
$0.0022
Tokens
901
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "2a9ff08f-919a-41a8-980b-8c2bca3059e4",
    "timestamp": 1782943411685
  },
  {
    "data": {
      "kind": "n8n-nodes-base.gmailTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782943411685
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "2a9ff08f-919a-41a8-980b-8c2bca3059e4",
    "timestamp": 1782943411685
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "36968dd5-8d51-4184-a05a-587b6c95aa82",
    "timestamp": 1782943411687
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782943411687
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "36968dd5-8d51-4184-a05a-587b6c95aa82",
    "timestamp": 1782943411687
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2a64dce8-e2f0-475e-a366-a02084293aad",
    "timestamp": 1782943411688
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o",
    "nodeId": "llm",
    "timestamp": 1782943411688
  },
  {
    "data": {
      "model": "gpt-4o",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782943411688
  },
  {
    "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": "2a64dce8-e2f0-475e-a366-a02084293aad",
    "timestamp": 1782943436964
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "1a87c416-6b1c-4526-a2b6-20468c95ea0e",
    "timestamp": 1782943436966
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4-turbo",
    "nodeId": "llm",
    "timestamp": 1782943436966
  },
  {
    "data": {
      "model": "gpt-4-turbo",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782943436966
  },
  {
    "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": "1a87c416-6b1c-4526-a2b6-20468c95ea0e",
    "timestamp": 1782943462330
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "86017ff4-9c57-4b2a-9cd9-f62571a05ffd",
    "timestamp": 1782943462333
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782943462333
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782943462333
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0005077,
      "provider": "openai",
      "latencyMs": 1384,
      "promptTokens": 9,
      "completionTokens": 202
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782943463718
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "86017ff4-9c57-4b2a-9cd9-f62571a05ffd",
    "timestamp": 1782943463718
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "3ef14615-0045-404f-a21b-2c65a52f4be8",
    "timestamp": 1782943463721
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1782943463721
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "3ef14615-0045-404f-a21b-2c65a52f4be8",
    "timestamp": 1782943463721
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cab1e7e5-93dc-4850-a471-e285cdbe2058",
    "timestamp": 1782943463724
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782943463724
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782943463724
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0017074000000000002,
      "provider": "openai",
      "latencyMs": 3652,
      "promptTokens": 8,
      "completionTokens": 682
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782943467378
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cab1e7e5-93dc-4850-a471-e285cdbe2058",
    "timestamp": 1782943467378
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "84b4d516-252e-444e-b998-2d4aa0f89653",
    "timestamp": 1782943467388
  },
  {
    "data": {
      "service": "gmail",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782943467388
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782943467639
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "84b4d516-252e-444e-b998-2d4aa0f89653",
    "timestamp": 1782943467639
  }
]