Recognizing a returning user
A good bot makes users feel as if they're talking to another human. So when a user already talked to the bot, and your bot starts the next conversation as if it never met that same user before, the conversation feels a lot less natural and the bot appears dumb for not remembering this user.
That is why our platform allows you to recognise and greet returning users differently, by using saved variables from previous sessions.
By now you should know that every conversation starts with the introduction dialog:
The introduction dialog kicks off every conversation
By default, the introduction dialog is a
Bot messagewhere you can greet the user and start the conversation:
However, instead of greeting the user right away, you can use this dialog to first check if the bot has talked to this specific user before. To do so, you can the introduction bot message into a go-to message:
Under 'Type', select 'go to' to convert the dialog into a go-to message
By using the variable
known_user_flag, the bot can check whether it has talked to this specific user before, and redirect them to a personalised introduction.
To do so, you'll need to create an 'if-statement':
1, the bot knows that there has been a conversation with this user before, otherwise this variable would be empty. Now the user can be redirected to an introduction message for returning users.
- Else if
known_user_flagdoes not exist, the user is a new user and should be redirected to an introduction for new users. At the same time, you should set the
1because now, the user is not new anymore.
Setting the 'known_user_flag' variables to recognise a returning user
Creating 2 different introductions: one for new, and one for returning users
Using a personalised introduction for returning users already creates a great user experience:
The bot seems smart because it recognises the user
However, you can take the conversation to the next level by using other known variables from previous sessions.
For example, the Choo Choo bot can reuse the values 'origin' and 'destination' from previous user conversations to suggest a new and personalised journey.
Before you can use any values, you'll first need to check whether any have been saved already:
Setting up a go-to to recognise previously saved values
...and if these values indeed exist, the bot needs to redirect to a specific dialog, using these known variables:
What a great experience, this bot knows what I did last time!
This way, previously saved variables can create a truly personalised experience for returning users and make your bot look super duper smart 🤓