This block is a programming method that adds one or more elements to an array and changes the length of the array.
Drag and drop ArrayPush inside a workflow where a green field appears. Doing so makes it a part of the workflow.
ArrayPush works well with ForEach loops. It collects the items a loop goes through in the “result” array.
Specify the Array in the first field of the block.
Specify the Item in the second field of the block.
Run the workflow to see the effect applied.
To disable an ArrayPush block without deleting it, use the slider on the left of its name.