Or on a quick response?
Yes, it is possible to save the value of a variable {{…}} when clicking on a button in your chatbot and/or a quick reply. All you need to do is select ‘user input’ in the button action panel when configuring the button.

In addition:
– Buttons (Messenger)
– Buttons (Web Chatbot)
– Quick Replies (Messenger)
– Quick Replies (Web Chatbot)