Skip to content

Merging data streams#

Merging allows you to bring multiple data streams together.

Merging data from different branches or nodes uses the Merge node. To merge data from multiple node executions, use the Code node.

To compare data, merge it, and output data streams depending on the comparison, use the Compare Datasets node.

Merge data from different branches#

If your workflow splits, you combine the separate branches back into one branch.

Here's an example workflow showing different types of merging: appending data sets, keeping only new items, and keeping only existing items. The Merge node documentation contains details on each of the merge operations.

Merge data from different nodes#

You can use the Merge node to combine data from two previous nodes, even if the workflow hasn't split into branches. This can be useful if you want to generate a single dataset from the data generated by multiple nodes.

Diagram representing merging data from two nodes

Merge data from multiple node executions#

Use the Code node to merge data from multiple node executions. This is useful in some Looping scenarios.

Node executions and workflow executions

This section describes merging data from multiple node executions. This is when a node executes multiple times during a single workflow execution.

Refer to this example workflow using Loop Over Items and Wait to artificially create multiple executions.

Compare, merge, and split again#

The Compare Datasets node compares data streams before merging them. It outputs up to four different branches.

Refer to this example workflow for an example.