# Mapping array values

**URL:** <https://community.make.com/t/mapping-array-values/48487>\
**Category:** Questions\
**Tags:** arrays, filters\
**Created:** [July 30, 2024, 1:24pm UTC](https://community.make.com/t/mapping-array-values/48487 "2024-07-30T13:24:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NunuNana](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NunuNana](https://community.make.com/u/NunuNana)\
**Post date:** [July 30, 2024, 1:24pm UTC](https://community.make.com/t/mapping-array-values/48487/1 "2024-07-30T13:24:12Z")

</div>

![Screenshot 2024-07-30 at 16.20.55](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/0/803f8d986d84148e31581a4565699edca6a76f75.png)

I want to use this array output in a chatgpt module.

How can I map this array to be in this format?:

2024-08-21:  
09:00 AM - 04:20 PM

2024-08-21:  
09:00 AM - 04:20 PM

Can’t use the iterator cause its splits the output into two operations which I dont want.

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [July 30, 2024, 1:41pm UTC](https://community.make.com/t/mapping-array-values/48487/2 "2024-07-30T13:41:48Z")

</div>

Hey @NunuNana

To pass this array in the specified format, first iterate the array using “iterator”. Then use "text aggregator and you will be able to map the values in text aggregator as you want. This will aggregate all the values in your specified format and give you as a text that you easily map to chatgpt module.

> Note: Aggregators are used to combine all the operations into one. Hence, all the operations from iterator will be merged into one operation (one variable)

**Regards,**  
_Msquare Automation - Gold Partner of Make_

> [Book a Free Consultation](https://calendly.com/msquarepro/meeting) | [Connect Live](https://calendly.com/msquarepro/msquareautomation-live)  
> Explore our [**YouTube Channel**](https://www.youtube.com/@msquareautomation) for valuable insights and updates!

---

<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:** [October 28, 2024, 2:42pm UTC](https://community.make.com/t/mapping-array-values/48487/3 "2024-10-28T14:42:08Z")

</div>

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


