How can I choose which bundle to process

This must be the dumbest thing here to ask, and I imagine it has the easiest solution, but I can’t figure it out and cannot find it either in the help. Tried even AI several times, and it does no changes even if it says it does.

Module 5 is returning 3 bundles. Sometimes will return more. I just want the module 8 to use exclusively the 1st bundle data, not to iterate through them.

The issue here is that Buffer module doesn’t accept multiple images AFAIK. So I’m just trying to create the post with the first image of a carousel. And then add additional “Buffer update” modules to add the other images. Unsure if they will be added or overwritten, in which case I’m without options.

So, how do I map specific bundles to specific modules instead of iterating through them all?
Thanks.

Welcome to the Make community!

Aggregators

Every result (item/record) from a list/search/match module will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.

There are other types of aggregator modules, click the below links to find out more:

Array Aggregator – mapping multiple bundles into a complex field

The Array Aggregator module is very powerful because it allows you to build a complex array of collections for a later module’s field to map multiple items (collections) to it.

This is done using the “Target structure type” of an Array Aggregator module.

Here is an example:

As you can see, the “Map” toggle on complex fields are used when you have an array. You can easily build an array variable to map to a future module’s field, by using an Array Aggregator module and select the “Target Structure Type” as the future module’s field you have mapped the array into.

Hope this helps! Let me know if there are any further questions or issues.

You can also join us in the Make Fans Discord server to chat with other makers. Due to the evolving needs of this community, the Discord invite link can be found elsewhere on this forum. You can either search for it or message me to request an invite.

Hi Sam,

Thanks for the reply. I was aware of aggregators somewhat, and actually tried using one. But the Buffer module doesn’t seem to allow using multiple images (unless I did it wrong).

Hence why my question was how to split the bundles, mapping each bundle to a different module.

An alternative I’m testing is filtering each of the bundles like this:

It kind works, but then I cannot get the post ID from the module 5 and so module 10 can update the post. And if I connect them in series, then the filter doesn’t allow module 10 to receive the 2nd bundle.

1 Like

You can still aggregate, but only use the first item in the array.

This still reduces it to a single bundle, so that future modules don’t run multiple times.

If you want to use filters, then you can allow only the first bundle order through.

Hope this helps! Let me know if there are any further questions or issues.

You can also join us in the Make Fans Discord server to chat with other makers. Due to the evolving needs of this community, the Discord invite link can be found elsewhere on this forum. You can either search for it or message me to request an invite.

Oooh, I see your point now. Just did and this way I can choose into the array instead, in any of the modules.

It worked, thanks.

Unfortunately the update module only overwrites the post. It does not add into it, which is what I wanted. :frowning: I’ll have to search for a different tool to achieve this.

1 Like