← API reference
Mutation / workflows · scripting

createTemplate

Create a new template. Requires template:write permission.

Arguments

Template data

Returns UpsertTemplatePayload!

Explore in a view

ScriptingWorkflow Authoring
View exact SDL
"""Create a new template. Requires template:write permission."""
createTemplate(
  """Template data"""
  input: CreateTemplateInput!
): UpsertTemplatePayload! @topic(names: ["workflows", "scripting"])

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