# AI agents

> Build an AI agent that texts your leads, answers their replies, asks qualifying questions, follows up and books appointments, then choose which contacts it talks to, in the dashboard or in HighLevel.

Source: https://docs.mycrmsim.com/guides/ai-agents
Updated: 2026-11-24

An **AI agent** carries a text conversation for you. It sends an opening
message, answers replies in your tone, asks the questions you choose, follows
up with people who go quiet, and drives towards one goal: booking an
appointment, sending a booking link, or a closing message of your choice.

It works on every channel the sub-account sends on, and with contacts that
come from HighLevel.

---

## How it works

1. **You build the agent** in **AI Dashboard**: who it is, what it says, what
   it knows and what it's working towards.
2. **It runs on your own AI key.** Save an OpenAI or OpenRouter API key
   first.
3. **A tag decides who it talks to.** The agent answers contacts that carry
   its **Contact Tag**. A **default agent** can answer everyone else, such as
   new leads.
4. **Each message the AI writes uses credits** from the account's
   [wallet](https://docs.mycrmsim.com/guides/plans-and-wallet#the-wallet-page). Messages you wrote word for word don't.

> **Note:** There's no approval step: the agent sends its replies as soon as
> its **Response Delay** has passed. Test it before you add its tag to real
> contacts.

---

## The AI Dashboard

Click **AI Dashboard** in the sidebar. It lists the sub-account's agents.

![The AI Dashboard: Test AI, Create New AI Agent, the default agent and the agents list](https://docs.mycrmsim.com/assets/dashboard-o4BCxOQ7.png)

- **Test AI** opens a practice chat: see [Test an agent](#test-an-agent).
  **Create New AI Agent** starts a new one: see [Create an AI agent](https://docs.mycrmsim.com/guides/ai-agents-create).
- **Default agent for new leads** picks the agent that answers contacts whose
  tags match no agent. See [Choose which contacts an AI agent talks to](https://docs.mycrmsim.com/guides/ai-agents-assign).
- Search by **Name**, **Role** or **Tag**, or pick **Status** to show only
  **Active**, **Paused** or **Draft** agents.

| Column | What it shows |
|---|---|
| **Agent Name**, **Role**, **Persona** | Who the agent is. |
| **Tag** | The **Contact Tag**: contacts with it get this agent. |
| **Model** | The AI model it uses. Change it right here; the ⓘ shows its speed, intelligence and approximate cost. **Default** means the system's default model. |
| **Status** | The switch pauses or restarts the agent. A paused agent replies to no one. **Draft** means its setup isn't finished: click **Edit** to resume it. |
| **Actions** | **Duplicate** (a copy named *Copy of …*), **Export JSON**, **Edit** and **Delete**. |

An agent a voice agent uses can't be deleted: move that voice agent to
another AI agent, or delete it, first. To give an agent a voice for phone
calls, see [Voice agents](https://docs.mycrmsim.com/guides/voice-agents).

---

## Test an agent

**Test AI** opens **Test AI Simulation**: you play the lead and the agent
answers, exactly as it would by text. It's isolated: nothing is sent to the
contact, and live leads aren't affected.

![Test AI Simulation: pick the agent and contact, then chat; past test chats under Chat History](https://docs.mycrmsim.com/assets/test-CIGsYlO-.png)

1. Under **Simulator Settings**, pick the **Agent** (active agents only) and
   a **Contact**, whose details fill the agent's merge fields. Check the
   **Timezone**.
2. With **Simulate initial message** on, the agent sends its opening message
   as soon as you pick both. Off, you write first.
3. Type as the lead and press Enter. Right-click an AI message to see its
   **trace**: the steps the agent took, its prompt and the estimated cost.
4. **New Conversation** starts again. **Chat History** keeps your past test
   chats: click one to pick it up, or delete them.

The test runs on your own AI key, like a real conversation. When the agent
reaches its end goal or disqualifies the lead, the chat closes.

---

## Create an AI agent

### Before you start

Save an AI key in [**Settings → General → AI Integration**](https://docs.mycrmsim.com/guides/settings#ai-integration): an
**OpenAI API Key** (GPT models) or an **OpenRouter API Key** (DeepSeek,
Claude, Gemini, Llama and Qwen models). Either one is enough. Until one is
saved, creating or testing an agent asks for it: *Add an AI provider key to
continue*.

### Create the agent

![AI Dashboard: Create New AI Agent → Create New → a template → name the agent](https://docs.mycrmsim.com/assets/create-C6BE9bj7.gif)

1. Click **AI Dashboard** in the sidebar, then **Create New AI Agent**.
2. Choose **Create New** to build from scratch, **Import Strategy** to
   load an agent exported as JSON, or **Create with Simi** to have the
   assistant build it with you in a chat. An imported agent arrives as a
   draft without its calendar setup.
3. The builder asks **How do you want to start?** Pick a template
   (**Solar / home improvement**, **Real estate** or **Customer support**) to
   fill in the prompt, opening message, questions and goal for you, or click
   **Start from scratch**. **Import a saved strategy** loads a JSON file here
   too.
4. Work through the six steps on the left. **Save & exit** keeps a draft you
   can finish later.

### 1. Instructions

- **Strategy Name**, **Agent Role** and **Tone**.
- **Contact Tag**: the tag that hands a contact to this agent. It must match
  the tag on your contacts exactly, and each agent in a sub-account needs its
  own tag. The agent doesn't add the tag; you or a workflow do.
- The **AI model**. The recommended one is a good start.
- **Prompt**: how the agent should behave. **Build my prompt** writes one from
  your answers; **Open editor** lets you write it yourself.
- **Advanced Settings**:
  - **Initial Msg Delay** (Instant up to 30–60 minutes) and **Response Delay**
    (Instant up to 10–15 minutes). A short random delay reads more human.
  - **Objection Handling** (Passive to Persistent), **Qualification Priority**
    (Light to Robotic) and **Creativity** (Scripted, Adaptive or Freeform).

### 2. Conversation

- **Opening message**: the first text every new lead gets. Add up to five
  variations. Spintext rewords them slightly so each lead gets a different
  one.
- **Qualification**: questions the agent works into the conversation before
  it pushes for the goal. Turn it off to go straight for the goal.
- **Follow-ups**: nudges for leads who go quiet. Each delay counts from the
  lead's last reply.

Switch between **Script** and **Map** to see the conversation as a list or as
a flow.

### 3. Configurations

- **End Goal**:
  - **Call to Action**: a closing message or link of your choice.
  - **Book Appointment**: the agent books a slot on your calendar. Pick the
    **Calendar Provider** (the built-in calendar, Google Calendar or
    HighLevel) and the calendars. To set up a built-in calendar, see
    [Calendar and appointments](https://docs.mycrmsim.com/guides/calendar).
  - **Send Booking Link**: a link for the lead to book themselves, with an
    accompanying message.
- **Messaging**: **Multiple Messages** splits long replies into several texts
  (on by default). **Identify as Human** (off by default).
- **Disqualification Trigger**: what makes the agent stop, such as *not
  interested* or *wrong number*.
- **Execution Window**: the hours the agent may text first. Outside them,
  messages are queued or not sent. Replies are held too only if you tick
  **Also apply to AI replies**.

### 4. Knowledge

**Company Information** and **FAQs**: what the agent may tell people about
your business, prices and policies. It answers from these, not from guesses.

### 5. Workflows (optional)

Agents that book appointments get **Default automations** for booking,
rescheduling and cancelling. Under **Custom workflows** you can add your own:
any active workflow that starts with the **AI Trigger**. See
[Automations](https://docs.mycrmsim.com/guides/automations).

### 6. Review, test and launch

1. Check the summary, then click **Launch agent**.
2. Back on the list, click **Test AI** to chat with the agent as if you were
   a lead, before any real contact gets its tag. See
   [Test an agent](https://docs.mycrmsim.com/guides/ai-agents#test-an-agent).

From the list you can switch an agent on or off with its **Status** toggle,
change its **Model**, or **Duplicate**, **Export JSON**, **Edit** and
**Delete** it.

---

## Choose which contacts an AI agent talks to

### By tag

An active agent answers any contact in its sub-account that carries its
**Contact Tag**. Add the tag by hand, with a bulk action in **Contacts**, from
a form or chat widget, or with **Add Tag** in a workflow.

Adding the tag doesn't make the agent text first; it answers when the contact
messages. To have it open the conversation, use the **Send AI Initial
Message** step in a workflow, for example right after **Add Tag**.

### A default agent for everyone else

![Default agent for new leads: pick an agent, then confirm](https://docs.mycrmsim.com/assets/default-agent-DlV4SCTd.gif)

On the **AI Dashboard**, **Default agent for new leads** answers contacts
whose tags match no agent, such as someone texting you for the first time.
Pick an agent and click **Make default**. A matching tag always wins over the
default. Choose **None** to give untagged contacts no AI reply.

> **Warning:** A default agent replies to every untagged contact who
> messages, including friends and suppliers on that line, and each reply uses
> credits.

### Switch the AI off for one contact

On the contact's page, **AI agent for this contact** has three settings:

| Setting | What happens |
|---|---|
| **On** | The AI replies and sends its follow-ups. |
| **Followups off** | The AI replies but sends no automated follow-ups. |
| **Off** | No AI agent replies to this contact. |

**Retry last message** asks the agent to answer the last message again, and
**Reset AI conversation** makes it start afresh.

Replying yourself doesn't pause the agent. Switch it to **Off** if you're
taking over the conversation.

### From workflows

- **Send AI Initial Message**: the agent sends its opening message.
- **Set Agent Status**: switches the AI **On**, **Followups off** or **Off**
  for the contact.
- **AI Trigger**: the agent starts a workflow when the conversation reaches
  a point you describe, such as *wants to reschedule*.
- **If / Else** on **AI Mode** checks whether the AI is on for the contact.

See [Automations](https://docs.mycrmsim.com/guides/automations).

---

## Use AI agents with HighLevel contacts

### Before you start

- The HighLevel sub-account is connected and switched on in
  **Subaccount SIM → Connect Locations**. See [HighLevel](https://docs.mycrmsim.com/guides/highlevel).
- A line is assigned to that sub-account.
- The agent is built and active in the same sub-account (see
  [Create an AI agent](https://docs.mycrmsim.com/guides/ai-agents-create)).

### Hand HighLevel contacts to the agent

1. In HighLevel, add the agent's **Contact Tag** to the contacts, by hand or
   with a HighLevel workflow. Type it exactly as in the agent, including
   capitals.
2. Or set the agent as the **Default agent for new leads**, so it answers
   HighLevel contacts with no matching tag.

When the contact texts your line, the agent reads the conversation and
replies. Its replies appear in the contact's HighLevel conversation like any
other message.

> **Note:** After you activate an agent, it can take up to five minutes before
> it answers HighLevel contacts.

### Start the conversation from a HighLevel workflow

1. Make sure the contact has the agent's **Contact Tag** before this step,
   for example with a **Contact Tag** trigger on that tag, or an **Add Tag**
   action after a form submission.
2. Add the app's **Send AI Initial Message** action. There's no agent to pick:
   the app sends the **opening message** of the active agent whose tag the
   contact has. The opener uses the contact's HighLevel fields, such as their
   first name. Leave **Note** empty.
3. From then on the agent handles the replies.

If no agent's tag matches the contact, nothing is sent. The same happens when
the matching agent has no opening message set up.

![The Send AI Initial Message action in a HighLevel workflow: an action name and an optional note, no agent picker](https://docs.mycrmsim.com/assets/hl-ai-initial-message-dxGRAxwF.png)

### Book onto a HighLevel calendar

In the agent's **Configurations** step, choose **Book Appointment**, then the
HighLevel calendar under **Calendar Provider**. Bookings land straight in that
calendar.

---

## When an AI agent doesn't reply

Work down the list. The first match is usually the reason.

| What you see | Why | What to do |
|---|---|---|
| No reply at all to a contact | Their tags match no active agent and there's no default agent. | Add the agent's **Contact Tag** to the contact exactly as written, or set a **Default agent for new leads**. |
| The agent is listed but never replies | It's paused or still a **Draft** (*Incomplete — click Edit to resume and finish setup*). | Finish it with **Edit**, then switch **Status** on. |
| One contact gets no replies | **AI agent for this contact** is **Off** on their page. | Set it to **On**. |
| Replies but no follow-ups | The contact is on **Followups off**, or the agent has no follow-ups. | Set the contact to **On**, or add follow-ups in the **Conversation** step. |
| *Add your OpenAI/OpenRouter API key in Settings to enable the AI agent.* | No AI key is saved. The AI was switched off for the contacts it couldn't answer. | Save a key in **Settings → General → AI Integration**, then switch those contacts back **On**. |
| *Your AI provider rejected the API key…* | The key is wrong, revoked or out of quota. | Save a working key. Check your balance with OpenAI or OpenRouter. |
| **Low AI credits** or **AI paused — out of credits** | The account's wallet has run out. Each message the AI writes uses credits. | Add credits, then use **Retry last message** on the contacts that were waiting. |
| The first message goes out hours later | It's outside the agent's **Execution Window**, or the **Initial Msg Delay** is long. | Check both in the agent. Replies wait for the window only if **Also apply to AI replies** is ticked. |
| *Cannot send message as DND is active* | The contact has outbound Do Not Disturb on. | Turn it off on the contact's page only if they agreed to hear from you. |
| The agent stopped after the contact said *stop* or *not interested* | The contact opted out or met the **Disqualification Trigger**. | That's intended. Use **Reset AI conversation** only if they ask to hear from you again. |
| HighLevel contacts get no reply right after you switched the agent on | New agents can take up to five minutes to start answering HighLevel contacts. | Wait five minutes and try again. |
| HighLevel contacts with the tag still get no reply | The tag in HighLevel differs in capitals or spacing. | Make it match the agent's **Contact Tag** exactly. |
| *Contact tag already in use* | Another agent in this sub-account uses that tag. | Give each agent its own tag. |
| The AI answers personal contacts | A default agent answers every untagged contact. | Choose **None** as the default, or keep personal numbers on a separate line. |

---

## What to do next

- **Text a list of old customers with an offer:** [Database reactivation campaign](https://docs.mycrmsim.com/guides/dbr-campaign).
- **Let the agent start workflows:** add the **AI Trigger** in [Automations](https://docs.mycrmsim.com/guides/automations).
- **Stop the AI for one contact:** see [The contact page](https://docs.mycrmsim.com/guides/contacts-profile).
