Creating different Folders from Form Answers

Hey guys, I am still a beginner here so, please, be gentle!

I have this automation that creates one or more subfolders depending on a question on a form. This questions has multiple answers and can be a minimmum of 1 or a maximmum of 8 currently. How would I do this? I tried searching here but did not find a solutions

Or I may not be that good at searching, either way, can any good sould help out a man in need?

Welcome to the Make community!

You can use the built-in function length to get the length of the array.

e.g.:

{{ length(1.array) }}

and in the “Initial Value” field, you want to use “1” to start from the first item.

However, you should be using an Iterator module here instead.

“Looping” Through Array Items

When you see an ARRAY, think ITERATOR module.

Then,

Combining Bundles Using Aggregators

Every result (item/record) from trigger/iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.

You can find out more about the other types of aggregator modules here:

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Thanks for the warm wlecome @samliew ! <3

This is not working for me though… I am feeling very stupid right now cause with such a good explanation, I might be just dumb to not get it! lol

I am getting this info from a form, like this one below:


Whenever it goes to Make it is creating a folder with all names that were selected before separated by a comma.

I know you said I should use a Iterator, but the closest I got here was using a Repeater, this is why I was doing it like this…


If I was to use the Iterator, it just does not work the way you explained it… Which makes me feel I am not seeing the obvious…

If you use the iterator, you’ll be mapping the value of the iterator into the New Folders Name field.