# Not able to combine all the bundles array into

**URL:** <https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047>\
**Category:** Questions\
**Tags:** error, arrays\
**Created:** [September 25, 2024, 12:05pm UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047 "2024-09-25T12:05:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjith\_raja](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sanjith\_raja](https://community.make.com/u/sanjith_raja)\
**Post date:** [September 25, 2024, 12:05pm UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/1 "2024-09-25T12:05:41Z")

</div>

**Not able to combine arrays form different bundle**

There is a solution for this in [make.com](http://make.com) community , but even after implementing that , i am not able to get this right.

I have 5 bundles , and inside each bundle there is an array , inside the arrray , there are collections of data,

so i just wanted to combine all these arrays from different bundles into one array , so i should get a big bundle of collections within a single array , so that i can start to iterate them ,

Right now i see only the first bundle or the first array is being sent for iteration so we get 100 operatiosn , but we shuold be getting 400 operations after combining them all ,

i tried using flatten and map , but i was getting some length errors ,

so i want all these arrays from different bundle to become one single array

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/7/d7165fcfb281ec67fbc7e10e7c34fe71a779a592.png)

in the iterator , i am able to just iterate only 1 bundle from a single array ,

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/1/d1ada27f7d2612f16a8c02aed701f0ba07c2878e.png)

i have attached the json below , please help

[blueprint (10).json](https://community.make.com/uploads/short-url/mS9NQI3ulhVVqdhPpBnl55QQLLx.json) (352.3 KB)

---

<div class="post-metadata">

**Author:** ![Stoyan\_Vatov](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Stoyan\_Vatov](https://community.make.com/u/Stoyan_Vatov)\
**Post date:** [September 25, 2024, 12:17pm UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/2 "2024-09-25T12:17:04Z")

</div>

Hey Sanjith,

could you please share a screenshot of the aggregator module and what it is combining in the array? Make sure you are combining the correct items there.

Afterwards you can use flatten() on the newly created array to transform it.

---

<div class="post-metadata">

**Author:** ![sanjith\_raja](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sanjith\_raja](https://community.make.com/u/sanjith_raja)\
**Post date:** [September 25, 2024, 12:28pm UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/3 "2024-09-25T12:28:51Z")

</div>

i have also added the json in the previous post

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/7/3777e8c8b6dd304284e16af7d3a950f3327eba5e.png)

i tried using flatten but i am not able to get it work, hope you can help  
Thanks!

---

<div class="post-metadata">

**Author:** ![Stoyan\_Vatov](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Stoyan\_Vatov](https://community.make.com/u/Stoyan_Vatov)\
**Post date:** [September 25, 2024, 1:47pm UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/4 "2024-09-25T13:47:51Z")

</div>

What issues are you getting when using flatten()?

---

<div class="post-metadata">

**Author:** ![sanjith\_raja](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sanjith\_raja](https://community.make.com/u/sanjith_raja)\
**Post date:** [September 25, 2024, 5:21pm UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/5 "2024-09-25T17:21:40Z")

</div>

It is just showing my the first bundle only , not really combining them ,

also in another case it was showing some kind of error , saying the size is too big or something like that ,  
hope you can help ,

Thanks.

---

<div class="post-metadata">

**Author:** ![sanjith\_raja](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sanjith\_raja](https://community.make.com/u/sanjith_raja)\
**Post date:** [September 27, 2024, 1:39am UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/6 "2024-09-27T01:39:14Z")

</div>

Hello Can someone please help with this ?

---

<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:** [December 26, 2024, 2:40am UTC](https://community.make.com/t/not-able-to-combine-all-the-bundles-array-into/56047/7 "2024-12-26T02:40:24Z")

</div>

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


