Confirm a user's selection

Personalising your chatbot's responses helps your chatbot user feel they're being heard and valued. A simple way to personalise your content is to confirm the option the user has selected in the chatbot's next response.

We don't want to make a lot of extra passages just to specify different selections when the content would otherwise be the same. Instead, we'll use a placeholder for their selection in the passage content, called a variable. Before the chatbot sends the passage to the user, it will update the placeholder with the correct value.

In this guide, we're going to:

  1. Create the variable we'll use to store the user's selection.
  2. Create a passage where we ask the user what they would like to do.
  3. Store the user's selection in our variable.
  4. Create another passage where we use the variable to confirm the user's selection in our response.

Make sure you've selected the team and chatbot you want to work with, and let's create our variable.

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.