v1 Helper - Find Params with Affected Expressions
This workflow is specifically designed for users after upgrading to a new version. It automatically scans all activated workflows to accurately identify parameters affected by changes in expressions in the new version. By automatically recognizing and summarizing the impacted parameters, users can quickly discover and check for potential compatibility issues, thereby reducing upgrade risks and ensuring that workflows run stably in the new version, avoiding interruptions in the production environment. This tool significantly enhances troubleshooting efficiency and is suitable for operations and maintenance personnel as well as automation developers.

Workflow Name
v1 Helper - Find Params with Affected Expressions
Key Features and Highlights
This workflow is specifically designed for users upgrading to n8n version 1. It automatically scans all active workflows to identify node parameters that utilize expressions affected by the n8n v1 expression extensions (such as functions like beginningOf, endOfMonth, minus, plus, etc.). By precisely detecting these parameters, it helps users quickly locate expressions potentially impacted by the upgrade, facilitating thorough review and adjustment to ensure workflows continue to run smoothly post-upgrade.
Core Problem Addressed
n8n v1 introduced significant changes to expression extensions, which may cause workflow execution errors or logical issues due to syntax or behavioral differences in certain node parameters. This workflow addresses the challenge of manually locating affected expression parameters after upgrading by automating their identification and aggregation, thereby reducing upgrade risks and improving troubleshooting efficiency.
Use Cases
- n8n users performing compatibility validation of existing workflows after upgrading to version 1.
- Operations personnel or automation engineers needing to quickly pinpoint expression parameters potentially impacted by the upgrade to prevent production disruptions.
- Developers requiring bulk detection and correction of expressions across numerous workflows.
Main Process Steps
- Manually trigger the workflow execution.
- Call the n8n API to retrieve data on all currently active workflows.
- Use a custom code node to analyze parameters of every node within each workflow, searching for parameters containing specified expression extensions (beginningOf, endOfMonth, minus, plus).
- Aggregate the workflow names, node names, and parameter names of all matches into a result list output for user reference and subsequent handling.
Involved Systems or Services
- n8n Internal API: Used to fetch information on active workflows.
- n8n Custom Code Node (JavaScript): Executes the detection logic for expression parameters.
Target Users and Value
- Administrators and operations engineers on the n8n platform can rapidly identify expression compatibility issues during system upgrades, mitigating upgrade risks.
- Automation developers and technical support teams benefit from improved troubleshooting efficiency, ensuring stable automation processes.
- Enterprise users can leverage this tool to guarantee uninterrupted operation of various automation tasks following version upgrades, avoiding business interruptions.
This workflow is an indispensable assistant tool for a smooth transition to n8n version 1, helping users maintain the stability of their automation systems throughout the upgrade process.