Virtual Agent Topic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
When the user enters a input in the virtual agent and the input gets mapped to a topic using the NLU inside the topic I want to use the original input entered by the user for something inside the topic any clues on how to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Yes — you can do this, and it’s fairly straightforward.
At the very start of the topic, capture the user’s original utterance the text that triggered the NLU match into a topic variable, for example with a Set Values or Script step. Use the system value like User Utterance / Last user message, store it original_input and then reuse that variable anywhere later in the topic or pass it to a Flow.
Key point Here: grab it immediately, before asking the user another question, or it will be overwritten.
@Adesh26 - Please mark as Solution Accepted and Thumbs Up if you find Helpful!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
hey @Adesh26
When a user types something into the Virtual Agent, that original utterance is automatically stored in the VA context. Even if the NLU maps it to a topic, you can still reuse what the user actually typed.
Virtual Agent Designer user input controls
Try the above article for any further help.
Hope that helps 🙂
Please mark this as helpful if it solved your issue, it’ll make it easier for others to find the solution too.