SHUFFLE

Shuffles all the elements in an array

Syntax 

SHUFFLE(array)

Examples 

Example 1

Input

{
  "my_action": {
    "message": [
      1,
      2,
      3,
      4
    ]
  }
}

Formula

SHUFFLE(my_action.message)

Output

[4,1,3,2]
Example 2

Input

{
  "my_action": {
    "message": [
      "north",
      "south",
      "east",
      "west"
    ]
  }
}

Formula

SHUFFLE(my_action.message)

Output

["east","north","west","south"]
Was this helpful?