Enable the virtual agent pop-up bubble to invite user to chat with the following message “Hi [User First Name], chat with me if you need help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2021 08:36 AM
Hi All,
Kindly guide me how to "Enable the virtual agent pop-up bubble to invite user to chat with the following message “Hi [User First Name], chat with me if you need help!"
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2021 06:06 AM
Yes Mark

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2021 07:52 AM
So did you try to edit the widget then? You could just strip the mouse hovering part.
If you don't have that much knowledge of service portal widgets, then you might also use this, and just setting the time to 0 seconds.
Virtual Agent feature bubble (2), auto display after N seconds
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
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
08-17-2021 09:13 AM
Hi Mark,
I have modified OOB widget,
HTML:
<div class="conversation-button-container">
<div class="conversation-region fade"
ng-class="{'open': $ctrl.isWindowVisible}">
<div class="sn-connect sn-connect-floating">
<div class="sn-connect-floating-wrapper loaded">
<div class="conversation-container">
<iframe title="${Chat Support}" class = "chat-frame" scrolling="no" horizontalscrolling="no" verticalscrolling="no" frameborder="none" ng-src="{{$ctrl.vaSource}}">
</iframe>
</div>
</div>
</div>
</div>
<div class="myBubble" ng-if="!$ctrl.isWindowVisible">${How can we help you today?}</div>
<div ng-if="c.enableConversationBubble" class="conversation-bubble">
<font class="conversation_bubble_question">{{::data.conversationBubbleQuestion}}</font><br />
<font class="conversation_bubble_answer">{{c.conversationBubbleAnswer}}</font>
</div>
<button aria-label="${Start Support Conversation}"
class="help-button"
ng-attr-tabindex="0"
ng-class="{'state-open': $ctrl.isWindowVisible, 'state-unread': $ctrl.hasUnreadMessages}"
ng-click="$ctrl.toggleWindow()"
ng-style="{'background-color': $ctrl.options.button_color}"
ng-attr-tabindex="0">
<div class="hover-overlay"></div>
<span aria-hidden="true" ng-class="$ctrl.isWindowVisible ? 'help-icon icon-close icon-cross' : 'help-icon icon-open sn-va-widget-icon'"></span>
</button>
</d
Server script :
var userFirstName = gs.getUser().getFirstName();
data.conversationBubbleQuestion = gs.getMessage('Hello, {0}. Chat with me if you need help!', userFirstName);
var instanceGR = $sp.getInstanceRecord();
options.va_url_params = options.va_url_params || "";
options.button_color = options.button_color || "red";
})();y
With out that highlighted code its working like below I am getting in the portal but in i need to display message like Hi "firstname" some text here.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2021 09:19 AM
That's just because of this line right?
<div class="myBubble" ng-if="!$ctrl.isWindowVisible">${How can we help you today?}</div>
So just update it.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
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
08-17-2021 09:43 AM
Mark,
Now i don't want to display that message :
How can we help you today
Instead of that i need to display message : Hi{user firstname},how can we help