How to initiate Live chat on clicking on button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 03:22 AM
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.
- Labels:
-
Agent Chat
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 07:42 AM
Hi Murali,
Thanks for your response.
We are using agent chat and URL is not working as expected.
There is a function "vaSystem.connectToAgent()" which initiates Live chat , however I am not sure how can I pass this function in Virtual agent flow.
Any suggestion here please?
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 04:41 AM
Hi Neeta,
Try this method,
Go to sys_cs_topic.list, check for a topic called - Live agent.
Then substitute the sys id from either in the url after sysparm_topic=
https://instace.service-now.com/$sn-va-web-client-app.do?sysparm_topic=ce2ee85053130010cf8cddeeff7b12bf
in my case it is 9d384761b3633300dbbf6030c6a8dcaa or ce2ee85053130010cf8cddeeff7b12bf
Make sure there is no active conversation when testing. When I hit this url then it will route you to live agent based on your Advance work assignment setup, I dont have agent online so below info msg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 05:25 AM
Hi Murali ,
Thanks for your response.
I have tried with this URL, this view is totally different don't want it in this view.
Also when agents are available then also getting response "There is no agents available error".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 08:27 AM
I got it, but I dont think there is any option to do that easily.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 04:19 AM
Hi Murali,
I have enabled NLU and by passing the keyword Live agent flow is initiating.
Could you please suggest if I can pass the keyword from the button to start the Live agent flow , currently passing the URL https://<> /$sn-va-web-client-app.do.
Is there any way to also pass the keyword e.g. "Live" ?
Thank you.