Address a chatbot user by name

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 address your chatbot user by name.

We don't want to make duplicate passages with every possible name. Instead, we'll use a placeholder for the name in the passage content, called a variable. Before the chatbot starts the passage, it will update the variable with the correct value.

In this guide, we're going to:

  1. Create the variable we'll use to store the chatbot user's name.
  2. Create a passage where we ask the chatbot user their name.
  3. Store the chatbot user's reply in our variable.
  4. Create another passage where we use the variable to address the chatbot user by name.

To start, let's create our variable.

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