Skip to content

Merge

Merges up to 5 input arrays into a single output. Unlike Combine (which nests inputs under named variables), Merge flattens them into one array or object.

Configuration

No configuration required. Simply connect inputs to the 5 available input ports.

Input Ports

PortLabel
in11
in22
in33
in44
in55

Merge Behavior

Associative arrays (objects): Keys from all inputs are merged into a single object. Later inputs override earlier inputs for duplicate keys.

Input 1: { "name": "John", "role": "user" }
Input 2: { "email": "john@test.com", "role": "admin" }
Output:  { "name": "John", "role": "admin", "email": "john@test.com" }

Lists (sequential arrays): Items from all inputs are concatenated in order.

Input 1: [{ "id": 1 }, { "id": 2 }]
Input 2: [{ "id": 3 }]
Output:  [{ "id": 1 }, { "id": 2 }, { "id": 3 }]

Mixed: If any input is associative, all inputs are merged as associative arrays.

Example Use Cases

Merge query results from multiple tables

Table Query (Products)  --> Merge (in1)
Table Query (Services)  --> Merge (in2)
                            --> Sort by name --> Result

Combine form data with computed fields

POST Data              --> Merge (in1)
Set Field (created_at) --> Merge (in2)
Current User (user_id) --> Merge (in3)
                           --> Save Row

Append items from nested queries

Query (Category A items)  --> Merge (in1)
Query (Category B items)  --> Merge (in2)
                              --> Listing Grid

Merge vs Combine

FeatureMergeCombine
Output structureFlat (single array/object)Nested (named variables)
Access patternrow.fieldinput.x1.field
Best forConcatenating dataPassing multiple datasets downstream
Duplicate keysLater winsNo conflicts (separate namespaces)