Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to open virtual agent chat bot automatically when after page loading?

Community Alums
Not applicable

We have virtual agent chat in out home page of portal and we want it open/pop up automatically when page loading finishes. It there any way through programming or configuration setting to make it happen?

 What exactly should be the code changes? I f somebody has done it earlier please paste it over here too.

1 ACCEPTED SOLUTION

- Clone the out-of-the-box widget
- Apply the cloned widget to your Service Portal page or header/footer
- Update the Client controller and CSS script like below

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

View solution in original post

33 REPLIES 33

The images on this are no longer visible. Can you please reshare them or add the code directly into the comment?

Hi Mark,

 

Scripts are not visible to be, could you please share those scripts in text form?

Do you still have the script? Your images aren't showing anymore. Also, this is for the legacy app, but would it work for the current 'new' VA app as well?

What is your understanding of the wording "legacy app"? Or do you mean that nowadays the preferred method is using Agent Chat configuration? If so... I did wrote an article on that 🙂

 

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

Hi @Mark Roethof  I am very interested in this solution, however your images are no longer showing up.  Can you please share the images again?