Group results after Iterator Loop

What are you trying to achieve?

Hello there…

Im working on a workflow as below:

Basically I run some operations with OpenAI and I got the results on “Create Json” module:

The problem is: each execution returns an “Operation” with “Bundle 1” results…

There results are json, so after run all the iterations I need to consolidate in just one json and return as a Webhook response.

During mais research I saw that I need all the “bundles” as an array, not operations. However, i tried different approachs using routes, duplicate the aggregator and others, and nothing stops iterator to consider the aggregator part of the loop and the result for that is:

Im losing my hope with it…almost 2 weeks trying to solve this issue, searching on web, using AI and nothing works!!!

Any help would be great!

Thanks!!!

1 Like

Heyy @tfcg

I think to solve you issues with multiple operations is to choose right “Source Module” first option in your aggregator with the module which is the actual source since when after processing rest of the module you want to merge data. You can try by changing that Source module to iterator as that is the first source which gives all 3 bundles.

Let me know if you need more clarification or help!

Best,
@Prem_Patel

4 Likes

Hi Patel,

Sorry for the delay in respond you, I was on a work travel with limited access.

Man, worked fine, solved my problem!!!

Thank you very much!!!

2 Likes