UNIQ

Removes any duplicate elements in an array.

Syntax 

UNIQ(array)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": [
4
"north",
5
"south",
6
"east",
7
"east",
8
"east",
9
"south",
10
"west"
11
]
12
}
13
}

Formula

UNIQ(my_action.message)

Output

1
[
2
"north",
3
"south",
4
"east",
5
"west"
6
]

Sample Actions 

Transform
My Action
Transform
UNIQ

Select an action to inspect

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

Was this helpful?