Let your Virtual Agent ask a question – Cognigy.AI Help Center
Let your Virtual Agent ask a question
Cognigy Support
December 9, 2024
Make your Virtual Agent collect data and use it in a conversation
Your Virtual Agent (VA) can interact with human users and collect all data it needs to make the conversation successful. Let's start by making the VA ask a simple question.
#1 Add a Question Node
Click the plus-icon after your Say Node and add a Question Node. Learn more about Question Nodes in our documentation.
#2 Configure the Question Type and enter your question
Under "Type" you can select from prebuilt Questions variants. The Types are helpful to automatically transform user entries into well-defined datasets that can be easily processed later in the Flow. In this tutorial, simply select "Text" to allow free form entry. Add a question in the Text field, e.g.:
What's your name?
#3 Make the VA use the answer
Now let's use the input to make the VA respond. Add a Say Node after the Question Node. In the text field, use a greeting like "Hello" followed by a space character. Now prompt the user's input using a Token: Click the AI-icon on the right of the Text field and select "Last Question Result".
#4 Try it out!
Go to the Interaction Panel and say hello to your VA. You'll be asked for your name. After answering, the VA will now greet you as expected.
#DONE! Next, let's roll out your Virtual Agent
Getting Started with Intent-based bots
- Create a Virtual Agent
- Design a Flow and add a Message
- Chat with your Virtual Agent
- Let your Virtual Agent ask a question
- Deploy your Virtual Agent
- Train your Virtual Agent to recognize Intents
- Make your Virtual Agent act based on user Intent
- Match User Expressions with a Lexicon
- Let your Virtual Agent respond to Keyphrases
- Fetch data from an external API and work with it
Table of contents
#1 Add a Question Node