execute-webhook
Execute an active n8n workflow via its webhook URL, sending data and headers, and receive the workflow response.
Instructions
Execute a workflow via its webhook URL. Workflow must have a Webhook trigger node and be active. Returns the workflow response. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines.
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": {
"clientId": "<clientId>",
"webhookPath": "<webhookPath>"
},
"name": "execute-webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON data to send in request body (for POST/PUT) | |
| method | No | HTTP method (default: POST) | |
| headers | No | Additional headers to send | |
| timeout | No | Request timeout in milliseconds (default: 30000) | |
| clientId | Yes | Client ID from init-n8n | |
| webhookPath | Yes | Webhook path (e.g., "my-webhook" for /webhook/my-webhook) |