Virtual Agent | Input Collector user input control
in Virtual agent designer use the input collector control to organize your topic flows and leverage generative AI for creating seamless user interactions in our example we've built a topic flow for gathering information from users to fulfill a t-shirt order we need to know the user's preferred t-shirt style their size and what message they want silk screened on the front of the shirt in the topic properties tab we selected lln for the model type this allows us to use generative AI in our topic the first three nodes are llm enabled user input fields in the detailed description field we tell the llm what specific response we need from the user by default the user prompt will be generated by the llm we could override this and enter a message to display but using the lm's ability to generate messages streamlines the process and frees up our time we added a text node to generate a response to the user after they've answered the questions in the response message field we added the wording to acknowledge the user selections listing each input variable we collected and adding the corresponding data pill from the data pill picker then we confirm their selections have been saved now let's test our topic flow we see the user prompts that the llm generated for us now let's see how adding an input collector node to gather all our t-shirt options string lines our topic flow adds a summary at the end and creates a seamless experience for our users the input collector acts as a wrapper for these other user input controls we just drag and drop them onto the collector block you can add up to five input controls but this can be changed by editing the VA input collector Max nodes system property the data in the input Fields hasn't changed since we added them to the input collector in fact we can drag them back out drag them back in and reorder them as we like we can also collapse the input collector with one click which is handy when you have a long topic flow the confirmation message is active by default and will display when all the inputs for this collector are received with the input collector's confirmation message we won't need the text response node at the end of the flow so we delete it now let's see what happens when we test the flow after adding the input collector users can change their choice for any of the inputs over the course of the entire conversation here we simulated a user changing their mind twice the changes are seamlessly blended into the conversation giving the user a friendly and receptive experience with virtual agent and here's the confirmation message allowing the user to verify their choices as we've seen the input collector control provides you with many benefits as opposed to stringing together multiple input nodes as their building topic flows topic authors can collapse them to streamline the topic flow on the canvas generative AI can build user prompts freeing up topic authors to focus on developing the topic flow and will generate a summary message when all the required inputs are collected end users can confirm their choices or make changes without having to redo the conversation which allows for conversations to flow more naturally try using the input collector to help you better organize your topic flows and Leverage The Power of generative AI to streamline your virtual agent development process to learn more see our product documentation or knowledge base or ask a question in the service now community
https://www.youtube.com/watch?v=oksEmImZxGc