Use buttons within your chatbot to set variables or parameters and easily follow up with conditions.
In most cases buttons within chatbots are used to send text or to trigger event. You can also use buttons to set certain variables or parameters within your conversational design. This article will show you how to add parameters to buttons or quick replies and how you can easily follow up with Conditions.
How it works
To set parameters by using buttons you can use buttons within a card or quick replies. Select the button and the panel on the right allows you to add:
- Label: the name of the parameter
- Value: the actual value that you would like to add for that parameter
You can combine these parameters with Conditions to easily alter your workflow based on the value of a parameter or use actions for API calls or other integrations.