Join
The Join node waits for parallel branches to finish and merges their results into one output.
Screenshot placeholder
The palette describes it as "Merge parallel paths".
When to use it
Use it after a Parallel node, to bring the branches back into a single path.
Settings
| Field | What it does | Notes |
|---|---|---|
| Join strategy | How many branches to wait for | All (wait for all branches) (default), Any (first branch to complete) or N of M (first N branches) |
| N (branches to wait for) | How many branches must finish | Only shown for N of M. Default 1, minimum 1 |
| Timeout (ms) | The longest the node waits for branches | Default 30000. 0 means no timeout |
| Merge strategy | How results are combined | Merge objects (combine keys) (default), Array (collect all outputs) or First (use first completed) |
| Output key | The name the merged result is stored under | Default joined |
Inputs and outputs
| Handle | Where | Purpose |
|---|---|---|
| Three inputs | Top | Where the branches connect |
| Output | Bottom | The merged result, continuing the workflow |
The node header shows the join strategy, and the card shows the merge strategy.
Example
This is an illustrative example. Two branches each return some customer details.
- Keep Join strategy on All.
- Set Merge strategy to Merge objects (combine keys) so both sets of details end up in one result.
- Leave Output key as
joined, and read the result from that name in the next step.
Tips
- Choose Any when you only need the fastest answer and can ignore the rest.
- Set a Timeout (ms) so a slow branch cannot hold up the workflow forever.
- The node card shows three input handles. The settings do not say how many branches a Join can accept beyond that.