Automated Workflow Health Check for n8n
detail.loadingPreview
This workflow automatically identifies and reports potentially misconfigured n8n workflows that may have been affected by version updates. It helps ensure your automation pipelines remain robust and accurate.
About This Workflow
This n8n workflow is designed to proactively address a potential issue introduced in version 0.214.3, where nodes with multiple outputs (like If, Switch, and Compare Datasets) might have been incorrectly re-wired. By leveraging the n8n API, this workflow retrieves all your active workflows, analyzes their node connections, and identifies any that exhibit symptoms of this specific re-wiring error. It then generates a user-friendly HTML report accessible via a webhook, allowing you to quickly pinpoint and verify the integrity of your critical automation flows. This tool is essential for maintaining the reliability and correctness of your n8n instance after updates.
Key Features
- Automated detection of n8n workflow connection errors.
- Utilizes n8n API to scan all your workflows.
- Identifies specific nodes prone to connection issues (If, Switch, Compare Datasets).
- Generates an HTML report via a webhook for easy review.
- Customizable for community nodes with multiple outputs.
How To Use
- Configure API Credentials: In the 'Get all workflows' node, set up your n8n API key credentials. You can find or create this under 'Settings > n8n API'.
- Customize Multi-Output Nodes (Optional): If you use community nodes with multiple outputs, add them to the
MULTI_OUTPUT_NODESarray within the 'Parse potentially affected workflows' code node. - Activate the Workflow: Enable this entire n8n workflow to start the scanning process.
- Access the Report: Visit the provided webhook URL (e.g.,
{YOUR_INSTANCE_URL}/webhooks/affected-workflows) in your browser. - Review and Verify: The report will list workflows with potentially affected nodes. Click on any listed workflow to inspect it and manually verify that the outbound connectors are correctly wired to subsequent nodes.
Apps Used
Workflow JSON
{
"id": "42f998b0-5c99-4df8-b552-ffb45c584110",
"name": "Automated Workflow Health Check for n8n",
"nodes": 23,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 42f998b0-5c99...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Effortless Bug Reporting: Slack Slash Command to Linear Issue
Streamline your bug reporting process by instantly creating Linear issues directly from Slack using a simple slash command. This workflow enhances team collaboration by providing immediate feedback and a structured approach to logging defects, saving valuable time for development and QA teams.