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 ?
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 | Tutorials
- Make Academy – learn Make and get your certificate ← CHECK THIS OUT
- Make Blog – get the latest updates
- Features & Pricing
Help Center Basics
- Mapping – What is mapping? What can I map?
- Mapping with arrays – How to map items in an array
- Aggregate an array for mapping complex fields
- Tokens for
parseDate
| Tokens forformatDate
- HTTP modules – Make a request, Get (download) a file
- Webhooks – Error Handling, Responding to webhooks
Articles & Videos
- Router Magic Formula - YouTube
- Error Handlers in Make - YouTube playlist
- Getting started with OpenAI
- How to use Regex in Make
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