Production AI Playbook: Deterministic Steps & AI Steps (4 of 5)

38492a41-cdce-4427-b193-e90430e0eff1

Latency
76329ms
Cost
$0.0001
Tokens
79
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "3f180ecc-96b8-420a-b1d2-3f9f3a18315b",
    "timestamp": 1783213831313
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783213831313
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "3f180ecc-96b8-420a-b1d2-3f9f3a18315b",
    "timestamp": 1783213831313
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c68c1928-2202-410a-88b2-8b6d03a26332",
    "timestamp": 1783213831314
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213831314
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213831314
  },
  {
    "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": "c68c1928-2202-410a-88b2-8b6d03a26332",
    "timestamp": 1783213856643
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7786e44c-dd3d-467f-b637-b42aee651203",
    "timestamp": 1783213856644
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213856644
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213856644
  },
  {
    "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": "7786e44c-dd3d-467f-b637-b42aee651203",
    "timestamp": 1783213881907
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "91e488cf-65e6-4196-a1f4-e556825e9944",
    "timestamp": 1783213881911
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213881911
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213881911
  },
  {
    "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": "91e488cf-65e6-4196-a1f4-e556825e9944",
    "timestamp": 1783213907147
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "e65aee97-5b9e-41f5-97a6-9ac6c77ba038",
    "timestamp": 1783213907147
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "e65aee97-5b9e-41f5-97a6-9ac6c77ba038",
    "timestamp": 1783213907148
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "31489997-5f6a-4a5b-af70-a1e579e7037e",
    "timestamp": 1783213907149
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "guardrails",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783213907149
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "31489997-5f6a-4a5b-af70-a1e579e7037e",
    "timestamp": 1783213907149
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c1f2c53f-1f05-4d14-9289-e9512ca5a29d",
    "timestamp": 1783213907150
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213907150
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213907150
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0000633,
      "provider": "openai",
      "latencyMs": 487,
      "promptTokens": 61,
      "completionTokens": 18
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783213907638
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c1f2c53f-1f05-4d14-9289-e9512ca5a29d",
    "timestamp": 1783213907638
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "68d7bea8-52c8-4989-a3ca-493be57fd99a",
    "timestamp": 1783213907639
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783213907639
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "68d7bea8-52c8-4989-a3ca-493be57fd99a",
    "timestamp": 1783213907639
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "267cdddd-2e23-46aa-820b-8bd2dbda1f9a",
    "timestamp": 1783213907640
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "guardrails",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783213907640
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "267cdddd-2e23-46aa-820b-8bd2dbda1f9a",
    "timestamp": 1783213907640
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "54d0c810-619e-419e-9209-5ff693293f32",
    "timestamp": 1783213907641
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783213907641
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "54d0c810-619e-419e-9209-5ff693293f32",
    "timestamp": 1783213907641
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "bbe97fb1-f4c6-4e6d-b1ed-7615f8dd1562",
    "timestamp": 1783213907642
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783213907642
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "bbe97fb1-f4c6-4e6d-b1ed-7615f8dd1562",
    "timestamp": 1783213907642
  }
]