Skip to main content
The Union node stacks rows from two data streams vertically into a single output — like appending one spreadsheet below another. Unlike Merge (which joins data side-by-side), Union appends data vertically. It can optionally deduplicate records based on mapped fields.

Basic Example

Input 1
IDName
1Dan
2Yael
Input 2
IDName
3Ron
4Noa
Result (Union)
IDName
1Dan
2Yael
3Ron
4Noa

How it works

1

Connect two inputs

Drag two data streams into the Union node. These can come from any upstream nodes in your workflow.
2

Choose a union type

Select how the rows from both inputs should be combined.
Union TypeSQL EquivalentDescription
AllUNION ALLKeep all rows from both inputs — simple concatenation (default)
DistinctUNIONDeduplicate rows based on the mapped fields, keeping one row per unique combination
3

Configure dedup settings (optional)

When using Distinct mode, configure which fields define uniqueness and which input wins on duplicates.Dedup Key — select which fields from each input correspond to each other. These field pairs define uniqueness for deduplication. You can add multiple fields for a composite key (e.g., ID + Date).
SettingDescription
Input 1 FieldA field from the first data stream
Input 2 FieldThe corresponding field from the second data stream
Priority — when duplicates are found, controls which input’s row is kept.
PriorityDescription
Input 1 winsKeep the row from Input 1 when a duplicate is found (default)
Input 2 winsKeep the row from Input 2 when a duplicate is found
Field mappings are required when using Distinct mode. In All mode they are optional — rows are simply stacked.

Output

The Union node produces a single output stream containing the combined rows from both inputs. The output is available as an input to any downstream node in your workflow.

Example with Deduplication

Input 1
IDName
1Dan
2Yael
Input 2
IDName
2Yael
3Ron
Configuration: Distinct, Dedup Key: ID, Priority: Input 1 wins Result:
IDName
1Dan
2Yael
3Ron

All vs Distinct

When using All, if both tables contain the same record, the result will include it twice:
IDName
1Dan
1Dan
When using Distinct, duplicates are removed based on the dedup key, keeping only one row per unique combination.

Union vs Merge vs Bond

FeatureBondMergeUnion
PurposeRelate dataCombine columnsStack rows
StructureLinkedFlattenedAppended
SQL EquivalentJoin (logical)Join (materialized)UNION / UNION ALL
Use CaseEnrichmentFinal datasetCombining datasets

Best Practices

  • Ensure inputs have compatible schemas (same fields and meaning)
  • Use All when you want full data coverage and duplicates are acceptable
  • Use Distinct when you need a clean dataset and duplicate records must be removed
  • Carefully define dedup keys and priority rules

Common Pitfalls

  • Mismatched columns — same name but different meaning across inputs
  • Missing dedup key — leads to incorrect duplicate removal
  • Over-aggressive deduplication — can cause data loss
  • Merge Node — joins two datasets side-by-side rather than stacking vertically
  • Bond Node — creates logical relationships between entities