Workflow
Create Workflow
Create a new standalone automation workflow. New workflows are created in the draft state (disabled). Add triggers and steps, then call POST /workflows/{id}/enable to make it live.
post/workspaces/{workspace_id}/workflows
Path parameters
workspace_idinteger required
Request body
Example request
{
"workflow": {
"name": "New Lead Nurture"
}
}Response
Created
Example response
{
"id": 101,
"public_id": "WfAbCd",
"workspace_id": 5001,
"name": "New Lead Nurture",
"status": "live",
"disabled": false,
"archived": false,
"run_type": "asynchronous",
"active_runs_count": 12,
"completed_runs_count": 340,
"created_at": "2025-06-01T00:00:00.000Z",
"updated_at": "2025-06-10T00:00:00.000Z"
}