I’m using Make.com to process multiple files with Google Gemini AI, but I’m running into an aggregation problem. Here’s the flow:
1. Webhook: Receives multiple files.
2. Iterator: Splits the file array so each file is processed separately.
3. HTTP & Gemini AI: Each file is downloaded and analyzed individually.
4. Array & Text Aggregators: Intended to combine all Gemini AI outputs.
5. Final Gemini AI Call: Supposed to process one combined response.
The Problem:
Each file is processed separately, so the aggregators don’t collect all the responses before moving forward. This means the final Gemini AI module ends up receiving separate outputs instead of one unified summary.
Need Help With:
• Configuring the Array Aggregator to wait for all responses.
• Ensuring the Text Aggregator runs only once after all responses are collected.
• Passing a single, combined text to the final Gemini AI module.
Any guidance on how to adjust this workflow would be greatly appreciated!
No everything is fine and works, dont mind the error on the image. the issue is the very last gemini module is the one i want to combine all the runs to get a summary of whatever it is running for. I am having issue where the iterator breaks the webhook down to 3 separate runs(which we need) and i thought he aggregator at the end would combine all of these runs into one text output but it doesn’t . it runs all of them separately to the end, not giving me the option to add them in the nd at the last gemini module
Hello @Folu_Ilori,
From the webhook, If all the files are not combined into a single array then use Array aggregator after the webhook, Then put that aggregated data to Iterator.
The last Array aggregator chooses a proper Source Module. Combining data from the source module to Aggregation is critical.
Check this topic and its replay.
P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best as Solutions and give If you need expert help or have questions? Contact or comment below!
Hello @Folu_Ilori,
Your Webhook data is an array within the collection, You don’t need to use an aggregator after Webhook. Directly add/select the property_image_uploads array as a source of the Iterator.
Also, try to select the Iterator Module as a source module of the last Aggregator.