1. Docs
  2. Formulas
  3. Functions

FIRST

Returns the first element of an array.

Categories: Arrays

Syntax

FIRST(array)

Examples

Example 1

Input

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

Formula

FIRST(my_action.message)

Output

"north"

Sample actions

Event Transform
My Action
Event Transform
FIRST SECOND ETC

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?