SDK & Integration · 4 min · Updated 2026-06-14

n8n & webhook integrations

Connect Tokeven alerts to Slack, Teams, email, and more

Available triggers

Set up webhooks for these events:

  • Cost threshold breached — fires when daily/weekly spend exceeds a limit
  • Weekly digest ready — fires every Monday with the week's analysis
  • Savings opportunity found — fires when a new optimization is detected

Webhook payload

{
  "event": "threshold_breach",
  "org_id": "org_...",
  "data": {
    "period": "daily",
    "threshold": 100,
    "actual": 142.50,
    "top_model": "claude-opus-4-8"
  },
  "occurred_at": "2026-06-14T10:30:00Z"
}

n8n nodes (coming v0.5)

Pre-built n8n nodes for:

  • Tokeven trigger node (listens for events)
  • Tokeven action node (fetch analytics data)

Wire these into your existing Slack, Teams, or email workflows.

Track your real costs

Calculators estimate. The dashboard shows what you actually spend and where you can save.