Update automation
Change an automation’s name, inputs, schedule or timezone. Send only what changes, with the version you last
read: if the automation has changed since, the answer is 409 stale_version with the current automation, so
read it again and retry. Its coming runs are worked out again from a new schedule or timezone.
Giving a draft a schedule turns it on. For an imported workflow, workflow with the preview_hash from
Preview workflow change replaces its steps.
Needs the automations:write scope.
Authorizations
A bearer token from Login, sent as Authorization: Bearer <token>. Valid for 60 minutes; it acts as the person named at login, within their organisation, and never approves. Rotating or disabling the organisation's API credential ends every token made with it on its next call. See Authentication.
Path Parameters
The automation's id. A public id (a ULID).
^[0-9A-HJKMNP-TV-Z]{26}$Body
The version you last read.
x >= 11 - 120The timezone its schedule runs in (IANA name); its coming runs are worked out again.
1 - 64A workflow automation's whole map of bound steps; a step left out is unbound. Each binding must be one of your organisation's connections, of the step's kind.
The whole list of connections an automation of a template that runs on nothing reads, by id, checked as on set-up; refused for any other.
1 - 20 elementsx >= 1A workflow automation's sending, as Automation.send_mode. send is refused unless Automation.send_mode_allowed.
ask, send A whole rewrite of a workflow automation's steps, saved as its next version. Sent with version and preview_hash only.
The preview_hash from Preview workflow change. The change is saved only when it matches (preview_mismatch otherwise).
^[0-9a-f]{64}$