Event Streaming
Stream toggle and system state updates in real-time. Broadcast events to external platforms (Slack, Datadog, Webhooks) or trigger automated workflows.
ToggleAI's Real-Time Event Streaming & Integration Bus is a messaging layer that captures and broadcasts system events. Whenever a flag targets new cohorts, a rollout advances, or drift is identified, the event bus distributes formatted payloads to your downstream tools, keeping your teams and telemetry synced.
Connect the event streaming bus to popular platforms. The integration bus supports:
- Webhooks: Deliver structured JSON payloads to custom HTTP endpoints.
- Slack: Send formatted alert cards to specified channels on stage progressions or manual overrides.
- Datadog & PagerDuty: Log flag states alongside application error metrics and trigger operational alerts on critical rollbacks.
- SSE (Server-Sent Events): Open local low-latency streams to display real-time event updates in dashboards.
Webhook payloads are signed and delivered in the following JSON format:
{
"eventId": "evt_ulid_789456123",
"eventType": "flag.rollout_changed",
"projectId": "proj_prod_billing",
"timestamp": "2026-07-19T08:30:00.000Z",
"data": {
"flagKey": "new-billing-dashboard",
"environment": "production",
"previousPercentage": 25,
"currentPercentage": 50,
"actor": {
"id": "usr_9988",
"email": "alex@toggleai.com"
}
}
}Trigger automated workflows inside ToggleAI based on streaming events. For example, configure rules that automatically archive flags when a cleanup scan detects 0 references, or trigger a Slack ping when an experiment concludes with a declared winner.