# Array aggregator help

**URL:** <https://community.make.com/t/array-aggregator-help/16454>\
**Category:** Questions\
**Tags:** arrays\
**Created:** [September 24, 2023, 9:05am UTC](https://community.make.com/t/array-aggregator-help/16454 "2023-09-24T09:05:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebalou](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Sebalou](https://community.make.com/u/Sebalou)\
**Post date:** [September 24, 2023, 9:05am UTC](https://community.make.com/t/array-aggregator-help/16454/1 "2023-09-24T09:05:17Z")

</div>

Hi,

I need help to understand the Array aggregator behavior…

I create multiple images into a Wordpress and need to collect all the media ids created in a single array.

So here with have 11 image created

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

Each operation returns a Media Item ID.

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

I want to collect them

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

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

But he doesn’t collect them into a single array :

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

Thanks for your help !

---

<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:** [September 24, 2023, 11:21am UTC](https://community.make.com/t/array-aggregator-help/16454/3 "2023-09-24T11:21:09Z")

</div>

Your source module likely needs to point to a module _before_ that Wordpress module.

Could you please share screenshots of the module fields and filters in question? It would really help other community members to see what you’re looking at.

You can also export the scenario blueprint file to allow others to replicate the issue. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

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

Uploading it here will look like this:

> blueprint.json (12.3 KB)

If possible, could you also please provide the input/output bundles of the modules by running the scenario, then clicking the bubble on the top-right of each module, taking screenshots of, and copying the contents into this discussion thread:

![Screenshot_2023-08-29_100800](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/e/e19e554d49359a79fe59f20d110dd917a4cbd22f.png)

This will allow others to better assist you. Thanks!

---

<div class="post-metadata">

**Author:** ![Sebalou](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Sebalou](https://community.make.com/u/Sebalou)\
**Post date:** [September 24, 2023, 12:12pm UTC](https://community.make.com/t/array-aggregator-help/16454/4 "2023-09-24T12:12:19Z")

</div>

> [@samliew](#):
>
> Your source module likely needs to point to a module _before_ that Wordpress module.

That’s the case I think :

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

- The #4 module finds 8 images
- I download them and create them into Wordpress as media
- I would like to get the 8 Wordpress Media ID into a single array

---

<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:** [September 24, 2023, 12:19pm UTC](https://community.make.com/t/array-aggregator-help/16454/5 "2023-09-24T12:19:14Z")

</div>

In your case, try setting the Array Iterator as the Source Module.

---

<div class="post-metadata">

**Author:** ![Sebalou](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Sebalou](https://community.make.com/u/Sebalou)\
**Post date:** [September 24, 2023, 12:27pm UTC](https://community.make.com/t/array-aggregator-help/16454/6 "2023-09-24T12:27:32Z")

</div>

Sorry, I don’t understand.

Like this ?

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

Operations are still separated :

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

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/6/61b3e362e9c1fe0e6efecea9a536563ec0112e5b.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:** [September 24, 2023, 12:39pm UTC](https://community.make.com/t/array-aggregator-help/16454/7 "2023-09-24T12:39:22Z")

</div>

You see the light gray background? It should reach the Iterator module if you got it right, which in your first screenshot, wasn’t the case/it was missing.

The white star on the black circle means you didn’t save your changes, as seen in your first screenshot.

---

<div class="post-metadata">

**Author:** ![Sebalou](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Sebalou](https://community.make.com/u/Sebalou)\
**Post date:** [September 24, 2023, 12:44pm UTC](https://community.make.com/t/array-aggregator-help/16454/8 "2023-09-24T12:44:29Z")

</div>

OK the problem was here (Iterator as Source Module on the aggregator)

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

so

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

Thanks

---

<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:** [September 24, 2023, 1:48pm UTC](https://community.make.com/t/array-aggregator-help/16454/9 "2023-09-24T13:48:53Z")

</div>

> [@samliew](#):
>
> setting the Array Iterator as the Source Module

Yes, that’s what I said. Glad you figured it out!

---

<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 8, 2023, 2:07pm UTC](https://community.make.com/t/array-aggregator-help/16454/10 "2023-10-08T14:07:20Z")

</div>

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


