Human-in-the-Loop AI Email Responder

ce661833-1a8f-4cc1-8bd5-aaf3b026eef7

Latency
84785ms
Cost
$0.0002
Tokens
125
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "271bb16f-9b62-41d9-ab76-114cd7ba915a",
    "timestamp": 1783365671389
  },
  {
    "data": {
      "kind": "n8n-nodes-base.emailReadImap"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783365671389
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "271bb16f-9b62-41d9-ab76-114cd7ba915a",
    "timestamp": 1783365671389
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "5d5a397f-f9c3-4691-afd0-9a6102679eac",
    "timestamp": 1783365671390
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783365671390
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783365671390
  },
  {
    "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": "5d5a397f-f9c3-4691-afd0-9a6102679eac",
    "timestamp": 1783365696936
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "d6c8acd2-ebc1-4aaa-bfcc-cdb18fcc8715",
    "timestamp": 1783365696937
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/deepseek-chat",
    "nodeId": "llm",
    "timestamp": 1783365696937
  },
  {
    "data": {
      "model": "deepseek-chat",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783365696937
  },
  {
    "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": "d6c8acd2-ebc1-4aaa-bfcc-cdb18fcc8715",
    "timestamp": 1783365729113
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "42d150d8-d574-49f9-9c0e-71a2cdea3b79",
    "timestamp": 1783365729115
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365729115
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "42d150d8-d574-49f9-9c0e-71a2cdea3b79",
    "timestamp": 1783365729115
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ab9f6ac3-2095-44df-aeba-2eab96ecf425",
    "timestamp": 1783365729116
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783365729116
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783365729116
  },
  {
    "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": "ab9f6ac3-2095-44df-aeba-2eab96ecf425",
    "timestamp": 1783365754464
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "86b7c3d0-e1f2-4e2f-b293-8042700d6816",
    "timestamp": 1783365754466
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783365754466
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783365754466
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.00017830000000000002,
      "provider": "openai",
      "latencyMs": 700,
      "promptTokens": 61,
      "completionTokens": 64
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783365755166
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "86b7c3d0-e1f2-4e2f-b293-8042700d6816",
    "timestamp": 1783365755166
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "33bbedeb-129a-4e99-ab5a-9e0ec4456156",
    "timestamp": 1783365755167
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783365755167
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "33bbedeb-129a-4e99-ab5a-9e0ec4456156",
    "timestamp": 1783365755167
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "4cfce63c-5931-45c5-99ca-eb85dca962b5",
    "timestamp": 1783365755169
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "smtp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "sendAndWait",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365755670
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "4cfce63c-5931-45c5-99ca-eb85dca962b5",
    "timestamp": 1783365755670
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "c4c9157d-4d05-47a1-a5eb-63865e838d39",
    "timestamp": 1783365755672
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783365755672
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "c4c9157d-4d05-47a1-a5eb-63865e838d39",
    "timestamp": 1783365755672
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e9498a60-0078-4581-b269-7ff552f4047a",
    "timestamp": 1783365755673
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "smtp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365756174
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e9498a60-0078-4581-b269-7ff552f4047a",
    "timestamp": 1783365756174
  }
]