# 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.](https://docs.cognigy.com/docs/question#)

#### #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](https://support.cognigy.com/hc/en-us/articles/360014662839)**

### Getting Started with Intent-based bots  
- [Create a Virtual Agent](https://support.cognigy.com/hc/en-us/articles/360014523060-Create-a-Virtual-Agent)  
- [Design a Flow and add a Message](https://support.cognigy.com/hc/en-us/articles/360014524180-Design-a-Flow-and-add-a-Message)  
- [Chat with your Virtual Agent](https://support.cognigy.com/hc/en-us/articles/360014514720-Chat-with-your-Virtual-Agent)  
- [Let your Virtual Agent ask a question](https://support.cognigy.com/hc/en-us/articles/360014610060-Let-your-Virtual-Agent-ask-a-question)  
- [Deploy your Virtual Agent](https://support.cognigy.com/hc/en-us/articles/360014662839-Deploy-your-Virtual-Agent)  
- [Train your Virtual Agent to recognize Intents](https://support.cognigy.com/hc/en-us/articles/360014776879-Train-your-Virtual-Agent-to-recognize-Intents)  
- [Make your Virtual Agent act based on user Intent](https://support.cognigy.com/hc/en-us/articles/360014735020-Make-your-Virtual-Agent-act-based-on-user-Intent)  
- [Match User Expressions with a Lexicon](https://support.cognigy.com/hc/en-us/articles/360014776979-Match-User-Expressions-with-a-Lexicon)  
- [Let your Virtual Agent respond to Keyphrases](https://support.cognigy.com/hc/en-us/articles/360014735200-Let-your-Virtual-Agent-respond-to-Keyphrases)  
- [Fetch data from an external API and work with it](https://support.cognigy.com/hc/en-us/articles/360015006459-Fetch-data-from-an-external-API-and-work-with-it)  
  
#### Table of contents  
#1 Add a Question Node  
- [#1 Add a Question Node](https://support.cognigy.com/hc/en-us/articles/360014610060-Let-your-Virtual-Agent-ask-a-question#-1-add-a-question-node-0-0)  
- [#2 Configure the Question Type and enter your question](https://support.cognigy.com/hc/en-us/articles/360014610060-Let-your-Virtual-Agent-ask-a-question#-2-configure-the-question-type-and-enter-your-question-0-1)  
- [#3 Make the VA use the answer](https://support.cognigy.com/hc/en-us/articles/360014610060-Let-your-Virtual-Agent-ask-a-question#-3-make-the-va-use-the-answer-0-3)  
- [#4 Try it out!](https://support.cognigy.com/hc/en-us/articles/360014610060-Let-your-Virtual-Agent-ask-a-question#-4-try-it-out--0-5)
