## Syntax

`SHUFFLE(array)`

## Usage examples

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":[<br>4<br>1,<br>5<br>2,<br>6<br>3,<br>7<br>4,<br>8<br>]<br>9<br>}<br>10<br>}<br>Copy |
| Formula | `SHUFFLE(my_action.message)` |
| Output | 1<br>[<br>2<br>4,<br>3<br>1,<br>4<br>3,<br>5<br>2<br>6<br>]<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"message":[<br>4<br>"north",<br>5<br>"south",<br>6<br>"east",<br>7<br>"west"<br>8<br>]<br>9<br>}<br>10<br>}<br>Copy |
| Formula | `SHUFFLE(my_action.message)` |
| Output | 1<br>[<br>2<br>"east",<br>3<br>"north",<br>4<br>"west",<br>5<br>"south"<br>6<br>]<br>Copy |

## Sample Actions

Event Transform

My Action

Event Transform

My Action

Event Transform

SHUFFLE

### Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.
