I am currently building a chatbot that implements user input to return some information from a backend service based on the user responses. The user searches for a business partner name, and an API returns information related to the partner.
If a user is presented with a list of buttons, I need to store their button choice in memory so that it can be searched for in the API URL. So if there are 4 buttons, and the user selects button 3, I need to store the value of button 3 in memory to complete the task in the chatbot.
This is how the button is created using scripting syntax.
Any help would be greatly appreciated.