Welcome to the Make community!
The map
function works this way:
Let’s take your example:
{{ map(10.books; "book_title"; "genre"; "Action") }}
This is the equivalent of saying:
- For the array
10.books
, - I want to get only the
book_title
value of each book, - Where the
genre
is equal toAction
(case-sensitive)
so now you have an array of only book titles.
You could stop here, and don’t really need to “split” them into separate variables like “ActionBookRequest1st” etc., but I think this tutorial is teaching you how to reference individual items from the map function/array.
Hope this helps! Let me know if there are any further questions or issues.
For more information on map and get, see “Mapping with arrays” below:
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 —
Getting Started
- Help Centre | Tutorials – Make “Manual”
- Make Academy – Basics 101: Learn Make and get certified
Help Centre 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 setup and use OpenAI (ChatGPT) in Make
- How to use Regex in Make - How to use pattern matching to extract the text you want
Partner & Custom Apps
— @samliew