Virtual Agent to automatically greet the user.

shashankupa
Tera Contributor

I have a use case where, after submitting a specific catalog item, I want the Virtual Agent to automatically greet the user and continue the conversation based on their request. How can I invoke a specific VA topic programmatically or through a post-submission UI action?

1 ACCEPTED SOLUTION

nityabans27
Mega Guru

Hi @shashankupa ,

You cannot trigger a Virtual Agent topic using sn_va_conversation.VAConversation() in a PDI.

You cannot programmatically start a VA conversation in PDI using anymethod. You're blocked by platform restrictions, not script errors.

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@shashankupa 

I doubt you can invoke a topic from script.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

GlideFather
Tera Patron

@shashankupa 
This is not how the VA is supposed to be used.

If there is a method for it, that would be so complex that it will most likely not be worthy of creating it...

Isn't there any other option? After the submisison, what is supposed to be there in the VA, couldn't it be replaced by a modal window or redirection to somewhere else?

Please provide more details of the design to think of alternatives

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


nityabans27
Mega Guru

Hi @shashankupa ,

You cannot trigger a Virtual Agent topic using sn_va_conversation.VAConversation() in a PDI.

You cannot programmatically start a VA conversation in PDI using anymethod. You're blocked by platform restrictions, not script errors.