What is your goal?
I have an iterator, and I want to collect the values from each iteration into a simple array.
Finally, I would like to use a simple array like this: [Vitaminok,Egészség,Táplálkozás,Vitaminhiány,Immunrendszer]
What is the problem & what have you tried?
I don’t know how to build a working case.
Screenshots (scenario flow, module settings, errors)
Hi @Dolphinstudio_Info,
Chances are that you do not need an iterator here; an iterator is primarily useful if you want to process each bundle separately. If you want to manipulate an array to a new array, you can use the map() function.
This is how it works: Mapping arrays - Help Center
What does the array look like?
Cheers,
Henk
I use an iterator for a specific task involving a sheet that contains several rows: Vitaminok, Egészség, Táplálkozás, Immunrendszer, Vitaminhiány, Anyagcsere, Életmód, D-vitamin, Csontok, and Antioxidáns. From this sheet, I create a string that includes the following elements: (Vitaminok,Egészség,Táplálkozás,Immunrendszer,Vitaminhiány,Anyagcsere,Életmód,D-vitamin,Csontok,Antioxidáns)
An AI module then selects five elements from the sheet or generates different elements. After that, I compare each of the elements generated by the AI module with the original string. If the string contains the element, I proceed to branch 1; if it does not, I move to branch 2. At the end of this process, I would like to collect the resulting values in an array, separate branch 1 and branch 2.
In this situation, do I also need to use a map?
Thank you for your reply 
Hello,
There are a few possible ways to solve your proble - one of them is to use an aggregator and {{map(array; "value")}} referring to your array and “value” as map() function key.
The tricky part is this:
You must use a 3rd route to get arrays stored as variables.
I created a sample scenario which shows general principle- take a look there and I hope it will help you find a solution to your problem.
1 Like
Thank you for the sample scenario, it looks really cool! 
Tomorrow, I will try it on my original process.
Have a great day!
There is one more twist in my scenario because I changed the category name to an ID, and it works well. However, I don’t know how to properly parameterize the map, which results in an empty array.
Possible to use the map in this way?
The ID is sourced from Column B of the Google Sheet.
Finally, is there a way to merge the arrays from Branch 1 and Branch 2?
The reason for having two branches is that I save the missing category items to a WordPress page, which allows me to retrieve the created IDs, and these IDs will be saved to a Google Sheet. If the category is exist, I do not need to follow this process, I simply retrieve IDs from the sheet that contains all of them.
Thank you for the lot of help 
You need to “cheat” Make.com a little. Take a closer look. You are trying to pass
ID (B)
but Make.com automatically changes “)” to )
Copy-paste this function:
{{map(1.Array; "ID (B)")}}
Have a nice day,
Michal
You need to use the RAW key’s name, not the displayed key’s label as shown in your screenshot. To do this, you need to use your mouse on the displayed label to find out what the RAW name is.
I believe Google Sheets columns are also zero-indexed.
Therefore, you should use 1 for column B.
> {{ map(102.array; 1) }}
Make Input Markup: Copy-paste the above into the field, including start/end curly brackets for it to import as intended 
— @samliew
1 Like
Thank you for all the help, it works as expected.