Skip to main content

Execute Workflow

POST 

/api/automation/workflows/:workflow/execute

Manually run a published workflow. The run is queued asynchronously: the response returns the new execution record immediately (status pending) - poll Get Workflow Execution for progress and step-by-step results.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body fields: trigger_payload (optional object) - data made available to the trigger node, in place of a real trigger event.

Only published workflows can be executed. Returns 403 when workflow automation is disabled for the account.

Path param: workflow = workflow id.

If the workflow is in preview mode, the manual run is a preview run too: the returned execution carries previewMode: true and every state-changing step is skipped.

Request

Responses

OK

Response Headers
    Content-Type