Dynamic HTML Page Generation with OpenAI

49698455-4f5f-49a7-a670-784aec485319

Latency
5755ms
Cost
$0.0022
Tokens
878
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "06380781-5189-4d99-9ecd-d8913ce40fd5",
    "timestamp": 1780781574305
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780781574305
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "06380781-5189-4d99-9ecd-d8913ce40fd5",
    "timestamp": 1780781574305
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "5ca8ad3e-7702-4f07-af24-d38e94fdc4ec",
    "timestamp": 1780781574306
  },
  {
    "event": "fetching POST https://api.openai.com/v1/chat/completions",
    "nodeId": "http",
    "timestamp": 1780781574306
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/chat/completions",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780781574306
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "5ca8ad3e-7702-4f07-af24-d38e94fdc4ec",
    "timestamp": 1780781574567
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "24e5ca73-a3b3-4096-8c66-d84838d89b0c",
    "timestamp": 1780781574569
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780781574569
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780781574569
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0021928000000000004,
      "provider": "openai",
      "latencyMs": 5486,
      "promptTokens": 1,
      "completionTokens": 877
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780781580057
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "24e5ca73-a3b3-4096-8c66-d84838d89b0c",
    "timestamp": 1780781580057
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c50bdc84-ba59-4f30-acf7-496cee25068d",
    "timestamp": 1780781580059
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780781580059
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c50bdc84-ba59-4f30-acf7-496cee25068d",
    "timestamp": 1780781580059
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b1d9659f-4cd0-4f87-844d-32b2af1dcf13",
    "timestamp": 1780781580060
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780781580060
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b1d9659f-4cd0-4f87-844d-32b2af1dcf13",
    "timestamp": 1780781580060
  }
]