execute_workflow
Run an n8n workflow by ID or name, pass input data, and optionally wait for completion to retrieve execution results.
Instructions
Execute an n8n workflow by ID or name with advanced options and monitoring
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>"
},
"name": "execute_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Input data for the workflow (optional) | |
| workflowId | Yes | The workflow ID or name to execute | |
| waitForCompletion | No | Wait for workflow completion before returning |