> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vatel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Merging

> Join parallel branches back into a single path

When your flow splits into parallel branches (for example, after a Condition or Categorize node), you may need to wait for all of those branches to finish before continuing with a shared next step. The **Merge** node does exactly this: it acts as a synchronization point that holds execution until every incoming branch has completed. Only then does the flow continue to whatever comes after the Merge node.

The Merge node is available on **Start**, **End**, and any flow you have created. It cannot be placed on the Main Flow, where it appears greyed out in the menu.

![Merge node settings panel](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/merge-settings.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=86f0e59a7f306805e8516df73b9b2b23)

Merge settings. There are no configurable fields.

## How to use it

1. Build your parallel branches as normal (for example, one branch sends a webhook while another sets a variable).
2. Connect the last node of each branch into a single Merge node.
3. Add any nodes that should run after all branches have finished by connecting them after the Merge node.

The Merge node has no configurable fields. When you click on it, the form only shows a brief explanation and a **Cancel** button (or **Close** on a published version). There is nothing to set up because the node's behavior is entirely determined by which branches you connect into it.

## Important behavior to understand

The Merge node waits for **every** branch that is connected to it. This means:

* If you connect three branches into a Merge node, all three must complete before anything downstream runs.
* If a branch never runs (for example, because a Condition node sent execution down the other path), the Merge node still waits for it. Since that branch will never complete, the Merge node will block indefinitely and nothing after it will execute.

To avoid this problem, make sure every branch connected to a Merge node will actually run. If your flow has branches where only one path executes (like the if/else paths from a Condition node), do not connect both paths into the same Merge node. Instead, either merge only the branches that always run, or restructure your flow so that each conditional path continues independently.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.