Trigger Workflow (single or bulk)
API to trigger multi-step workflow to one or more users/objects by passing workflow slug, via POST /trigger/.
Send a single JSON object to trigger one workflow, or an array of objects to trigger multiple workflows in one call.
POST /trigger/), just pass array of entire workflow object in the body.Authorizations
Body
- Single workflow trigger · object
- Bulk workflow trigger · object[]
Send a single workflow trigger object as the request body.
List of recipients to be notified. You can either add recipient as array of distinct_ids or array of recipient objects. You can add up to 100 recipients in a single API.
You can pass user properties and channels inline in workflow trigger request. Properties and channels passed here also update in user profile on workflow trigger.
- Identify user inline
- Notify object
Tenant context for this trigger. Applies the tenant's branding, admin preferences, and vendor routing, and — for users with a per-tenant profile — resolves recipients against the merged (global + per-tenant) profile.
Lookup key stored on the running execution so a Cancel Workflow node can later stop this run by matching on it. Pass a literal string (max 512 characters; longer values are truncated). When both this field and the target workflow's Trigger-node Cancellation Key JSONNET expression are present, this payload value wins.
512"booking-123"
Response
202 - Accepted (returned for single workflow trigger requests).
All workflow requests will be accepted as long as the API request is correct. To verify if the execution was successful, check the 'Requests' tab under the 'Logs' section on the SuprSend dashboard.