Iterations and variables. How to collect all iterations?

I’m trying to collect all the attachments from an email, upload them and collect all the links from google Drive.
I set the scenario this way:

The problem is that “set variable” collect only the last one. How do i collect all the links from the iteration?

Hey Filippo,

you need to combine them first. You can use a text aggregator with the source module being the Iterate attachments module, then pass the output of that module to the Set variables module.

Thanks! I solved this way:

It creates an array with different collections. Now… how can i use them?

Replace the array aggregator with a text aggregator and map the output of that in the next module.