How to initiate Live chat on clicking on button

Neeta1
Tera Contributor

Hi Experts,

Is there any way to initiate the Live chat on button clicking  ?

Already Virtual agent has been configured on portal and now the requirement is on particular form button in portal Live agent chat should start.

Can someone please suggest how to implement this requirement ?

Thanks in advance.

11 REPLIES 11

you can use the topic sysid directly in URL, this will invoke live agent

sysparm_topic=<sys_id>

example:

$sn-va-web-client-app.do?sysparm_topic=ce2ee85053130010cf8cddeeff7b12bf

Muralidharan BS
Mega Sage
Mega Sage

It is possible.

if you are using connect chat then this is the url, you can embed this url in macros on your form. 

- https://instance.service-now.com/$chat_support.do?queueID=f4d701b1b3900300f7d1a13816a8dc8e

replace the sysid from chat_queue.

 

if you are using Agent chat, then the url is 

- https://instace.service-now.com/$sn-va-web-client-app.do?sysparm_topic=ce2ee85053130010cf8cddeeff7b12bf

 

sysparm_topic is the topic sysid of the liveagent support from sys_cs_toipc table. 

 

Thanks