---
title: GET
url: https://www.tines.com/docs/formulas/functions/get/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# GET

*[View on tines.com](https://www.tines.com/docs/formulas/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:

```json
{
  "my_action": {
    "ab": "c"
  }
}
```

Formula:

```
GET(my_action, "ab")
```

Output:

```json
"c"
```

### Example 2

Input:

```json
{
  "my_action": {
    "a": {
      "b": {
        "c": "d"
      }
    }
  }
}
```

Formula:

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

Output:

```json
"d"
```

### Example 3

Input:

```json
{
  "fetch_data": {
    "user": {
      "User ID": "ID1"
    }
  }
}
```

Formula:

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

Output:

```json
"ID1"
```

## Sample actions

```json
{
  "standardLibVersion": "13",
  "actionRuntimeVersion": "2",
  "agents": [
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "ab": "c",
          "a/b": "c"
        }
      },
      "position": {
        "x": 1905,
        "y": 2625
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "GET",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "get": "=GET(my_action, \"ab\")"
        }
      },
      "position": {
        "x": 1815,
        "y": 2730
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "GET",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "get": "=GET(my_action, \"[\\\"a/b\\\"]\")"
        }
      },
      "position": {
        "x": 1965,
        "y": 2730
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 1
    },
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 2
    }
  ],
  "diagramNotes": []
}
```
