Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

dispatchAutomationAction():DispatchAutomationAction
Beta

Dispatch an automation action event for a workflow step. Requires basic:write scope to be accessible. The action's outcome is reported through the workflow lifecycle events; status tells whether that already happened (PROCESSED) or follows once the queued action has been applied (QUEUED).

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of DispatchAutomationActionInput
executionId: String!
Beta

Automation execution id.

automationId: Int!
Beta

Automation id.

actionId: String!
Beta

Automation action id.

nodeName: String!
Beta

Automation workflow node name.

action: JsonObject!
Beta

Resolved automation action payload.

Fields of DispatchAutomationAction

PROCESSED when the action's lifecycle event is already published, QUEUED when it follows once the queued action has been applied.