Get value of array name

I am trying to make a CSV file with not only headers but a first column with names of values.
What I need is to get a “name” of an array while iterating. I was trying to use one of older tutorial found here on community but with no success. I dont know what I am doing wrong. Any idea how Can I iterate through array names in the collection ?


Zrzut ekranu 2024-01-24 o 18.21.59

You can use the built-in function toArray

e.g.: in a Set Variable module,

{{ toArray(first(test)) }}

For more information, see https://www.make.com/en/help/functions/array-functions#toarray--collection-

Links

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

2 Likes

It took my some time to understand what is happening with the array which contained 3 more arrays. I was thinking that after iteration I will get one of these arrays, but it turned out I had to pick one (first) anyways. Thanks