Array nodes
Array nodes work with lists of values, such as the parts produced by String Split. See how nodes work for how to read the diagrams below.
Array Length
Counts the items in a list.
For Each
Runs a branch once for every item in a list.
Items are handled one at a time, and each Loop Body run finishes before the next item starts. An empty or unconnected list goes straight to Completed. A single value that is not a list, including text, is treated as a one-item list.
Select Array Index
Gets the item at a position in a list.
- Index
- Position to read, counting from 0. Default 0.
This works with lists from nodes such as String Split. To read an item from a
parsed JSON array, use JSON Path Get with a path
like [0].
Array Contains
Checks whether a list contains a value.
- Ignore String Case
- Default on.
Values that can be read as numbers are compared as numbers, so 5 matches
"5".
Array Filter
Keeps only the items in a list that match a rule.
- Mode
- Equals, Not Equals, Contains, Starts With, Ends With, Greater Than, Less Than, or Truthy. Default Equals.
- Compare Value
- Default empty.
- Ignore Case
- Default on.
Each item is compared with Compare Value using Mode:
- Contains, Starts With, and Ends With compare text. When Compare Value is empty they keep every item.
- Greater Than and Less Than compare numbers and drop items that are not numbers.
- Truthy ignores Compare Value and keeps items that are not empty,
false,0, or blank text.