n8n_run_adhoc
Runs one-off n8n workflows without leaving debris: builds a temporary workflow from your nodes, executes it via auto-added webhook, waits for results, then deletes it.
Instructions
Run a one-off workflow: creates a temp workflow with your nodes, executes via webhook, waits for the result, then deletes it. Perfect for quick operations (MongoDB queries, HTTP requests) without leaving debris. Do NOT include trigger nodes — a webhook trigger is auto-added.
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": {
"nodes": "<nodes>"
},
"name": "n8n_run_adhoc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON payload sent to the webhook trigger | |
| nodes | Yes | Array of n8n node definitions (no trigger nodes — webhook is auto-added) | |
| timeout | No | Timeout in seconds (default: 30, max: 300) | |
| connections | No | Connection map. If omitted, nodes are auto-chained sequentially. |