Flows · Authoring · Create an empty draft workflow
Creates a workflow with no steps in it. Returns {id, slug, status, …} with
status of DRAFT.
A draft cannot be run: it has no step graph and has never been published.
A slug is generated from the title when omitted, with a random suffix for
uniqueness. Pass one only if you need a specific value.
Read resource: workflow://diagram-grammar before building. It carries
the full authoring lifecycle and the step-graph grammar, neither of which is
guessable from these schemas.
Authentication
Header authentication of the form Api-Key <token>
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Human-readable name, shown in the workflow list.
Optional. Generated from title when omitted, which is
almost always what you want.
Response
Draft created. id is the workflow-definition ID.
