Automations
Update Automation
Updates a workflow automation. Only draft and paused workflows can be edited. Pass active: true to activate after the update.
PATCH
Updates a workflow automation. Only
draft and paused workflows can be edited — active workflows must be paused first. Pass active: true to re-activate as part of the update.Authorizations
Project API key header of the form Bearer
AS_<key>.Path Parameters
Workflow automation ID.
Body
All fields are optional. See Create Automation for the full shape of each field.New workflow name. Maximum length
255.Maximum length
1000.Replacement entry criteria.
Replacement exit criteria.
Replacement step list. Fully replaces the existing steps. Every
email step must be preceded by a wait step (use a delay of 0 to send immediately), including email steps inside a branch.Replacement tag list.
Suppression group applied to all email steps.
When
true, the workflow is validated and activated after the update. When false, the workflow is left in (or moved to) draft state.Response
Workflow automation updated successfullyExample:
trueThe updated workflow automation.
Error Responses
Returned when the workflow is
active or archived — pause it first.