AI Lead Email Generator and Google Sheets Logger

7c94db28-9a09-4946-87d7-eb986ee9b3ba

Latency
5634ms
Cost
$0.0016
Tokens
657
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "trigger-webhook",
    "timestamp": 1780860976741
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780860976741
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "trigger-webhook",
    "timestamp": 1780860976741
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "parse-input",
    "timestamp": 1780860976741
  },
  {
    "event": "execution error (simulated): Please provide leads with at least: name, email, title, company. Format: { \"leads\": [{ \"name\": \"...\", \"email\": \"...\", \"title\": \"...\", \"company\": \"...\" }] }",
    "nodeId": "code",
    "timestamp": 1780860976744
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780860976744
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "parse-input",
    "timestamp": 1780860976745
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ai-write-email",
    "timestamp": 1780860976747
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 800
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780860976747
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780860976747
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0016403,
      "provider": "openai",
      "latencyMs": 5337,
      "promptTokens": 1,
      "completionTokens": 656
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780860982085
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "ai-write-email",
    "timestamp": 1780860982085
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "merge-results",
    "timestamp": 1780860982085
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "merge-results",
    "timestamp": 1780860982091
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "save-sheets",
    "timestamp": 1780860982093
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780860982093
  },
  {
    "data": {
      "url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/Sink:append?valueInputOption=RAW",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780860982093
  },
  {
    "data": {
      "tab": "Sink",
      "status": 200
    },
    "event": "sheets.write",
    "nodeId": "integration",
    "timestamp": 1780860982371
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 278,
      "operation": "append"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780860982371
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "save-sheets",
    "timestamp": 1780860982371
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "respond-success",
    "timestamp": 1780860982375
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780860982375
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "respond-success",
    "timestamp": 1780860982375
  }
]