Iterate Array Inside Array and aggregate values

Hello everyone,

I have a question on a specific case that I am currently facing.

I currently pull some data from a provider where I group them by client. Each of the data generates a grouped values like this:

Then what I need is to iterate through the array and then again through the array inside of each of Parcel Items so I then can generae a JSON with all the information.
Is there any good way on doing this?

My output should be quite easy as to generate a JSON.

Best,
Ezequiel

Hi EFresco!

Please try to add an Iterator module after the Aggregator module then map the “array” from the Iterator so that it would then be able to iterate each of the items:

Then since you’ve mentioned that you want to generate a JSON from the output, you might need to use an “Aggregate to JSON” module with the correct data structure:

2 Likes