Stop variable from Running Multiple Times

I cannot get the set variable to send only 1 bundle.

@Bethoven Did you be chance fix the similar issue you were having on your Google sheet integration? Stop variable from Running Multiple Times

Welcome to the Make community!

It seems that the module before the Set Variable module (outside of your screenshot), has generated three bundles. If you would like to reduce them to a single bundle, you have to use an array aggregator module.

Every result (item/record) from a search module will output a bundle. To “combine” them into a single structure, 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.

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

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

This will allow others to better assist you. Thanks!

2 Likes

@samliew I have tried the aggregator with no luck. I am likely not using it correctly. Attached is my blueprint. It is a beast.

blueprint (1).json (644.6 KB)


@samliew @Bethoven I fixed it, Thanks!

1 Like

Hi @Consultants_In-A-Box and welcome to the community :wave:

Great to hear that you were able to crack this one with @samliew’s suggestions. You can be proud of the good jo you did here :clap:.

Thanks a lot for coming back here and sharing your solution with us. This way our community stays neat and clean for other users to look for solutions :broom:.

Keep up the great work :sun_with_face:

2 Likes