---
title: "How To Use AI Agents Within Your Chatbots"
description: "Integrating an AI Agent Action into your existing Chatbots transforms them into autonomous assistants capable of resolving visitor inquiries using a knowledg..."
url: "https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/how-to-use-ai-agents-within-your-chatbots"
---

Integrating an **AI Agent Action** into your existing **Chatbots** transforms them into autonomous assistants capable of resolving visitor inquiries using a knowledge base you define. Think of your Chatbot as a versatile shell that can be wrapped around an AI Agent to provide as much or as little structure as your business needs.

Depending on your goals, you can utilize this integration in several ways:

* **The Minimalist Approach:** [**Embed the Chatbot on your website**](https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/embedding-your-chatbots-on-your-website) and use a welcome message to greet the visitor before handing the conversation entirely to the AI Agent.
* **The Deterministic Approach:** Use Chatbot Interactions and routing rules to gather visitor information while leveraging the AI Agent to answer visitor queries.
* **The Advanced Approach:** Deploy multiple AI Agents within a single Chatbot flow, each specialized in different knowledge areas, to provide a comprehensive, multi-layered visitor experience.

***

## Prerequisite

[Section titled “Prerequisite”](#prerequisite)

Before you can add an AI Agent to a Chatbot, you must first create it. For detailed instructions on this process, please refer to [**How to Create an AI Agent**](https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/how-to-create-an-ai-agent) article.

***

## How to Add an AI Agent to Your Chatbot

[Section titled “How to Add an AI Agent to Your Chatbot”](#how-to-add-an-ai-agent-to-your-chatbot)

The following steps detail how to integrate an AI Agent into your existing Chatbot.

### Step 1: Navigate to the Chatbot Flow Builder

[Section titled “Step 1: Navigate to the Chatbot Flow Builder”](#step-1-navigate-to-the-chatbot-flow-builder)

Follow these steps to access the Chatbot you wish to edit:

1. Click **Chatbots** from the left navigation menu.
2. Select the Chatbot that you want to add an AI Agent to.

### Step 2: Add the AI Agent Interaction

[Section titled “Step 2: Add the AI Agent Interaction”](#step-2-add-the-ai-agent-interaction)

Once you are in the **Chatbot Flow Builder**:

1. Drag and drop the **AI Agent** Action from the **Add Interaction** pane on the right into your Chatbot flow.
2. Use the **Select an AI Agent** dropdown to choose which AI Agent the Action should use.
3. Use the **Monitored By** dropdown to select which Team will be able to [**monitor and barge into**](https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/how-to-monitor-and-barge-into-ai-conversations) the AI Agent’s live conversations.
4. Click **Save** to finish adding the **AI Agent** Action.

### Step 3: Configure How the AI Agent Routes Visitors (Optional)

[Section titled “Step 3: Configure How the AI Agent Routes Visitors (Optional)”](#step-3-configure-how-the-ai-agent-routes-visitors-optional)

You can manage how the AI Agent directs visitors to other Interactions within your Chatbot by using the **Routing** tab. This ensures visitors are directed to the most appropriate next step.

You can choose to enable one, both, or neither of the following routing methods:

* **Route based on conversational content:** Allows the AI Agent to monitor conversation content and route visitors when specific rules, written in natural language, are met.
* **Route based on query resolution:** Allows the AI Agent to prompt visitors with Did that help solve your issue? after every meaningful answer. If the visitor selects Yes or No, they exit the AI Agent Interaction and are routed to the next Interaction based on the defined rules.

Caution

If no routing method is selected, the AI Agent will not route to any other interactions and the Chatbot conversation will close.

***

## Frequently Asked Questions (FAQ)

[Section titled “Frequently Asked Questions (FAQ)”](#frequently-asked-questions-faq)

#### Should I use the AI Agent to capture visitor information (like name or email)?

[Section titled “Should I use the AI Agent to capture visitor information (like name or email)?”](#should-i-use-the-ai-agent-to-capture-visitor-information-like-name-or-email)

No. If you need to capture specific visitor information, it is recommended to use the dedicated [**Question Interactions**](https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/adding-questions-to-your-chatbot) within your Chatbot instead of the AI Agent Action.

#### How do I offer scheduling through the AI Agent?

[Section titled “How do I offer scheduling through the AI Agent?”](#how-do-i-offer-scheduling-through-the-ai-agent)

You can use the **Routing** tab to direct visitors to a [**Booking Calendar Interaction**](https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/offering-scheduling-in-your-chatbot) once the AI Agent identifies that a visitor wants to book a call.

#### What happens if I don’t enable any routing options?

[Section titled “What happens if I don’t enable any routing options?”](#what-happens-if-i-dont-enable-any-routing-options)

If neither **Route based on conversational content** nor **Route based on query resolution** is enabled, the AI Agent will be the final step in the flow, and the conversation will close once the interaction ends.

#### How can I monitor or join an ongoing AI Agent conversation?

[Section titled “How can I monitor or join an ongoing AI Agent conversation?”](#how-can-i-monitor-or-join-an-ongoing-ai-agent-conversation)

Users in the Team assigned in the **Monitored By** dropdown can view and barge into live AI Agent conversations at any time from within the **Live Engagements** section.

#### How do I notify my team when a conversation reaches the AI Agent?

[Section titled “How do I notify my team when a conversation reaches the AI Agent?”](#how-do-i-notify-my-team-when-a-conversation-reaches-the-ai-agent)

To alert your team members, add a [**User Notification Interaction**](https://help.staticso2.com/ai-front-office-workers/website-assistant/chatbots/setting-up-user-notifications-for-your-chatbot) to your Chatbot flow immediately before the **AI Agent** Interaction.
