Trigger n8n Workflow
trigger_n8n_workflowSend structured JSON data to an n8n webhook and return the workflow response, enabling AI agents to trigger n8n automations with custom payloads.
Instructions
Send a JSON payload to an n8n webhook URL and return the workflow response.
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": {
"webhook_url": "<webhook_url>"
},
"name": "trigger_n8n_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | JSON key-value data to pass into the n8n workflow | |
| webhook_url | Yes | Full n8n webhook URL (or set N8N_DEFAULT_WEBHOOK env var) |