# Can only access one element in data retrieved from webhook

**URL:** <https://community.make.com/t/can-only-access-one-element-in-data-retrieved-from-webhook/28415>\
**Category:** Questions\
**Tags:** csv, shopify, webhooks\
**Created:** [February 23, 2024, 10:52am UTC](https://community.make.com/t/can-only-access-one-element-in-data-retrieved-from-webhook/28415 "2024-02-23T10:52:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stuart\_Kenworthy](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Stuart\_Kenworthy](https://community.make.com/u/Stuart_Kenworthy)\
**Post date:** [February 23, 2024, 10:52am UTC](https://community.make.com/t/can-only-access-one-element-in-data-retrieved-from-webhook/28415/1 "2024-02-23T10:52:58Z")

</div>

Hi i have the following make i am testing:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/f/1f076a8866490da5633732bcd42473cc069854fb.png)  
The webhook retrieves a large section of data and contains two entries under line items for the order created in shopify, however when the file is generated it only has an entry for the first product line not the second. This is how i am accessing the data in the csv module, i am doing something incorrectly?  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/b/4bd507064048754c3e0ecdc2257108de25f92000.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 23, 2024, 12:24pm UTC](https://community.make.com/t/can-only-access-one-element-in-data-retrieved-from-webhook/28415/2 "2024-02-23T12:24:53Z")

</div>

Welcome to the Make community!

You’ll need to use the built-in functions `map` and `join` to combine multiple values in an array into a single string value.

For more information, see

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

---

<div class="post-metadata">

**Author:** ![Stuart\_Kenworthy](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Stuart\_Kenworthy](https://community.make.com/u/Stuart_Kenworthy)\
**Post date:** [February 23, 2024, 1:31pm UTC](https://community.make.com/t/can-only-access-one-element-in-data-retrieved-from-webhook/28415/3 "2024-02-23T13:31:45Z")

</div>

Amazing thank you, i assumed there was some sort of loop module for this and the document pointed me at the Flow Control - Iterator module, which has done the job.

---

<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:** [March 8, 2024, 1:48pm UTC](https://community.make.com/t/can-only-access-one-element-in-data-retrieved-from-webhook/28415/4 "2024-03-08T13:48:08Z")

</div>


