onepin templates
Browse and clone workflow templates. Requires templates:read scope for list/show; workflows:write for run (clone).
Templates are pre-built workflow definitions created by the OnePin team. Clone one into your workspace to create an editable workflow.
list
Synopsis
Flags
Examples
Output (table)
show
Synopsis
Description
Retrieves a single template by UUID. Cross-workspace reads return only the published snapshot — unpublished drafts are not visible.
Examples
Errors
run
Synopsis
Description
Convenience command that performs two calls in sequence:
- Clone —
POST /api/v1/templates/{id}/clonecreates a new workflow in your workspace from the template’s published definition. - Start —
POST /api/v1/workflows/{new_id}/runstriggers a run of the new workflow.
The clone always uses the template’s published definition, not any in-progress draft. This prevents cross-workspace leakage of unpublished content.
Requires workflows:write scope.
Flags
Examples
Output:
JSON output:

