test-workflow
Test any n8n workflow by automatically detecting trigger type and applying the correct testing method with structured results and error diagnosis.
Instructions
Universal workflow testing tool. Automatically detects trigger type and uses appropriate testing method:
Webhook trigger → direct webhook call
Execute Sub-workflow Trigger → via Test Runner workflow
Manual/Schedule Trigger → use autoConvert:true to add Execute Sub-workflow Trigger
Returns structured response with execution results and AI-friendly diagnosis for errors. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Input data to pass to the workflow (optional) | |
| timeout | No | Request timeout in ms (default: 60000) | |
| clientId | Yes | Client ID from init-n8n | |
| workflowId | Yes | Workflow ID to test | |
| autoConvert | No | Add Execute Sub-workflow Trigger to Manual/Schedule workflows (default: false) | |
| testRunnerPath | No | Test Runner webhook path (default: "test-runner") |