Virtual Agent Easter Eggs

johndoh
Mega Sage

Has anyone implemented any types of easter eggs within their Virtual Agent? I just implemented this as one and made me wonder if others out there have something similar.

 

johndoh_0-1687552537252.png

In case you would like to do the same I created 3 script variables:

johndoh_1-1687552620551.png

The default value of url is https://letmegooglethat.com/?q=

 

In the replace spaces block I am using

(function execute() {
    var str = vaInputs.enter_text.toString();
    var res = str.replace(/\s/g, '+');
    vaVars.search = res;
    vaVars.combine = vaVars.url +res;
})()

In the Let Me Google This HTML Block the HTML Message is

<html>
    <body>
    <a href={{vaVars.combine}} target="_blank">Search Results</a>
    </body>
</html>

 

2 REPLIES 2

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Easter Eggs in Virtual Agent... did some 🙂

- Randomizing messages, having 2 or 3 different sentences available for often used Bot Responses (now there's an kind of similar out-of-the-box function)

- Greetings adjusted to the time / day of the week, to tell you that you need to close your laptop 🙂

- Changing the Virtual Agent client icon on holidays

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

I do like the holiday theme idea, make it a little more user friendly. At this time I already have 4 greetings and don't really want to add another 😂

 

I had to add to a special greeting for admins 😁

johndoh_1-1687623603128.png