# How to get certain values from an array?

**URL:** <https://community.make.com/t/how-to-get-certain-values-from-an-array/59858>\
**Category:** Questions\
**Tags:** arrays\
**Created:** [November 5, 2024, 8:21pm UTC](https://community.make.com/t/how-to-get-certain-values-from-an-array/59858 "2024-11-05T20:21:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Bastiaens](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/sam_bastiaens/32/47821_2.png) [@Sam\_Bastiaens](https://community.make.com/u/Sam_Bastiaens)\
**Post date:** [November 5, 2024, 8:21pm UTC](https://community.make.com/t/how-to-get-certain-values-from-an-array/59858/1 "2024-11-05T20:21:26Z")

</div>

I have an array with collection 1 and collection 2 and need to extract a certain value from each collection in the same run. More specifically I want to get the “name” as an output (SBE Digital and Zapmail). See screenshot for clarification.

I tried playing around with the get and map function but can’t seem to get it right.

 ![Schermafbeelding 2024-11-05 211748](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/1/11d15abc2e9f228e0d3543c39678f363e18da7e7.png)

---

<div class="post-metadata">

**Author:** ![Henk-Blue\_Marker](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/henk-blue_marker/32/89127_2.png) [@Henk-Blue\_Marker](https://community.make.com/u/Henk-Blue_Marker)\
**Post date:** [November 5, 2024, 8:46pm UTC](https://community.make.com/t/how-to-get-certain-values-from-an-array/59858/2 "2024-11-05T20:46:42Z")

</div>

Hi @Sam_Bastiaens,

Even for complex arrays such as this, you can use the `map()` function. If you want the name of each item in the `email_account_tag_mappings[]`, you can use this:

`{{map(email_account_tag_mappings; "tag.name")}}`

[https://www.make.com/en/help/functions/array-functions#map-complex-array--key--key-for-filtering---possible-values-for-filtering-separated-by-a-comma--](https://www.make.com/en/help/functions/array-functions#map-complex-array--key--key-for-filtering---possible-values-for-filtering-separated-by-a-comma--)

Cheers,  
Henk

---

<div class="post-metadata">

**Author:** ![Sam\_Bastiaens](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/sam_bastiaens/32/47821_2.png) [@Sam\_Bastiaens](https://community.make.com/u/Sam_Bastiaens)\
**Post date:** [November 6, 2024, 5:14pm UTC](https://community.make.com/t/how-to-get-certain-values-from-an-array/59858/3 "2024-11-06T17:14:25Z")

</div>

Thank you Henk. This fixed it. I was always just using “name” and not “tag.name” hence why it didn’t work.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [November 20, 2024, 5:27pm UTC](https://community.make.com/t/how-to-get-certain-values-from-an-array/59858/4 "2024-11-20T17:27:13Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


