RASA slot filling from buttons

I am creating buttons dynamically based on values that I am getting from an API. I want to set a slot same as title of the button that the user is choosing. How can I do that ?

Welcome to the forum :slight_smile:

In a custom action, this is how you do it:

button = {'title': value,  'payload': '/intent_name{"slot_name": "'+ value + '"}'},
1 Like