FLATTEN
Turn nested arrays into a single 1 dimensional array
Categories: Arrays
Syntax
FLATTEN(array)
Examples
Example 1
Input
1
{
2
"my_action": [
3
[
4
"dog",
5
"cat",
6
"turtle"
7
],
8
[
9
"deer",
10
"bear",
11
"tiger"
12
]
13
]
14
}
Formula
FLATTEN(my_action)
Output
1
[
2
"dog",
3
"cat",
4
"turtle",
5
"deer",
6
"bear",
7
"tiger"
8
]
Sample actions
Select an action to inspect
You can also click "Copy actions" and paste them in your Tines story to see how they work.