n8n_test_workflow
Test workflow execution by auto-detecting trigger type (webhook, form, chat). Supports custom input, HTTP method, headers, and timeout for validation.
Instructions
Test/trigger workflow execution. Auto-detects trigger type (webhook/form/chat). Supports: webhook (HTTP), form (fields), chat (message). Note: Only workflows with these trigger types can be executed externally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Workflow ID to execute (required) | |
| triggerType | No | Trigger type. Auto-detected if not specified. Workflow must have a matching trigger node. | |
| httpMethod | No | For webhook: HTTP method (default: from workflow config or POST) | |
| webhookPath | No | For webhook: override the webhook path | |
| message | No | For chat: message to send (required for chat triggers) | |
| sessionId | No | For chat: session ID for conversation continuity | |
| data | No | Input data/payload for webhook, form fields, or execution data | |
| headers | No | Custom HTTP headers | |
| timeout | No | Timeout in ms (default: 120000) | |
| waitForResponse | No | Wait for workflow completion (default: true) |