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

c91aceeb-b096-4887-b2f6-ff8de08a722e

Latency
2816ms
Cost
$0.0007
Tokens
132
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "3f180ecc-96b8-420a-b1d2-3f9f3a18315b",
    "timestamp": 1783213827809
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783213827809
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "3f180ecc-96b8-420a-b1d2-3f9f3a18315b",
    "timestamp": 1783213827809
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c68c1928-2202-410a-88b2-8b6d03a26332",
    "timestamp": 1783213827809
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213827809
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213827809
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 728,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783213828540
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c68c1928-2202-410a-88b2-8b6d03a26332",
    "timestamp": 1783213828540
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7786e44c-dd3d-467f-b637-b42aee651203",
    "timestamp": 1783213828541
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213828541
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213828541
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 554,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783213829095
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7786e44c-dd3d-467f-b637-b42aee651203",
    "timestamp": 1783213829095
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "91e488cf-65e6-4196-a1f4-e556825e9944",
    "timestamp": 1783213829097
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213829097
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213829097
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 566,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783213829666
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "91e488cf-65e6-4196-a1f4-e556825e9944",
    "timestamp": 1783213829666
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "e65aee97-5b9e-41f5-97a6-9ac6c77ba038",
    "timestamp": 1783213829666
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "e65aee97-5b9e-41f5-97a6-9ac6c77ba038",
    "timestamp": 1783213829668
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "31489997-5f6a-4a5b-af70-a1e579e7037e",
    "timestamp": 1783213829669
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "guardrails",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783213829669
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "31489997-5f6a-4a5b-af70-a1e579e7037e",
    "timestamp": 1783213829669
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c1f2c53f-1f05-4d14-9289-e9512ca5a29d",
    "timestamp": 1783213829670
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783213829670
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783213829670
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0003525,
      "provider": "openai",
      "latencyMs": 949,
      "promptTokens": 65,
      "completionTokens": 19
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783213830620
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c1f2c53f-1f05-4d14-9289-e9512ca5a29d",
    "timestamp": 1783213830620
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "68d7bea8-52c8-4989-a3ca-493be57fd99a",
    "timestamp": 1783213830621
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783213830621
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "68d7bea8-52c8-4989-a3ca-493be57fd99a",
    "timestamp": 1783213830621
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "267cdddd-2e23-46aa-820b-8bd2dbda1f9a",
    "timestamp": 1783213830623
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "guardrails",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783213830623
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "267cdddd-2e23-46aa-820b-8bd2dbda1f9a",
    "timestamp": 1783213830623
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "54d0c810-619e-419e-9209-5ff693293f32",
    "timestamp": 1783213830624
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783213830624
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "54d0c810-619e-419e-9209-5ff693293f32",
    "timestamp": 1783213830624
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "bbe97fb1-f4c6-4e6d-b1ed-7615f8dd1562",
    "timestamp": 1783213830625
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783213830625
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "bbe97fb1-f4c6-4e6d-b1ed-7615f8dd1562",
    "timestamp": 1783213830625
  }
]