How to open Virtual Agent if a user is idle for a certain amount of time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 03:54 AM
How do I open Virtual Agent automatically with the message "How can I help you?" if a user is idle for a certain amount of time in the Employee Center?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 03:59 AM - edited ‎07-25-2023 03:42 AM
To open a Virtual Agent automatically with the message "How can I help you?" when a user is idle for a certain amount of time in the Employee Center, you will need to implement a combination of JavaScript code and event listeners on your website category best camping gear. The exact steps to achieve this will depend on the specific chatbot or Virtual Agent platform you are using and the Employee Center's implementation details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 04:06 AM
Thank you @DylanIsaac We are using Virtual Agent in our Employee Center, should we edit our virtual agent code to achieve this requirement, and is there any syntax available to open Virtual Agent automatically?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 04:19 AM
Hi there,
Perhaps this helps:
- 2021-02-24 - Article - Toggling Virtual Agent chat client (using Agent Chat configuration!), manually, automatically, using...
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2023 04:20 AM
Another option could be Proactive Triggers:
- 2023-03-21 - Article - Proactively sending context-specific messages to end users with Virtual Agent Proactive Triggers
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field