← API reference
Mutation / scripting

createCustomWorkflowAction

Create a new custom action. Requires customWorkflowAction:write permission.

Arguments

Definition of the custom action to create.

Returns UpsertCustomWorkflowActionPayload!

Explore in a view

Scripting
View exact SDL
"""
Create a new custom action. Requires customWorkflowAction:write permission.
"""
createCustomWorkflowAction(
  """Definition of the custom action to create."""
  input: CreateCustomWorkflowActionInput!
): UpsertCustomWorkflowActionPayload! @topic(names: ["scripting"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.