## Syntax

`MAP(array_of_objects, path)`

## Usage examples

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":{<br>3<br>"animals":[<br>4<br>{<br>5<br>"color":"Brown",<br>6<br>"type":"Dog"<br>7<br>},<br>8<br>{<br>9<br>"color":"Beige",<br>10<br>"type":"Cat"<br>11<br>}<br>12<br>]<br>13<br>}<br>14<br>}<br>Copy |
| Formula | `MAP(my_action.animals, "type")` |
| Output | 1<br>[<br>2<br>"Dog",<br>3<br>"Cat"<br>4<br>]<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"my_action":[<br>3<br>{<br>4<br>"a":{<br>5<br>"b":{<br>6<br>"c":"d"<br>7<br>}<br>8<br>}<br>9<br>}<br>10<br>]<br>11<br>}<br>Copy |
| Formula | `MAP(my_action, "a.b.c")` |
| Output | "d"<br>Copy |

|     |     |
| --- | --- |
| Input | 1<br>{<br>2<br>"fetch_data":{<br>3<br>"users":[<br>4<br>{<br>5<br>"User ID":"ID1"<br>6<br>},<br>7<br>{<br>8<br>"User ID":"ID2"<br>9<br>}<br>10<br>]<br>11<br>}<br>12<br>}<br>Copy |
| Formula | `MAP(fetch_data.users, '["User ID"]')` |
| Output | 1<br>[<br>2<br>"ID1",<br>3<br>"ID2"<br>4<br>]<br>Copy |

## Sample Actions

Event Transform

My Action

Event Transform

MAP
