Create a workflow
create_workflowCreate and save a new authenticated user-owned workflow, including its definition and visibility, to provision workflows programmatically or store a newly built setup.
Instructions
Create a new workflow owned by the authenticated user.
Authentication: Required.
Common Use Cases:
Save a newly built workflow
Programmatically provision workflows
Note: Workflow names must be unique within your namespace. Creating a workflow with a name you already use returns a 400 validation error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Unique workflow name/slug within the user's namespace | |
| title | No | Human-readable workflow title | |
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| confirm | No | Must be true for the requested mutation, paid work or private output file. | |
| payload | No | Complete native JSON body, mutually exclusive with flat body flags and payload_file. Use schema for union bodies. | |
| contents | No | The workflow definition/configuration object | |
| is_public | No | Whether the workflow is publicly visible | |
| payload_file | No | Absolute regular non-symlink private JSON file, at most 1 MiB. Cannot mix with other body inputs. |