Workflow Integrity Scanner: Identify Miswired Nodes Post-Upgrade
detail.loadingPreview
This n8n workflow helps identify and resolve critical wiring issues that may have occurred after upgrading to n8n version 0.214.3. It scans all your workflows to pinpoint multi-output nodes that might have been accidentally re-wired incorrectly, providing a clear report for quick remediation.
About This Workflow
After the n8n 0.214.3 upgrade, some workflows might have experienced accidental re-wiring, specifically affecting nodes with multiple outputs like If, Switch, and Compare Datasets. This crucial workflow acts as an internal auditor, meticulously scanning all your n8n workflows. It leverages the n8n API to fetch workflow data, then a custom code node intelligently parses connections to detect multi-output nodes with fewer active outbound connectors than expected. The result is a dynamic HTML report, accessible via a webhook, that lists all potentially affected workflows and nodes, complete with direct links for immediate inspection and correction. Ensure the stability and reliability of your automations by proactively identifying and rectifying these hidden issues.
Key Features
- Comprehensive Workflow Scan: Automatically fetches and analyzes all active n8n workflows on your instance.
- Targeted Anomaly Detection: Specifically identifies miswired
If,Switch,Compare Datasets, and custom multi-output nodes. - Dynamic HTML Report: Generates an easy-to-read, interactive report accessible directly in your browser.
- Direct Workflow Access: Provides clickable links within the report to open and inspect each affected workflow instantly.
- Extensible for Custom Nodes: Allows adding community or custom multi-output nodes for broader coverage.
How To Use
- Run as Instance Owner: Ensure you execute this workflow with the credentials of the n8n instance owner.
- Configure API Key: In the 'Get all workflows' node, configure it to use your n8n API key (found under 'Settings > n8n API').
- Add Custom Nodes (Optional): If you use community nodes with more than one output, add them to the
MULTI_OUTPUT_NODESconstant within the 'Parse potentially affected workflows' code node. - Activate Workflow: Enable the workflow.
- Access Report: Visit
{YOUR_INSTANCE_URL}/webhooks/affected-workflowsin your browser. - Inspect & Verify: The report will list potentially affected workflows and nodes. Click on each entry to open the workflow and manually verify that outbound connectors are correctly wired to subsequent nodes.
Apps Used
Workflow JSON
{
"id": "edc6dbbd-5dc7-4583-b912-a4cf1887d9cc",
"name": "Workflow Integrity Scanner: Identify Miswired Nodes Post-Upgrade",
"nodes": 29,
"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: edc6dbbd-5dc7...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
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.
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.
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.