# Understanding Fallbacks

Fallbacks are what happens whenever the AI runs into a situation that it doesn't know how to handle. This could be something like the contact giving a gibberish answer, sending photos, which the AI can't understand, or something unexpected happening in the conversation. When this happens, the AI will, by default, stop responding to the contact, add a tag called "fallback\_reached", and there will usually be an entry added to the fallback section of the portal!

Fallbacks can also potentially happen whenever the AI fails to book an appointment, such as the booking function failing, and when this happens our system will add a fallback\_reached tag in this instance as well.

To solve for this sort of thing, you can set up a workflow that notifies a team member to come and take over whenever the fallback\_reached tag is added!

## The Fallback Section

Whenever a fallback happens, it is added to the fallback section in the Capri portal.

<figure><img src="/files/XmhhZoJCDorSfrmd0D53" alt=""><figcaption></figcaption></figure>

Here you're given information about each fallback event, with information about the agent that triggered it, the time of the fallback, what the AI was going to say, etc. and you can click on the details button for each occurrence for more specific information!

To help train the AI to handle fallbacks better, you can also use the "acknowledge" or "reject" actions here, denoted by the check and x buttons in the actions section. What this does is tell the AI if the fallback was correct, and it should've reached a fallback there, using the "acknowledge" button, or if the fallback was wrong, and it shouldn't have reached a fallback there and sent the message through, using the "reject" button. Training the AI like this will help the AI be more accurate in the future, and help prevent incorrect fallbacks going forward!&#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://help.capriai.us/capri-portal/understanding-fallbacks.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.
