Capture user input from Static Choice and redirect

AleOliveira
Tera Contributor

I am currently working on a Virtual Agent topic in ServiceNow, and I need some help with capturing user input from a "Static Choice" node by enabling the "Conversation Switching" option and then redirecting the user based on their input.

Here is what I am trying to achieve:

  1. I present the user with a Static Choice node with options like "IT", "Doubts", "Open Calls".
  2. I have enabled the "Conversation Switching" option to allow users to enter free text.
  3. I want to capture this free text input and store it in a variable.
  4. Based on the user’s input, I want to redirect the conversation to different topics using a Decision node.

 

My question is: Is there a way to capture the user input directly from a Static Choice node by enabling "Conversation Switching" and redirect to another topic based on this input without having to prompt the user again? Any examples or guidance would be greatly appreciated.

Thank you for your help!

2 REPLIES 2

Praveen Kumar30
Tera Contributor

Hi @AleOliveira,

 

We are also stuck with same requirement. Can you please let us know If you have any solution it would be better to solve the issue. 

 

Regards,

Praveen

AnaBeatrizA
Tera Guru
Hey I was not able to use the "Conversation Switching", instead I used the
"vaVars.global_search_text = vaInputs.user_input;
vaSystem.topicDiscovery();"

And worked perfectly