Skip to main content

Get one workflow template with its steps.

GET/api/v1/workflow-templates/{workflow_template_id}workflows:read

The current version's steps (node_id is the stable node ID) and settings. The builder canvas is added with include=canvas. Credentials are replaced by a redaction marker unless the caller has View Workflow Node Secrets: the Password, Token, TokenSecret and auth_request_config inputs, the value of every header in a Headers input (the names stay), and the same keys in the canvas. Editing credentials requires Edit Workflow Node Secrets. Send the marker back in a credential input (or a canvas credential key) to keep the credential the step stores when you save the template again with create_workflow_template or compile_workflow_template.

Scopeworkflows:read
AsynchronousNo
MCP toolget_workflow_template
Portal permissionsview_workflow_templates, view_workflow_node_configs, view_workflow_template_io

Parameters​

NameInTypeRequiredDescription
workflow_template_idpathstringRequired
includequerystring or nullOptionalcanvas adds the builder canvas to the answer.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json WorkflowTemplateDetail
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

WorkflowTemplateDetail​

FieldTypeRequiredDescription
canvasobject or nullRequiredThe builder canvas (format workflow_canvas, version 1); null unless include=canvas.
current_workflow_template_version_idstringRequired
entity_sub_typestringRequired
entity_typestringRequired
is_activebooleanRequired
namestringRequired
project_idstring or nullRequired
redacted_countintegerRequiredCredential values replaced by the redaction marker in the steps and the canvas. Reading credentials requires View Workflow Node Secrets; changing them requires Edit Workflow Node Secrets. Sent back as the marker in a save, a hidden credential keeps the credential the step stores. ≥ -2147483648; ≤ 2147483647
settingsWorkflowTemplateSettingsRequiredThe template's settings, as its Start step holds them.
stepsarray of WorkflowTemplateStepRequired
workflow_template_group_idstring or nullRequired
workflow_template_idstringRequired
workflow_template_version_idstringRequiredThe version the steps, settings and canvas belong to: the current version for get_workflow_template, any version for get_workflow_template_version.

WorkflowTemplateSettings​

FieldTypeRequiredDescription
late_action_request_emailsbooleanRequired
late_action_request_send_frequency_secondsintegerRequired≥ -2147483648; ≤ 2147483647
main_item_requires_actionsbooleanRequired
notify_owner_about_action_responsebooleanRequired
notify_owner_about_completionbooleanRequired
notify_owner_about_late_action_requestsbooleanRequired

WorkflowTemplateStep​

FieldTypeRequiredDescription
inputsarray of WorkflowTemplateStepSettingRequired
labelstring or nullRequired
node_idstringRequired
node_typestringRequiredThe step type, as list_node_types names it (for example StartNode).
original_node_idstring or nullRequiredA source step in the visible parent lineage whose unchanged credentials may be retained, independent of step identity.
outputsarray of WorkflowTemplateStepOutputRequired
previous_node_idstring or nullRequiredThe step's node_id in the version it was copied from, so it keeps its identity; null for a new step.

WorkflowTemplateStepOutput​

FieldTypeRequiredDescription
response_node_idstring or nullRequired
typestringRequired
valuestring or nullRequired

WorkflowTemplateStepSetting​

FieldTypeRequiredDescription
redactedbooleanRequiredtrue when the value is a redacted credential the read replaced. Send it back as the marker to keep the credential the step it continues stores (previous_node_id); a marker on a step with no stored credential is refused.
typestringRequired
valuestring or nullRequired