AI Invoice Line Item Data Extraction

f6943a55-9b3b-456a-a0c3-b7c1553fa953

Latency
3380ms
Cost
$0.0016
Tokens
888
Status
success
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "trigger",
    "timestamp": 1780344006782
  },
  {
    "data": {
      "initialData": {
        "document_text": "INVOICE #INV-2026-04-1183\nFrom: Crestline Supply Co.\nTo: Helix Robotics, Inc.\nDate: 2026-04-22\nDue: 2026-05-22\n\nLine items:\n  1. M3x10 socket head cap screws — qty 500 — $0.18 ea — $90.00\n  2. Linear rail SBR16-1000 (anodized) — qty 4 — $42.50 ea — $170.00\n  3. NEMA 17 stepper motor 1.7A — qty 12 — $14.75 ea — $177.00\n\nSubtotal: $437.00\nShipping: $24.50\nTax (8.25%): $36.05\nTotal: $497.55"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780344006782
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "trigger",
    "timestamp": 1780344006782
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "extractor",
    "timestamp": 1780344006782
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 600
    },
    "event": "calling google/gemini-2.5-flash",
    "nodeId": "llm",
    "timestamp": 1780344006782
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780344006782
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0015776,
      "provider": "google",
      "latencyMs": 3380,
      "promptTokens": 292,
      "completionTokens": 596
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780344010163
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "extractor",
    "timestamp": 1780344010163
  }
]