Save an environment variable into a csv array based on the number of iteration

Hi everyone,

Currently I have one POST request that creates an id and store the id in the environment variable.
I would like to save this environment variable into an array/csv based on the number of iteration.
There will be one variable for 1 iteration.
The goal is to be able to generate this file based on the number of iteration put as the entry.