How to Avoid Waiting for All Inputs in a Node with Multiple Branches?

Hi everyone,

I’m building a workflow in n8n that involves a Form node where users make a selection. Depending on their choice, the workflow splits into two branches:

  1. The first branch has additional processing before reaching the next Form node.

  2. The second branch directly connects to the next Form node.

However, when I merge the branches back and connect them to the next Form node, the workflow waits for both branches to complete before proceeding. I want the next Form node to execute as soon as any one branch reaches it.

I’ve tried using a Merge node with “Wait for first input,” but it doesn’t seem to work as expected. The Form node still waits for both branches to finish.

My Goal:

• The next Form node should process data from any one branch as soon as it is available, without waiting for the other branch.

Workflow Overview:

  1. Form Node 1: User makes a selection.

  2. IF Node: Splits into two branches.

• Branch 1 → Additional processing → Merge.

• Branch 2 → Directly to Merge.

  1. Merge Node: Combines branches and connects to Form Node 2.

How can I achieve this behavior in n8n? Any tips, alternative approaches, or configuration adjustments would be greatly appreciated!

Thanks in advance!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Welcome to the community @Stefano_and_Yash !

It sounds like you can simply remove the Merge node since branches do not depend on each other. Have them connected directly to the next node’s input. You do need to make sure that the next node understands the input data regardless which branch gets activated.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.