Skip to navigation

List automation trigger and step types

View as Markdown

Returns the trigger types and step types your account can use in an automation workflow, each with a short description.

Only the types listed are accepted by POST /automation/workflows: a type that is missing is not available for your account (plan or setup). The API supports these triggers: added_to_lists, removed_from_lists, order_created, cart_updated, custom_event, contact_match_one_segment, anniversary, page_visited and manual_trigger; and these steps: send_email, time_delay, add_to_list, remove_from_list, update_contact_attribute, call_webhook, send_sms, delete_contact, blocklist_contact, start_another_workflow, go_to_step and percentage_split. Steps run one after the other; a percentage_split divides contacts between paths and a go_to_step jumps back to an earlier step. Conditions and other splits (if/else, wait until an event) can only be set in the Brevo automation editor.

A step can list unavailable_fields: fields not enabled for your account, refused when sent (for example auth and headers of call_webhook when webhook authentication is not enabled). order_created and cart_updated need eCommerce enabled for the account: until it is, they are returned in unavailable_triggers with a message saying what to set up in Brevo.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

OR
AuthorizationBearer

OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.

Response

Types available to this account
triggerslist of objectsOptional
Trigger types this account can use
unavailable_triggerslist of objectsOptional

Triggers this account cannot use yet, with what they need. Always present (empty when none).

stepslist of objectsOptional
Step types this account can use

Errors

401
Unauthorized Error
403
Forbidden Error
503
Service Unavailable Error