Events
Track custom events to trigger automations
Overview
Track custom events to trigger automations. This is useful for triggering workflows based on user actions in your application.
POST
/api/v1/eventsTrack a custom event for a subscriber
Example Request
{
"email": "[email protected]",
"event": "purchase_completed",
"properties": {
"product_id": "prod_123",
"amount": 99.99,
"currency": "USD"
}
}This event can then be used as a trigger for automation workflows configured in the Resletter dashboard.
Common Use Cases
- purchase_completed - Send a thank you email or upsell campaign
- trial_started - Begin an onboarding email sequence
- feature_used - Send tips or advanced usage guides
- subscription_canceled - Trigger a win-back campaign
- milestone_reached - Celebrate user achievements