How can I accumulate responses of a For loop in AIP logic?

In AIP Logic, I can define a For-loop to execute on an array of elements (e.g. strings).
In each iteration of the loop, the string will be processed, for example by an LLM block.

How can I accumulate the responses of each of those elements ?

I think the operation you’re looking for is “Reduce array elements”, which lets you merge the elements in an array together into a single result. For example, join an array of strings into one string, or merge all the ints in an int array by summing into a single int.

Here’s an example of merging ints into an int:

Does that help?

Indeed !
I was as well questioning how the For Loop returns its results, as I assume the “last board” of the loop is basically what populates the array in the first place ?