# Get specific value from Array within a collection

**URL:** <https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698>\
**Category:** Questions\
**Tags:** get-map-function, arrays, mapping\
**Created:** [February 7, 2024, 12:38pm UTC](https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698 "2024-02-07T12:38:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Sola](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Robin\_Sola](https://community.make.com/u/Robin_Sola)\
**Post date:** [February 7, 2024, 12:38pm UTC](https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698/1 "2024-02-07T12:38:00Z")

</div>

Hi guys,

I have been looking at several topics on here but can’t seem to find the right answer or solution for my case.

I am receiving data to my webhook in the form of an array as per the picture below:

![Screenshot 2024-02-07 at 12.34.27](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/6/7642579fce0a9e1843fb67b6568705d7277c7df8.png)

I am trying to set all the items from that array from 1 to 6 as variables but I can’t seem to figure out how to dit. I have tried array iterators and aggregators but cant seem to work it out.

Thanks a lot for the help,  
Robin

---

<div class="post-metadata">

**Author:** ![Robin\_Sola](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Robin\_Sola](https://community.make.com/u/Robin_Sola)\
**Post date:** [February 7, 2024, 12:42pm UTC](https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698/3 "2024-02-07T12:42:21Z")

</div>

Fyi, this is what I get from the interator but I am really strugglign to map or create variables from that.

 ![Screenshot 2024-02-07 at 12.41.20](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/4/045f3f70a132f6e5e76cdf761e1960ab0e2331f3.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 7, 2024, 12:49pm UTC](https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698/4 "2024-02-07T12:49:57Z")

</div>

If you want to just set them up as individual variables, then you don’t need an iterator.

You can use the built-in function `get` to retrieve the value at an array’s index.

e.g.: this will get the first item

```plaintext
{{ get(1.productList; 1) }}

```

 ![Screenshot_2024-02-07_200247](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/7/d79c9b796a929703ce33d44ee2047e60a8d1b74a.png)

For more information, see

- [Mapping](https://www.make.com/en/help/mapping/mapping) – What is mapping? What can I map? **← CHECK THIS OUT**
- [Mapping with arrays](https://www.make.com/en/help/mapping/mapping-arrays) – How to map items in an array **← CHECK THIS OUT**

---

<div class="post-metadata">

**Author:** ![Robin\_Sola](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Robin\_Sola](https://community.make.com/u/Robin_Sola)\
**Post date:** [February 7, 2024, 1:09pm UTC](https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698/5 "2024-02-07T13:09:30Z")

</div>

Thank you so much that did the trick. Was complicating things for no reason.

Thanks again!

---

<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:** [February 21, 2024, 1:17pm UTC](https://community.make.com/t/get-specific-value-from-array-within-a-collection/26698/6 "2024-02-21T13:17:37Z")

</div>


