Trigger an automation with a custom payload. The payload is validated against the automation’s configured schema before execution.
Permission required: automations or all
Prerequisites:
Payload validation: The request payload is validated against the automation’s payload schema. Required fields must be present and all fields must match their expected types.
Use Authorization: Bearer brew_xxxxx header
The automation ID (from Brew dashboard)
The event payload. Must conform to the automation's configured schema.
Important: The email field is ALWAYS required at the root level.
Brew uses this email to automatically look up or create a contact.
Keep payloads flat and minimal - avoid nested objects when possible. Typical fields: email, firstName, orderId, etc.
Optional metadata to attach to the execution. This data is not validated against the schema and is stored for reference only.
Automation triggered successfully
true, false Unique identifier for this automation execution
The automation that was triggered
The event ID configured for this automation
Initial status of the execution
running Contact upsert result - contacts are automatically created or updated based on the email in the payload