Expand Virtual Agent widget when launching the Service Portal page

Nicole Botty
Tera Contributor

Hi ServiceNow colleagues,

Did (one of) you find a way to have the Virtual Agent opened at the launch of the Service Portal?

Now you see the widget displayed in the right corner below, but we receive feedback of our customers that this is often overlooked. So we thought it would be a good idea to immediately open the widget and start the "Greeting" message as soon as the Service Portal page is launched.

Thanks in advance for your suggestions,
Kind regards, Nicole

3 REPLIES 3

Community Alums
Not applicable

Hi @Nicole Botty ,

Please follow below steps to achieve your requirement:

1) Navigate to the module "widget" and open the widget named as "Virtual Agent Service Portal Widget" as shown below:

 

2) Open the widget and clone the widget in order to make a Change to the Size of the Icon as shown below:

.sn-va-widget-icon {
    	background-image: url('/images/sn-va-sp-widget/sn-va-sp-widget-icon.svg');
      height: 32px;
      top: 1px;
      left: 12px;
      width: 36px;
      display: block
    }

Change the width and Height as you require. Screenshot for reference:

3) Now once the CSS is modified you need to add your Custom cloned widget back to the Page as well, so please follow below steps to achieve the same:

  1. Navigate to Service Portal > Service Portal Configuration in the navigation bar to open the Service Portal configuration page.
  2. Click Designer to open the Service Portal Designer.
  3. Select the Service Portal page where you want the Virtual Agent widget to appear.
  4. Use the Filter Widget text box in the navigator to filter the widget list for the term Virtual Agent.
    Virtual Agent Service Portal Widget in the Widgets list
  5. Click and drag this widget to the bottom of the page.

    The widget itself appears empty, however, you should see a floating blue chat widget icon at the bottom right of the page.

    Virtual Agent widget icon, visible in the bottom corner of a Service Portal page

     

    Referred from this thread.

    Mark my answer correct & Helpful, if Applicable.

    Thanks,
    Sandeep

Nicole Botty
Tera Contributor

Thank you for your response @Sandeep Dutta !
This is indeed a good way to enlarge the widget itself. 

However, I was wondering if it could also be arranged that the chatbot window opens when opening the service portal. So instead of showing the widget, the chat window opens and the Greeting topic is started.
Up till now I was not able to find any documentation on this. 

 

Many thanks,
Nicole

Community Alums
Not applicable

HI @Nicole Botty ,

I don't think there is a OOTB/ direct way to achieve this sorry !!

But your original question has been answered i believe ,kindly mark the answer as Correct & Helpful both , if applicable such that others can get help.

Thanks,
Sandeep