how to restrict user to Input in VA chatbot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2025 04:01 AM
hi Team,
current Functionality:
When user opens chatbot, it will connect to Virtual agent and shows greeting messages.
We have created a promoted topic "chat With Us" when user clicks on Chat with us it will connect to Live agent.
But issue is even though Chat with us button showing to user, End users are giving input in type message.
Would like to restrict user to giving input until it's connect to live agent. Could you please help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2025 04:43 AM
Hello @anusha reddy v1,
Please try below steps to achieve your requirement:
Go to your Greetings topic and duplicate it.
Adjust the duplicated topic as follow and publish it:
In the Topics node, you can specify the topics you want to be listed with your greetings.
In each of your decision tree, Adjust the condition as per the user selection:
Example:
On each script node of the topics, provide the following script: (Topic SysIds can be taken from sys_cs_topic)
(function execute() {
vaSystem.switchTopicById("676733dc93210250b2349bac24891869"); //Adjust the sys id for each topic selection
})()
Navigate to Conversational Interfaces > Settings
Click on Virtual Agent and View All as highlighted below
Click on your Greeting topic
Select the newly created topic
Results:
I hope this help!
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2025 05:38 AM
hi,
Thank you for the reply. But i don't have choices, i only have one option "chat with us".
Is there any other alternative please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2025 05:05 AM
You can use the approach shared by @Medi C
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2025 06:22 AM
Hi @anusha reddy v1, you can use that as one only choice.
Or if you want the topic to start immediately you can adjust the topic "chat with us" to include Greeting messages at the beginning and set up that topic in the Greeting topic.
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
