Introduction

As with any new interface, your Virtual Assistant needs onboarding. A powerful way to onboard your employees is through the Welcome Message.

Use the welcome message to:

  • Greet Employees using EVA

  • Tell them about the scope of questions they can ask

  • Give them examples of questions that have been asked a lot or guide them through a carrousel of the main topics of knowledge EVA covers


(Advanced) Using Variables and memory in your Welcome Message

One of the most powerful features of Clevy OnDemand is the ability to use CSML to create contextual and personal experiences in your Virtual Assistant.

Here is a simple example of what you can easily do, and below is how to do it:

  1. The first time a user uses EVA, EVA asks the user how they want to be called

  2. The user types their name

  3. EVA remembers the name and goes to its "Normal" Welcome Message

  4. Next time the user reconnects to EVA, EVA will greet them by their name!

How did we do it?

Go to your Virtual Assistant Settings>Virtual Assistant basic interaction settings>Welcome message>edit.

We created a few content blocks to power that experience:

  1. A csml block with the code to remember the users' name the first time they use EVA and greet them by their name later

  2. A Text bloc, some Typing (2000ms) to smoothen the conversational experience and 3 "Buttons to knowledge" to link to existing articles.

  3. Some shorter Typing (1500ms) and a last call to action text, "How can I help you?๐Ÿ˜Š"

Here below is the CSML code that we used in that example and that you can reuse in your Virtual Assistant and you can try it here!


if (username) {
say "Hi **{{username}}**!"
say "It's nice to see you again.๐Ÿ˜„"
say Typing(2000)
}

else {
say "Hello I'm **Eva** ๐Ÿ˜„"
say OneOf(["What's your name?", "How do people call you?"])
hold

remember username = event
say "OK, I now know that your name is **{{event}}**."
say Typing(2000)
}

โ›”๏ธ In Clevy OnDemand, the CSML block correspond to a "Step", not a "Flow", which means that you should not use "start:" and "goto end" to start and finish your code.

๐Ÿ’ก Pro Tip: If you want to reset the memory of your virtual assistant, add "?debug=true" at the very end of your Virtual Assistant URL, a black footer will appear with a mention reset memory:


Did this answer your question?