Share feedback, ideas and get community help

Updated 4 months ago

Map item with same index sample

At a glance

The community member is looking for a practical sample or video tutorial to help them understand how to use a certain functionality, as they found the documentation a bit confusing. They have also requested a JSON exported flow to better understand the usage. In the comments, another community member suggests checking the Movie recommendation template, which uses the same preset. The original poster responds that they have checked it, but a small JSON flow would be better for them. Another community member then provides an example scenario where having a list of item names and their corresponding IDs can be useful, and explains how to use the Map item to retrieve the appropriate ID based on the selected item name.

Hi, is there some practical sample or video tutorial showing how to use this funcionality? I found the docs a bit confuse. A json exported flow will be appreciated. Thanks
B
L
5 comments
Have you checked the Movie recommendation template? It uses this preset
Hi, I checked it. But I a small json flow will be better to me.
Imagine you have 2 lists:

['Item name 1', 'Item name 2', 'Item name 3']
['item-1-id', 'item-2-id', 'item-3-id']

If your user selects a "Item name 2" option, there is a good chance that you want the approriate ID (which is item-2-id) later on.

To do so, you can use the Map item with same index to retrieve the right ID.
Does that make more sense?
Add a reply
Sign up and join the conversation on Discord