run_workflow
Run an active workflow for real on chosen items. PRO+ feature (automations). kind "task" with ids of up to 50 tasks starts one WorkflowRun per task; kind "document" with document ids starts one per document, as a send for approval (the workflow must be on a document trigger; Business+ for document approval). Every step runs, emails and approvals included. Returns the runIds (list_workflow_runs monitors them). All or nothing: an item outside the workflow's scope or not visible to the caller starts nothing. Permission: automation.manage on the workflow's project (or org MANAGER+ for org-wide workflows). Answers that it is off while the operator switch is off.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflowId": "<workflowId>",
"kind": "<kind>",
"ids": "<ids>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| kind | Yes | ||
| workflowId | Yes |