Create a workflow
Create a draft workflow with a blank trigger and exit node. When workflowGroupId is omitted, the workflow is added to the team’s Unsorted group.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The name of the workflow.
The description of the workflow.
The ID of a mailing list the workflow sends to. After creation, the mailing list can be changed with the /v1/workflows/{workflowId}/mailing-list endpoint.
The ID of the workflow group to create this workflow in. Defaults to the team's Unsorted group when omitted.
"clg7n5p3q1r9s7t5u3v1w9y7"
Response
Workflow created.
The ID of the workflow.
The URL of the workflow in the Loops app.
"https://app.loops.so/workflows/clw1a3b5c7d9e1f3g5h7i9j1"
The current workflow revision token. Pass the latest value as expectedRevisionId on the next workflow mutation. Will be null for workflows without a revision token yet.
Draft, Sending, Paused, PausedAndQueueing The ID of the workflow group this workflow belongs to.
The ID of the mailing list the workflow sends to.
The ID of the root node in the workflow graph.
A map of node IDs to simplified node objects. Each node includes typeName and nextNodeIds, plus type-specific fields when present. To get the full node object, use the GET /v1/workflows/{workflowId}/nodes/{nodeId} endpoint.
The name of the workflow.
The description of the workflow.

