Manually execute a workflow
Runs a workflow synchronously through the workflow engine for testing or one-off use. Optional contactId/conversationId scope the run; the response includes the WorkflowExecution record plus a summary of nodes executed and duration.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Optional scoping for a manual run. Forwarded to the queued job as trigger.contactId / trigger.conversationId so workflow nodes can reference an existing contact/conversation.
Response
Workflow execution queued (runs asynchronously on the workflow-runner service)
Returned by POST /api/workflows/{id}/execute. The handler enqueues a BullMQ job; actual execution happens asynchronously on the workflow-runner service. Inspect the WorkflowExecution collection by workflowId to follow the run.