I want to agregate all infos in one variable

hi guys!

I want to agregate all operations and bundles in one variable so I can sent it to chatGPT so it can reply only one result. The way my logic is, I get a lot of operations and bundles, and when I want to send infos to manychat or chatGPT, the automation sends a lot of messages, but I just want one message with all infos together.

I know that may be a little bit silly problem, but I’m stuck on it :confused:

Basically the automation returns the day and time witch all events exists in this format for each event in google calendar:
START: DD/MM/YYYY HH:mm
END: DD/MM/YYYY HH:mm

You can just map all info to the open ai since it all came out in one result

Hey there,

you have a lot of redundancy in that flow that completely breaks it. Search Events already returns separate bundles, there is no need to have an Iterator after it. Text Aggregator already aggregates an array, no need to have the Array Aggregator before it.

Welcome to the Make community!

Setting the Correct Aggregator Source

You need to set the “Source Module” field of the aggregator to where the bundles are coming from. This is usually an Iterator module, but can also be a search/list/repeater module.

For more information, please refer to the Make Academy.

Combining Bundles Using Aggregators

Every result (item/record) from trigger/iterator/list/search/match modules 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.

Example

Here is an example of how your scenario could look:
Screenshot_2025-03-14_210317 (2)

This is just an example. Your final solution may or may not look like this depending on your requirements.

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

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.