AI Gmail Auto-Responder for Draft Replies

b7db64db-43b9-4feb-984b-4d543c6f1876

Latency
53857ms
Cost
$0.0014
Tokens
658
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "2a9ff08f-919a-41a8-980b-8c2bca3059e4",
    "timestamp": 1783207301752
  },
  {
    "data": {
      "kind": "n8n-nodes-base.gmailTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783207301752
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "2a9ff08f-919a-41a8-980b-8c2bca3059e4",
    "timestamp": 1783207301752
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "36968dd5-8d51-4184-a05a-587b6c95aa82",
    "timestamp": 1783207301753
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783207301753
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "36968dd5-8d51-4184-a05a-587b6c95aa82",
    "timestamp": 1783207301753
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2a64dce8-e2f0-475e-a366-a02084293aad",
    "timestamp": 1783207301755
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o",
    "nodeId": "llm",
    "timestamp": 1783207301755
  },
  {
    "data": {
      "model": "gpt-4o",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207301755
  },
  {
    "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": 1783207327132
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "1a87c416-6b1c-4526-a2b6-20468c95ea0e",
    "timestamp": 1783207327138
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4-turbo",
    "nodeId": "llm",
    "timestamp": 1783207327138
  },
  {
    "data": {
      "model": "gpt-4-turbo",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207327138
  },
  {
    "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": 1783207352396
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "86017ff4-9c57-4b2a-9cd9-f62571a05ffd",
    "timestamp": 1783207352399
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783207352399
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207352399
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0008752,
      "provider": "openai",
      "latencyMs": 2067,
      "promptTokens": 9,
      "completionTokens": 349
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783207354467
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "86017ff4-9c57-4b2a-9cd9-f62571a05ffd",
    "timestamp": 1783207354467
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "3ef14615-0045-404f-a21b-2c65a52f4be8",
    "timestamp": 1783207354472
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783207354472
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "3ef14615-0045-404f-a21b-2c65a52f4be8",
    "timestamp": 1783207354472
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cab1e7e5-93dc-4850-a471-e285cdbe2058",
    "timestamp": 1783207354476
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783207354476
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207354476
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0005277999999999999,
      "provider": "openai",
      "latencyMs": 1127,
      "promptTokens": 101,
      "completionTokens": 199
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783207355604
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cab1e7e5-93dc-4850-a471-e285cdbe2058",
    "timestamp": 1783207355604
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "84b4d516-252e-444e-b998-2d4aa0f89653",
    "timestamp": 1783207355609
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "gmail",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207355609
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "84b4d516-252e-444e-b998-2d4aa0f89653",
    "timestamp": 1783207355609
  }
]