Add URL in an option in Virtual Agent

sarabjeet
Giga Expert

Hi,

How can we add a URL inside and option So that when a user selects that option, then gets redirected to that URL?
8 REPLIES 8

Mark Roethof
Tera Patron
Tera Patron

Hi there,

You could have an option to open a URL in a new page, though not to redirect.

So redirecting like your mentioning, not possible.

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

Hi Mark,


Pleas let me know how can we open it in a different page using an option button inside VA?
​
Regards,
Sarabjeet

Hi Mark,

Kindly help with this.

Regards,

Sarabjeet

IC2
Tera Expert

Hi Sarabjeet,

One idea could be to use a HTML bot response with a couple of buttons. When the users click in the button, they get redirected to your desired URL in a new browser tab.

This is a very basic example:

 

find_real_file.png

The HTML code for the above is the following:

<html>
    <body>

   <p>Please select one of the following two URLs to get redirected: <p>
       
        <a href="https://URL1.com" target="_blank"><button> URL1 </button></a><br>
        <a href="https://URL2.com" target="_blank"><button> URL2 </button></a>

    </body>
</html>

It would be recommended to apply some style to those buttons to accommodate the format to your VA branding style.

KR