Skip to main content
Anchor to automationWorkflowActivate

automationWorkflowActivate

mutation

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

Activates a specific automation version. Activating the currently active version succeeds without making changes, even when a newer draft exists.

•ID!
required

The ID of the automation to activate.

•String!
required

The version to activate. Must be the latest draft or the most recently published version. Activating the published version keeps any newer draft.


Was this section helpful?

Anchor to AutomationWorkflowActivatePayload returnsAutomationWorkflowActivatePayload returns

•AutomationWorkflow

The automation after activation. Returns null if an error is raised.

Show fields
•[AutomationWorkflowUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?