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 
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
1 Like
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.
2 Likes
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:

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.
1 Like
I create a monster of redundancy. I did what u said and finaly works! thanks a lot! s2
No problem, really glad I could help! Thank you for providing all the requested information โ that allowed me to come to a solution quickly.
1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.
2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.
This marks the topic as solved, so that:
- others can save time when catching up with the latest activity here, and
- allows others to quickly jump to the solution if they come across the same problem
To do this, simply click the checkbox at the bottom of the post that answers your question:

3. Donโt forget to like and bookmark this topic so you can get back to it easily in future!
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too โ
Getting Started
Help Centre Basics
Articles & Videos
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.