← API reference
Mutation / workflows

createWorkflow

Create a new workflow. Requires workflow:write permission.

Arguments

Workflow data

Returns WorkflowPayload!

Explore in a view

Workflow Authoring
View exact SDL
"""Create a new workflow. Requires workflow:write permission."""
createWorkflow(
  """Workflow data"""
  input: CreateWorkflowInput!
): WorkflowPayload! @topic(names: ["workflows"])

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