v1
latestOpenAPI 3.0.02026-07-2664192238.8 KBAutomations
Replace automation workflow blocks
Replace the full block tree for an automation workflow.
Blocks identified by id are updated in place. Blocks identified by temporaryID are created as new blocks. Existing blocks not included in this array are removed.
Enabled automations cannot be restructured. Disable the automation via POST /automations/{id}/disable, send the new block tree, then re-enable via POST /automations/{id}/enable when ready. When disabling, contactsInWorkflow controls whether contacts already in the workflow continue through the remaining blocks (keep) or exit immediately (exit).
Scopes: automations.write
put/automations/{id}/blocks
Path parameters
idstring required
Automation workflow ID (24 character hexadecimal)
Headers
Omnisend-Versionstring required
API version that specifies the response format and behaviour
Request body
Response
Updated automation workflow