On Sinch Engage, you can save variables by using a Collect info block. Another way to save variables is by remembering the customer's choice on a button click.
To save a variable under a button click:
- Add Reply buttons to your Chatbot builder.
- Edit the title, textfield, and give your first button a name according to your use-case. For this example, our bot will ask the user what kind of pizza they would like to order.
- Click on Optional to open the dropdown.

- Click on Add variable to add a variable when a user clicks on this button within a conversation. Here, you could choose to select a customer property. In our example, we will name the variable "pizza" and we will give it the value "margherita" when a customer clicks on the Margherita button.
- Add another button and do the same for another value.

- Save your changes by clicking on the checkmark at the upper-right corner of the window.
- Open a following dialog in your builder and re-use your variable by putting in between {}.

- Test your bot. Your bot now remembers the customer's choice under a variable and can use it again!

See also:
Add variables to your text messages
Collect info in your conversation
Create a customer property