1. Docs
  2. Formulas
  3. Functions

GET

Get the value in object at the specified key or path. If a property name has spaces, wrap it in square brackets and quotes.

Categories: Objects

Syntax

GET(object, path)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"ab": "c"
4
}
5
}

Formula

GET(my_action, "ab")

Output

"c"

Example 2

Input

1
{
2
"my_action": {
3
"a": {
4
"b": {
5
"c": "d"
6
}
7
}
8
}
9
}

Formula

GET(my_action, "a.b.c")

Output

"d"

Example 3

Input

1
{
2
"fetch_data": {
3
"user": {
4
"User ID": "ID1"
5
}
6
}
7
}

Formula

GET(fetch_data, 'user["User ID"]')

Output

"ID1"

Sample actions

Event Transform
My Action
Event Transform
GET
Event Transform
GET

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?