All node will have "Bypass previous node output"

The idea is:

Bypass node input to output

This PR adds a new “Bypass previous node output” feature that allows nodes to automatically include specified fields from previous node outputs in their own outputs. This enables preserving important data throughout a workflow without requiring manual configuration at each step.

The feature works by adding a text field in node settings where users can provide a comma-separated list of field names to be preserved. These fields are then automatically copied from the previous node’s output to the current node’s output, ensuring data continuity across the workflow.

r/n8n - All node will have "Bypass previous node output"

Implementation details

  • Added byPass property to node interfaces
  • Implemented bypass field processing in the workflow execution engine
  • Added UI settings field for configuring bypass fields
  • Supports dot notation for nested properties (e.g., “user.name”)
  • Works with all executable nodes in workflows

Testing

The feature can be tested by:

  • Adding fields in a node (as shown in the screenshot)
  • Setting up subsequent nodes with bypass fields listed
  • Running the workflow and confirming that specified fields persist through the node chain

My use case:

When you need global variable to be preserved cross wokflow

I think it would be beneficial to add this because:

When using ai agent or other almost all node, we need to preserve global variable sometimes.
To do this, we need to use merge node but it makes my workflow ugly.
So, I implemented “Bypass” functionality at “Settings”

Any resources to support this?

Are you willing to work on this?