# Variables Set from Iterator Output to converted into collections and added to an array

**URL:** <https://community.make.com/t/variables-set-from-iterator-output-to-converted-into-collections-and-added-to-an-array/75879>\
**Category:** Beginner Questions\
**Tags:** collections, arrays, iterator\
**Created:** [March 21, 2025, 8:18am UTC](https://community.make.com/t/variables-set-from-iterator-output-to-converted-into-collections-and-added-to-an-array/75879 "2025-03-21T08:18:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Ajay](https://community.make.com/u/Ajay)\
**Post date:** [March 21, 2025, 8:18am UTC](https://community.make.com/t/variables-set-from-iterator-output-to-converted-into-collections-and-added-to-an-array/75879/1 "2025-03-21T08:18:10Z")

</div>

Hi community, Newbie here.  
I am creating a scenario in which a webhook receives data in Json format. This payload has an array which contains collections - e.g. list of products in an order. I need to send these updates to another platform which has a different payload format.  
So, I iteratively go through each product collection - and set variables.  
I need to append them to an array as collection now, but I can’t seem to do that successfully.  
Instead of 1 operation with all the new bundles in one array, I am getting multiple arrays, 1 for each collection.

I also need to map 2 of these resultant arrays into 1 JSON.

Any advice would be appreciated.

Layout:

 ![Screenshot 2025-03-20 110912](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/7/673fc0f0b50122535d332fc42516499f060e4b42.png)

Webhook payload received:

 ![Screenshot 2025-03-20 111127](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/9/d928c4528faaeedb55550fe79bdbcc2fa08eb480.png)

Array Aggregator Output:

 ![Screenshot 2025-03-20 111342](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/4/44dbbff17d8f5a6835098d0d593e955d529eedd0.png)

---

<div class="post-metadata">

**Author:** ![ponvaskon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/ponvaskon/32/67139_2.png) [@ponvaskon](https://community.make.com/u/ponvaskon)\
**Post date:** [March 21, 2025, 9:40am UTC](https://community.make.com/t/variables-set-from-iterator-output-to-converted-into-collections-and-added-to-an-array/75879/2 "2025-03-21T09:40:07Z")

</div>

Hi Ajay,

Please provide an example of the webhook payload JSON and the final platform JSON data structure example.

---

<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:** [March 22, 2025, 3:31pm UTC](https://community.make.com/t/variables-set-from-iterator-output-to-converted-into-collections-and-added-to-an-array/75879/3 "2025-03-22T15:31:15Z")

</div>

Welcome to the Make community!

You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).

To allow others to assist you with your scenario, please provide the following:

## 1. Relevant Screenshots

Could you please share screenshots of **module settings** (fields), relevant filter settings (conditions), and module output bundles. We need to see what you’re working with to give you the best advice.

You can upload images here using the Upload icon in the text editor:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/0/20b53cdf28d223e85fc9654c350eadebd37f5d3c.png)

## 2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/2/2ff55ee04419049c127f183db2b3eebfbbbbfc64.png)

You can upload the file here by clicking on this button:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/eea8fed2e9a3099e825050ba8b652b3699cd1a74.png)

## 3. Output Bundles of Modules

Please provide the **output** bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the [History tab](https://www.make.com/en/help/scenarios/scenario-execution-history)).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

### A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a `bundle.txt` file.

You can upload the file here by clicking on this button:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/eea8fed2e9a3099e825050ba8b652b3699cd1a74.png)

### B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.  
These are the two ways to format text so that it won’t be modified by the forum:

- **Method 1: Type code block manually**

- **Method 2. Highlight and click the format button in the editor**

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved.

Sharing these details will make it easier for others to assist you.

---

<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:** [June 20, 2025, 2:42pm UTC](https://community.make.com/t/variables-set-from-iterator-output-to-converted-into-collections-and-added-to-an-array/75879/4 "2025-06-20T14:42:34Z")

</div>


