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!!