Appearance
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
| Port | Label |
|---|---|
| in1 | 1 |
| in2 | 2 |
| in3 | 3 |
| in4 | 4 |
| in5 | 5 |
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 --> ResultCombine form data with computed fields
POST Data --> Merge (in1)
Set Field (created_at) --> Merge (in2)
Current User (user_id) --> Merge (in3)
--> Save RowAppend items from nested queries
Query (Category A items) --> Merge (in1)
Query (Category B items) --> Merge (in2)
--> Listing GridMerge vs Combine
| Feature | Merge | Combine |
|---|---|---|
| Output structure | Flat (single array/object) | Nested (named variables) |
| Access pattern | row.field | input.x1.field |
| Best for | Concatenating data | Passing multiple datasets downstream |
| Duplicate keys | Later wins | No conflicts (separate namespaces) |