Workflows
Create Workflow
Create a new workflow.
The workflow starts unpublished with a default “Document” input block.
POST
Create a new workflow. The workflow is created unpublished, with a default
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
Body
application/json
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 means the organization's shared workflows project.
Published workflow metadata when a published version exists
Server-derived permissions for the current actor.
Available options:
workflow:view, workflow:edit, workflow:run, workflow:delete, workflow:publish, workflow:review, workflow:manage Provisioning state of this workflow's WorkOS authorization resource.
Available options:
provisioning, ready, failed, deleting, deleted