Welcome to the Make community!
You can use the built-in functions map
and get
to access variables within an array.
To do this, you can use the built-in function map
—
{{ map(complex array; key; [key for filtering]; [possible values for filtering separated by a comma]) }}
and the built-in function get
(or first
) —
{{ get(object or array; path) }}
so you get something that looks like this —
{{ first(map(1.array; "value")) }}
{{ first(map(1.array; "value"; "name"; "content-type")) }}
e.g.:
{{ first(map(11.array; "value"; "name"; "Energy Score")) }}
{{ first(map(11.array; "value"; "name"; "Top Win")) }}
...
(copy-paste the above into the field, or type it exactly as shown)
For more information, the function documentations can be found in the Help Centre and the “Mapping with Arrays” link below. You should also complete the tutorials in the Make Academy, especially Using get() and map() functions.
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 —
Learn Make
- Help Centre | Tutorials – Make’s “manual” - search for help here first
- Make Academy – Basics 101: Learn Make properly to get your money’s worth
- Mapping – What is mapping? What can I map?
- Mapping with arrays – How to map items in an array
- Date Format: tokens for
parseDate
| tokens forformatDate
- HTTP modules – Make a request, Get (download) a file
- Webhooks – Error Handling, Responding to webhooks
How-Tos
- Router Magic Formula - YouTube
- Error Handlers in Make - YouTube playlist
- Aggregate an array for mapping complex fields
- Getting started with OpenAI - How to setup and use OpenAI in Make
- Text Parser module - Use pattern matching to extract the text you want
- Webhooks – Make Academy - tutorial on how to use Webhooks
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!