> ## Documentation Index
> Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Call your contacts with phone campaigns

> Have your AI agent call many contacts from a Twilio number. Set calling hours and retries, reuse phone templates, and track every call.

A phone campaign has your AI agent call many of your contacts, one call each, from a Twilio number connected to the agent. It's for businesses that want to reach customers by voice, for example to confirm a delivery, remind someone of an appointment or follow up on a lead. When a contact picks up, the agent says your greeting and then talks with them, following what you wrote the call is for. You create and track phone campaigns from the **Outbound** page.

> [!NOTE]
>
> Phone campaigns are available on the **Basic** plan and higher. On a lower plan, **Phone call** is greyed out when you create a campaign.

## Prerequisites

* A [Twilio account connected](https://chatbase.co/docs/user-guides/integrations/twilio.md) to the AI agent, with at least one number imported and turned on. Campaigns can only call from numbers that are turned on.
* [Contacts](https://chatbase.co/docs/user-guides/chatbot/contacts/contacts-overview.md) with phone numbers.
* Enough message credits. Each answered call uses message credits per minute, see [Costs](#costs).

If something is missing, the **Phone call** option is greyed out and a line under it says what to do:

| Message | What to do |
| - | - |
| Connect Twilio to this agent to send phone campaigns. | Connect Twilio from the AI agent's integrations. |
| Import a Twilio number to this agent to send phone campaigns. | Import a number from the Twilio integration page. |
| Turn on a Twilio number to send phone campaigns. | Turn the number on in the Phone channel. |
| Phone campaigns are available on the Basic plan or higher. | Upgrade from **View plans**. |

## Creating a phone campaign

Click **Outbound** in the sidebar, then **New campaign**. The page has a **Configuration** tab and an **Audience** tab, and a preview of the call on the right.

### Delivery

Under **Select channel**, choose **Phone call**. Three settings appear:

* **Call from:** the Twilio number the calls come from. Only numbers that are turned on are listed, and the first one is picked for you.
* **Calling hours:** the days and hours calls may ring, with **From**, **To** and **Time zone**. Calls can only ring between 08:00 and 21:00, so **From** and **To** only offer hours in that range. The default is Monday to Friday, 09:00 to 20:00, in your browser's time zone. If a contact has a valid time zone saved in a `timezone` custom attribute, such as `America/New_York`, their calls follow their own time zone instead.
* **Retries:** how many times to call a contact who doesn't pick up or whose line is busy. **Tries per contact** goes from **1 try (no retries)** to **5 tries**, and is 3 by default. **Wait between tries** can be **10 minutes apart**, **30 minutes apart**, **1 hour apart** or **3 hours apart**.

Phone campaigns have no **Replies** setting. The AI agent talks with the contact during the call.

### Content

Enter a **Campaign name**, then fill in the two parts of the call:

* **Greeting:** what the AI agent says word for word when the contact picks up, up to 500 characters. For example, "Hi, this is Sam from Acme calling about your order."
* **What the call is for:** what the agent should do for the rest of the call, up to 5,000 characters. For example, "Confirm their delivery address and offer a new delivery date if they're not home."

Type `{{` in either field to insert a contact field, such as the contact's name or a custom attribute. You can give a field a fallback value for contacts who don't have it. Contacts missing a value with no fallback are skipped: before sending, Chatbase shows how many under **Some contacts will be skipped**, and you can click **Send to the rest** or go back and add a fallback.

To start from a saved template, click **Use a template** next to **Greeting**. See [Phone templates](#phone-templates).

### Audience

On the **Audience** tab, search and filter your contacts and select who to call, the same way as for [WhatsApp campaigns](https://chatbase.co/docs/user-guides/chatbot/outbound-whatsapp.md#audience).

* Only contacts with a phone number can be called.
* Contacts who turned off phone calls are left out.
* If several selected contacts share a phone number, that number is called once.
* A campaign can go to up to 50,000 contacts.

## Sending your campaign

Click **Send now**. If the button is greyed out, hover over it to see what's missing, such as "Select a number to call from" or "Describe what the call is for".

The campaign starts right away; campaigns can't be scheduled. Calls outside your calling hours wait for the next calling window. Calls go out a few at a time, within your plan's [concurrent call limit](https://chatbase.co/docs/user-guides/integrations/twilio.md#call-limits), and each call rings for up to 45 seconds.

When a contact picks up, the AI agent says the greeting, then follows **What the call is for** along with its own instructions. The call appears in the AI agent's chat logs like any other phone conversation.

> [!WARNING]
>
> Chatbase can't tell a voicemail from a person yet. If a call goes to voicemail, it counts as **Answered** and isn't retried.

## Tracking calls

The campaign detail page shows how the calls went:

* **Status counters:** Queued, Dialing, Answered, No answer, Busy and Failed.
* **Content:** the number calls come from, the calling hours, the retry setting, the greeting and what the call is for.
* **Delivery funnel:** the share of contacts who answered, didn't answer, were busy or failed.
* **Recipients table:** each contact's status, when they were **Called**, when they **Answered**, their number of **Tries**, and an **Open conversation** link to the call in chat logs.

| Status | Meaning |
| - | - |
| **Queued** | Waiting to be called, for example until calling hours start or until a retry is due. |
| **Dialing** | The phone is ringing. |
| **Answered** | The contact picked up and the AI agent took the call. |
| **No answer** | Nobody picked up. |
| **Busy** | The line was busy or the contact declined the call. |
| **Failed** | The call couldn't be placed. The reason appears with the status. |

While a call is waiting, the **Called** column shows when it will ring:

* **Scheduled** followed by a time: the call is outside calling hours and starts in the next calling window.
* **Retrying** followed by a time: the last call wasn't answered, and the contact is called again then. A line under it lists how the earlier tries ended, such as "Earlier tries: No answer, Busy".

To download the results, open the **More actions** menu and click **Export recipients**. The CSV has each contact's name, phone number, status, call and answer times, number of tries and failure reason.

## Retries

With more than one try per contact, a call that ends **No answer** or **Busy** is tried again after the wait you set, within calling hours, until the contact answers or runs out of tries. Calls that end **Failed** aren't retried.

You can also retry a single contact by hand. In the recipients table, click **Retry** on a contact whose status is **No answer** or **Busy**. The call is queued right away, or at the next calling window. A manual retry works while the campaign is sending and after it has finished, and a finished campaign goes back to sending until the call ends. You need permission to edit campaigns to see the **Retry** button.

A manual retry is refused, with a message saying why, when:

* the contact has turned off phone calls,
* the call is already being retried,
* the campaign was cancelled,
* or the number calls come from can no longer place calls. Check it in the Phone channel.

## Phone templates

A phone template saves a greeting and call instructions to reuse in later campaigns.

1. On the **Outbound** page, open the **Templates** tab and choose **Phone**.
2. Click **New phone template**.
3. Enter a **Name**, a **Greeting** and **What the call is for**, then click **Create template**.

To use a template, click **Use** on it in the **Templates** tab, or click **Use a template** while creating a campaign. The template fills in the greeting and what the call is for, and the campaign name if you haven't entered one. To change a template, open it, edit it and click **Save template**.

## Costs

A phone campaign is billed like any other phone call:

* **Chatbase:** each answered call uses **6 message credits per minute**, plus the AI model's usual message credits for each reply. Calls that aren't answered, are busy or fail don't use message credits. See [Credits and costs](https://chatbase.co/docs/user-guides/integrations/twilio.md#credits-and-costs).
* **Twilio:** Twilio bills you directly for call minutes on your Twilio account.

A call only starts if your workspace has more than 6 message credits left, or auto-recharge is on. Otherwise the contact is marked **Failed** with "Not enough credits to place the call".

## Cancelling a campaign

While a campaign is sending, open the **More actions** menu and click **Cancel campaign**. Calls that are ringing are hung up, and calls still waiting are cancelled. Calls already in progress continue.

## Troubleshooting

* **Contacts marked Failed?** The reason is shown with the status and in the export. Common ones:
  * "Not enough credits to place the call": add credits or turn on auto-recharge.
  * "The number to call from is turned off in Phone settings": turn the number back on in the Phone channel.
  * "The account's plan does not include phone calls": phone calls need the Basic plan or higher.
  * "The contact turned off phone calls": the contact opted out after you created the campaign.
* **Calls not starting?** Check the calling hours and time zone on the campaign detail page. Calls outside them show **Scheduled** with the time they'll start.
* **A contact didn't get a second call?** Only **No answer** and **Busy** are retried, and only while tries are left. A call that went to voicemail counts as **Answered**.
* **Phone call is greyed out?** Read the line under the channel options. It says whether you need to connect Twilio, import or turn on a number, or upgrade.

## Frequently asked questions

> [accordion] Which plan do I need?
>
> The Basic plan or higher, plus a connected Twilio account with a number turned on.

> [accordion] Can I choose when calls happen?
>
> Yes. **Calling hours** set the days and hours calls may ring, between 08:00 and 21:00. Contacts with a `timezone` custom attribute are called in their own time zone; everyone else is called in the campaign's time zone.

> [accordion] How many times is a contact called?
>
> Up to the **Tries per contact** you set, from 1 to 5. Only calls that end **No answer** or **Busy** are tried again. You can also click **Retry** on a single contact.

> [accordion] What does the AI agent say?
>
> It says your **Greeting** word for word when the contact picks up, then follows **What the call is for** along with its own instructions and knowledge.

> [accordion] Where can I see what was said on a call?
>
> Click **Open conversation** next to the contact in the recipients table. The call opens in the AI agent's chat logs.

> [accordion] What does a phone campaign cost?
>
> Each answered call uses 6 message credits per minute plus the AI model's credits for each reply. Unanswered, busy and failed calls don't use message credits. Twilio also bills you for call minutes.

> [accordion] Can I schedule a phone campaign?
>
> No. A campaign starts when you click **Send now**, and calls outside your calling hours wait for the next window.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.