← API reference
Mutation / workflows

importWorkflow

Import a workflow from YAML or JSON, creating a new version. Requires workflow:write permission.

Arguments

Import parameters

Returns ImportWorkflowPayload!

Explore in a view

Workflow Authoring
View exact SDL
"""
Import a workflow from YAML or JSON, creating a new version. Requires workflow:write permission.
"""
importWorkflow(
  """Import parameters"""
  input: ImportWorkflowInput!
): ImportWorkflowPayload! @topic(names: ["workflows"])

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