# FAQ

{% hint style="info" %}
*Use this template when you want to enable your virtual agent to **answer simple FAQs**.*
{% endhint %}

To use this template, simply choose it from the templates page when you create a new agent. You can then make changes to customize it based on your business needs.

![](/files/-Mb2C07QV20QgcR_fi94)

### Flow Overview

#### Step 1 - Starting the Conversation

We start with a *Speak* node introducing the company to the caller. Using the *Speak* node we don't expect any input from the caller in this node.&#x20;

**Step 2 - Collect the Caller's Query**

After the greeting, we want to know why the caller is calling. This means that we are looking to collect a value from the user input - with the help of the *Collect Input* node.

In case we can't collect the caller's input, the agent will route the call to a live representative. Therefore, the *No Input* and *Missed* tabs are connected to a *Speak* node, notifying the caller that in this case the call is being routed, followed by the *Route Call* action node.&#x20;

#### Step 3 - Match the Caller's Input

The classification node will match the caller's input to the right response in the right intent. If the agent can't match the input to the right intent, the *Missed* tab comes into place, which in this case is connected to the *Speak* and *Route Call* node that transfers the call to an agent.&#x20;

In order to give out a response with the answer to the FAQs, we utilize *Speak* nodes.&#x20;

#### Step 4 - Be prepared for all eventualities

Once the caller has received his response, we want to enable the caller to continue in the conversation in case they have more questions. With an additional *Collect Input* asking in the prompt, e.g. “Do you have any other questions?”. &#x20;

Similar to the first *Collect Input* node we used, in case we can't collect the caller's input, the agent will route the call to a live representative. Therefore, the *No Input* and *Missed* tabs are connected to a *Speak* node, notifying the caller that in this case the call is being routed, followed by the *Route Call* action node&#x20;

It is possible that a caller answers not directly with a new question, but with "yes" or "no". To cover all bases, we are adding a yes and no intent to the *Classification* node. If the caller answers "no", we will end the call using a speak node to let the caller know about the call termination followed by an *End Call* node. If the caller responds with "yes", we are connecting this tab to the original *Collect Input* asking the caller "How can I help you today?" which enables the caller to ask their question.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://studio.docs.ai.vonage.com/ai-studio/templates/faqs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
