Build event-driven workflows with triggers, conditions, delays, and multi-step sequences. Automate customer journeys, onboarding sequences, and re-engagement campaigns at scale.
Start workflows based on user events: sign up, purchase, event registration, abandoned cart, inactivity, and custom webhook events.
Branch workflows based on user attributes, behavior, engagement history, or custom data. Support for AND/OR/NOT logic.
Add time delays between workflow steps. Fixed delays (1 hour, 3 days) or dynamic delays based on user timezone and behavior.
Send messages, update user attributes, add to segments, create tasks, trigger webhooks, or execute custom code.
Chain multiple actions into complex sequences. Support for parallel branches, loops, and exit conditions.
Pause, resume, or stop workflows in progress. View execution logs and debug failed steps. A/B test workflow variants.
/workflowsCreate a new workflow with triggers and actions
/workflowsList all workflows with status filters
/workflows/:idGet workflow details and configuration
/workflows/:id/activateActivate a workflow to start processing triggers
/workflows/:id/pausePause a running workflow
/workflows/:id/executionsList workflow execution history with logs
/workflows/:id/statsGet workflow performance metrics
/workflows/:idDelete a workflow (cannot be undone)
POST https://api.eventzr.com/amplify/v1/workflows
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
{
"name": "New User Welcome Sequence",
"trigger": {
"type": "user_signup",
"filters": { "subscription_tier": "free" }
},
"steps": [
{
"type": "send_message",
"channel": "email",
"template_id": "tpl_welcome",
"delay": 0
},
{
"type": "delay",
"duration": "1_day"
},
{
"type": "condition",
"field": "events_created",
"operator": "eq",
"value": 0,
"if_true": {
"type": "send_message",
"channel": "email",
"template_id": "tpl_create_first_event"
}
},
{
"type": "delay",
"duration": "3_days"
},
{
"type": "send_message",
"channel": "push",
"template_id": "tpl_feature_tips"
}
]
}