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

1from onepin import OnepinClient
2
3client = OnepinClient()
4
5for t in client.templates.list(limit=50).data:
6 print(t.id, t.name, "" if t.is_starter else "")
7
8workflow_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.