sullivan.mrr
TTypebot
•Created by sullivan.mrr on 3/24/2025 in #help-and-questions
How to return multiple cities from the API and set a variable with the INSEE code when a city label
Thank for your help
7 replies
TTypebot
•Created by sullivan.mrr on 3/24/2025 in #help-and-questions
How to return multiple cities from the API and set a variable with the INSEE code when a city label

7 replies
TTypebot
•Created by sullivan.mrr on 3/24/2025 in #help-and-questions
How to return multiple cities from the API and set a variable with the INSEE code when a city label
I set the data.features of the API response into the variable listCities. I want to display x listCities buttons in the Typebot's button component. However, when I click on them, I would like to retrieve the citycode, not the label that is shown on the button.
7 replies