SHUFFLE
Shuffles all the elements in an array
Categories: Arrays
Syntax
SHUFFLE(array)
Examples
Example 1
Input
1
{
2
"my_action": {
3
"message": [
4
1,
5
2,
6
3,
7
4
8
]
9
}
10
}
Formula
SHUFFLE(my_action.message)
Output
1
[
2
4,
3
1,
4
3,
5
2
6
]
Example 2
Input
1
{
2
"my_action": {
3
"message": [
4
"north",
5
"south",
6
"east",
7
"west"
8
]
9
}
10
}
Formula
SHUFFLE(my_action.message)
Output
1
[
2
"east",
3
"north",
4
"west",
5
"south"
6
]
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.