How to record a variable when the user clicks on a button?

Or on a quick resply?

Yes it is possible to record the value of a {{…}} variable when clicking on a button of your chatbot and/or a quickreply, you just have to select“user input” in the action panel of the button when configuring the button.

Button - User input

The buttons (Messenger)
The buttons (Chatbot Web)
Quick Replies (Messenger)
Quick Replies (Web Chatbot)

Create your Chatbot Easily and for Free!