Skip to main content

Add

This activity adds a specified item to an existing array. It is used to dynamically expand arrays during automation workflows by inserting new elements.

Core Functions​

  • Accepts an existing array as input
  • Takes a new item to be added to the array
  • Appends the item to the array
  • Returns the updated array containing the new item

Inputs​

  • Array: The array to which the new item will be added
    Type: Array

  • Item: The item that will be appended to the array
    Type: Object

Outputs​

  • Array: Returns the updated array after adding the new item
    Type: Array

Short Technical Summary​

Adds a new element to the provided array and returns the updated array containing the appended item.