Create Workflow
Create a new workflow.
The workflow starts unpublished with a default “Document” input block.
start_document block at canvas position (0, 0). Use the Blocks and Edges endpoints to build out the graph, then Publish when you’re ready to run it.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Body for creating a workflow. Supply a name and optional description; the workflow starts empty.
Response
Successful Response
A workflow and its current configuration.
Unique ID for this workflow
The name of the workflow
Description of the workflow
Project that owns this workflow. Null only on legacy rows that predate the project backfill.
Published workflow metadata when a published version exists
Server-derived permissions for the current actor.
workflow:view, workflow:edit, workflow:run, workflow:delete, workflow:publish, workflow:review, workflow:manage Provisioning state of this workflow's WorkOS authorization resource.
provisioning, ready, failed, deleting, deleted