Real-Time Event Streams are in private beta. Contact your Mixpanel account team to enable the feature for your project.
Prerequisites
- Your project is enrolled in the Real-Time Event Streams private beta.
- You have Project Admin permissions.
- You have an HTTPS endpoint that can accept POST requests and return a 2xx response.
Create a Sync
1
Open Real-Time Event Streams
2
Add a Destination
Create a new webhook Destination with the endpoint URL and authentication method. See Webhook authentication.
3
Select events to stream
Choose one or more event types. See Event-type filtering.
4
Add property conditions (optional)
Narrow the stream further using property-level filters.
5
Write the payload template
Define the outbound request body using Liquid template syntax.
6
Save and enable
Mixpanel validates the template on save. Once enabled, matching events begin streaming within seconds.
Event-type filtering
Users select one or more event types to stream. Only matching events are forwarded; all others are discarded before entering the streaming pipeline. Filtering happens before delivery, so unmatched events do not consume retry budget or queue capacity.- You must explicitly select at least one event type. There is no “All events” option.
- You can update the selected event types at any time without recreating the Sync.
Property-level filters
Add one or more property conditions that must all be true for an event to stream. Conditions are combined with logical AND. Example: StreamPurchase Completed events only when plan = "premium" AND country = "US".
- Filters apply to event properties.
- All conditions must evaluate to true for the event to be forwarded.
- Events that fail filter evaluation are discarded and never counted against retry or delivery metrics.
Webhook authentication
Configure how Mixpanel authenticates outbound requests. The current authentication method is always visible on the Destination card.- API key header
- Bearer token
- No auth
Set a custom header name and value. Mixpanel adds this header to every outbound request.
Liquid payload template
The full outbound request body is customer-controlled via a Liquid template. This is the primary mechanism for shaping payloads, naming fields, and including identity information. There is no separate field-mapping UI.Available template variables
User properties are not available in the payload template during the private beta. Only event properties and the top-level variables above are supported. If you need user attributes on the destination side, include them as event properties at tracking time or enrich after delivery.
Example template
Payload template
Validation
Template syntax is validated on save. Invalid syntax surfaces a clear error and blocks the Sync from enabling, so you cannot ship a broken template into production.Editing a live Sync
Next steps
Delivery and reliability
Retries, failed events log, and at-least-once delivery.
States and monitoring
Destination and Sync states, plus how to monitor health.