Skip to main content

Array Concatenate

This node merges two arrays into one.

The Array Concatenate node joins two collections sequentially.

The Array Concatenate node takes two input arrays (Array 1 and Array 2) and produces a single new array containing all items from the first, followed by all items from the second.

Inputs

Input

DataDescription
Array 1The first array (start of the result).
Array 2The second array (end of the result).

Actions

SignalDescription
DoTriggers the concatenation.

Outputs

Data

DataDescription
Concatenated ArrayThe combined array.

Signals

SignalDescription
DoneTriggered when the operation is complete.

Usage

Use this to combine datasets, such as merging "Featured Items" with "All Items", or combining results from two different API calls.

Example Use Cases

  1. Infinite Scroll: Append a "New Page" array to the "Current List" array. (Note: This node creates a new array, so for infinite scroll, you might often use Insert loop instead, but this works for simple merges).
  2. Headers: Add a static "Select an option..." item (Array 1) to a dynamic list of options (Array 2) for a dropdown.

Detailed Behavior

  1. Shallow Copy: The items themselves are not cloned; the new array contains references to the same objects.
  2. Order: Array 1 items come first, then Array 2.

Troubleshooting

  • Null Inputs: If an input is null/undefined, it is treated as an empty array.