Skip to main content
Required scopes: automations_write

Arguments

The whole new definition; what it leaves out is removed.
String!
required
The Automation.revision the change was made against, so a concurrent edit isn’t overwritten.
ID!
required
The automation’s id.

Returns

An automation built in Developer › Automations: a trigger and the steps it runs. For email and SMS flows, use MarketingAutomation. Agents create and edit one as script in a workspace (workspaceCreate; read guide/ in automationCatalog first). Apps send typed definitions to automationCreate and automationDraftUpdate.

Example