Share feedback, ideas and get community help

F
M
a
g
E

Map item with same index sample

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
Join