Skip to navigation

Use templates

Browse the gallery and clone a template into a workflow you can run.

Templates are pre-built pipelines. Clone one into your workspace to get an editable, runnable workflow. Cloning requires the workflows:write scope.

Browse and clone

from onepin import OnepinClient
client = OnepinClient()
for t in client.templates.list(limit=50).data:
print(t.id, t.name, "⭐" if t.is_starter else "")
workflow_id = client.templates.clone(template_id, name="My first workflow").data.id

The clone always uses the template’s published definition. The new workflow is created but not run — start it with Run a workflow.

name is optional: omit it and the new workflow takes the template’s own name. Workflow names aren’t unique within a workspace, so cloning the same template twice succeeds and leaves you with two workflows sharing a name — pass name if you care about telling them apart.