Skip to main content
This node is in beta. Its behavior may change in future releases.
The merge node combines data from multiple upstream branches into a single output. Use it to bring together results from parallel processing paths, for example merging extracted data from different document types that were split by a route node.

Merge modes

Select a merge mode to control how data from multiple sources is combined.

Key match

Match items across sources by a shared property and merge their fields into combined objects. For example, if source A produces [{ lineNum: 1, text: "Hello" }] and source B produces [{ lineNum: 1, confidence: 0.95 }], key matching on lineNum produces [{ lineNum: 1, text: "Hello", confidence: 0.95 }]. Configuration:
FieldTypeRequiredDescription
SourceselectYesThe upstream node to merge from
Merge sourceselectYesThe second upstream node to merge with
KeystringYesProperty name used to match records across sources

Concat

Append outputs from multiple sources end-to-end into a single list. For example, if source A produces [{ line: 1 }, { line: 2 }] and source B produces [{ line: 3 }], concat produces [{ line: 1 }, { line: 2 }, { line: 3 }]. Configuration:
FieldTypeRequiredDescription
Sourcessource listYesThe upstream nodes to concatenate

Zip

Pair items by index position from multiple sources into combined objects. For example, if source A produces [{ page: 1 }, { page: 2 }] and source B produces [{ text: "Hi" }, { text: "Bye" }], zip produces [{ page: 1, text: "Hi" }, { page: 2, text: "Bye" }]. Configuration:
FieldTypeRequiredDescription
Sourcessource listYesThe upstream nodes to zip together

Collect

Gather outputs from child runs (created by a route node) into one array. Use this when a route node splits a document into multiple child runs and you need to reassemble the results. Configuration:
FieldTypeRequiredDescription
SourceselectYesThe upstream node whose child run outputs to collect

Inputs and outputs

Allowed inputs: Extract, HTTP action. Supports multiple input connections. Output: Combined data object from all configured sources.

Credit cost

0 credits. No cost for merging data.

Route action

Split data into branches before merging

Extract action

Extract data before merging

Transform action

Transform merged data into a specific format

Review action

Review merged data before delivery