> For the complete documentation index, see [llms.txt](https://docs.eesel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eesel.ai/integrations/chat-surfaces/whatsapp.md).

# WhatsApp

Set up an AI agent in WhatsApp. It answers your customers on your WhatsApp Business number, and your team on eesel's number.

eesel's AI agent for WhatsApp answers messages from the knowledge you have connected. With WhatsApp Business, your customers message your own WhatsApp Business number, and your agent replies from that number. With WhatsApp for your team, you and your teammates message your agent on eesel's shared WhatsApp number from your phones. You can turn on both yourself from the integrations page in your dashboard.

eesel connects your number to Meta's WhatsApp Business Platform through Meta's own sign-in. You do not need a developer account, an API key or another WhatsApp provider. Customers cannot message your agent on eesel's shared number, so use WhatsApp Business to answer customers.

## What can you use it for

* **Answer customer questions.** Your agent replies to customers on your WhatsApp Business number from your help center, website, past tickets and other connected knowledge.
* **Answer order questions.** When your store is connected, your agent looks up a customer's order and replies with what it found.
* **Reach customers after 24 hours.** Your agent can send an approved message template to a customer who has messaged your number before.
* **Manage message templates.** Your agent can create, edit, list and delete your WhatsApp templates, and submits new ones to Meta for approval.
* **Answer your team on their phones.** Teammates who pair their phone can ask your agent questions on WhatsApp, the same way they would ask a colleague.
* **Work in other apps from WhatsApp.** On WhatsApp for your team, your agent can work in your other connected apps, and asks for approval in the chat before an action that needs it.

## Set up WhatsApp Business

You can connect your number from the dashboard chat or from the integrations page.

{% stepper %}
{% step %}

### Open the connect page

Open the chat in your dashboard and ask your agent to connect WhatsApp Business. A **Connect WhatsApp Business** button appears in the chat. You can also go to **Integrations > WhatsApp Business**, click **Connect**, and then click **Connect WhatsApp Business**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-ff6bc663ce97f6162943074dd8c68a68dfe6743e%2Fwhatsapp-business-connect.png?alt=media" alt="The WhatsApp Business connect page in the eesel dashboard, with a Connect your WhatsApp Business number card and a Connect WhatsApp Business button"><figcaption><p>The connect page for WhatsApp Business.</p></figcaption></figure>
{% endstep %}

{% step %}

### Sign in with Meta and choose your number

Meta's sign-in window opens and guides you through connecting your business to eesel AI:

1. **Add your WhatsApp phone number.** Choose an existing number, or enter a new one and verify it by text message or phone call. You can also use a display name with a virtual number instead. In that case, Meta reviews your business name and display name first, which can take up to 5 business days.
2. **Complete your business profile.** Enter your business name, category, country, website and time zone.
3. **Review what you share with eesel AI** and click **Confirm**. eesel can then manage your WhatsApp account and its conversations.

If your account has more than one number, eesel shows a button for each number. Choose the number your agent should answer on.

You can connect a number that you still use in the WhatsApp Business app on your phone. Chats then appear in both places. Keep the app open while you connect. Some app features, such as broadcast lists, stop working once the number is connected. Numbers that are moving over from another WhatsApp provider are not supported yet.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-5cc1bfdcf218a38901c4640ae356ad5340b4c284%2Fwhatsapp-business-meta-signup.png?alt=media" alt="Meta&#x27;s sign-in window on the Add your WhatsApp phone number step, with a phone number picker, a country code and a choice of text message or phone call to verify the number"><figcaption><p>Meta's sign-in window, where you add and verify your WhatsApp number.</p></figcaption></figure>
{% endstep %}

{% step %}

### Wait for your number to be ready

eesel finishes setting up your number with Meta. When setup is done, the **WhatsApp Business** page shows your number with a **Ready** badge. If setup stops partway, the page shows which step failed. Click **Retry setup** to continue from that step.

Your agent starts answering as soon as the number is ready. You can pause it from the **Automations** page at any time.

Before your number can send messages, Meta also requires a verified business and a payment method on your WhatsApp account. Until both are in place, the page shows a warning from Meta. Add a payment method in WhatsApp Manager, and complete business verification in your Meta business settings.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-658f30c119d89016a2d2e472880259a69ec1f45d%2Fwhatsapp-business-ready.png?alt=media" alt="The WhatsApp Business page in the eesel dashboard showing the connected number with a Ready badge, an empty message templates list and the connection in Activities"><figcaption><p>Your number shows Ready once setup is done.</p></figcaption></figure>
{% endstep %}

{% step %}

### Send a test message

From another phone, send your WhatsApp Business number a question a customer would ask, such as where their order is. Your agent replies from your number. Every conversation appears on the **Activity** page in your dashboard.
{% endstep %}
{% endstepper %}

## Set up WhatsApp for your team

WhatsApp for your team uses one shared eesel number, so you do not need to connect an account or install anything. Each teammate pairs their own phone once. After that, eesel knows who is messaging and which agent they are talking to.

{% stepper %}
{% step %}

### Pair your phone

Go to **Integrations > WhatsApp for your team** and click **Pair phone**. The first pairing in your workspace also turns on WhatsApp for your team. eesel shows its WhatsApp number and a single-use code that lasts 10 minutes. Tap **Open WhatsApp** and send the code, which looks like `link me: ABC-123`. eesel replies to confirm the pairing, and the page updates when your message arrives.

You can also ask your agent in the dashboard chat for a pairing link for your own phone.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-98fa491b553f6c359b36ba8cee95ff6ce26d7a8d%2Fwhatsapp-team-pair.png?alt=media" alt="The pairing page for WhatsApp for your team, showing eesel&#x27;s WhatsApp number, the one-time code link me: FZY-423 with a copy button and a countdown, and an Open WhatsApp button"><figcaption><p>The pairing page, with eesel's number and your one-time code.</p></figcaption></figure>
{% endstep %}

{% step %}

### Message your agent

Message eesel's number on WhatsApp and ask anything your team would ask a colleague. Your agent answers from your knowledge. It can also work in your other connected apps from the chat, such as looking up an order in your store. What it does for you follows the access you already have in eesel.

When an action needs approval, your agent sends **Approve** and **Deny** buttons in the chat.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-28664f7b6d1000e0d15dbe3ce80a43c7ac65100b%2Fwhatsapp-team-chat.png?alt=media" alt="A WhatsApp chat with eesel&#x27;s number where the teammate sends the pairing code, eesel confirms the pairing, and the teammate asks what eesel is and gets an answer"><figcaption><p>Pairing your phone, then asking your agent a question on WhatsApp.</p></figcaption></figure>
{% endstep %}

{% step %}

### Manage paired phones

The **WhatsApp for your team** page lists paired phones and the agent each phone reaches. To add another phone, click **Pair phone** on that page, or **Pair a phone** on the settings page for WhatsApp for your team. To remove a phone, click **Unpair**.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Only editors can make changes.** Only people with edit access to your eesel workspace can pair a phone, retry setup, reconnect, unpair a phone, and approve or deny an action. Only they can ask your agent to create, edit, delete or send message templates, or to message a customer other than the one in the current conversation.
{% endhint %}

## Sources, triggers and actions

### Sources

Your agent reads each WhatsApp conversation as it answers. A conversation stays open for 24 hours after its last message. Messages that arrive within that time continue the same conversation, so your agent keeps what was said in context. Your agent cannot read older WhatsApp history, and one conversation never becomes knowledge for another.

Your agent answers from your connected sources. For customers, these are usually your help center, website and past tickets, plus your store for order questions. See [Integrations](https://docs.eesel.ai/integrations/overview.md).

Your agent reads the text of each message. When someone sends an image, voice note, document or location, your agent knows that it was sent and sees any caption, file name or place name. It does not see what is inside the file.

### Triggers

An automation runs when one of these WhatsApp events happens:

| Trigger                                                    | Runs when                                                     | Best for                                     | Key                                  |
| ---------------------------------------------------------- | ------------------------------------------------------------- | -------------------------------------------- | ------------------------------------ |
| **When a customer messages your WhatsApp Business number** | A customer sends a message to your connected number           | Answering customers on WhatsApp              | `whatsapp_business_message_received` |
| **When a paired teammate messages on WhatsApp**            | A teammate who has paired their phone messages eesel's number | Your team asking questions from their phones | `whatsapp_team_message_received`     |

Connecting turns on the automation for that trigger. You can add instructions to it, such as which questions to answer and how to answer them. You can pause it at any time. While it is paused, your agent does not reply on WhatsApp.

Messages to eesel's number from someone who has not paired a phone never reach your agent. eesel replies to that person at most once a day and points them to the dashboard.

### Actions

|               | Action                          | What it does                                                                                                                                                                                                                                                    |
| ------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Respond**   | Reply to a customer on WhatsApp | Replies to the customer who messaged your WhatsApp Business number, from that number                                                                                                                                                                            |
|               | Reply to a teammate on WhatsApp | Replies to the teammate who messaged eesel's number                                                                                                                                                                                                             |
| **Templates** | Create a WhatsApp template      | Submits a message template to Meta for approval                                                                                                                                                                                                                 |
|               | Edit a WhatsApp template        | Changes a template's text, which Meta then reviews again                                                                                                                                                                                                        |
|               | Delete a WhatsApp template      | Deletes a template from your WhatsApp account. This cannot be undone. On the current dashboard eesel's safety check decides each delete and holds it for a person unless an editor asked for it in dashboard chat; set it to **Ask first** to approve every one |
|               | List WhatsApp templates         | Lists your templates and Meta's approval status for each                                                                                                                                                                                                        |
|               | Send a WhatsApp template        | Sends an approved template to a customer who has messaged your number before. Meta bills your account for it. On the current dashboard eesel's safety check decides each send; set it to **Ask first** to approve every one                                     |
| **Pairing**   | Get a pairing link              | Creates a single-use code and link so you can pair your own phone                                                                                                                                                                                               |
|               | List paired phones              | Lists who has paired a phone, and which agent each phone reaches                                                                                                                                                                                                |

A message template is a message that Meta has approved in advance. WhatsApp only lets a business reply freely within 24 hours of the customer's last message. After that, only an approved template can reach the customer. Meta bills your business directly for template messages, through the payment method in WhatsApp Manager. WhatsApp Manager is Meta's tool for managing your WhatsApp Business account.

You can choose which knowledge your agent uses and which actions need approval. See [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md).

## Limitations

* **Your agent can reply freely only within 24 hours.** After 24 hours from the customer's last message, only an approved template can reach them. On WhatsApp for your team, send a new message and your agent replies.
* **There is no built-in handover.** There is no handover setting like the one for the chat bubble, and your team cannot reply to a customer from eesel. If your instructions say so, your agent can still use your other connected apps, such as creating a ticket in your helpdesk.
* **Your agent reads text only.** It does not see what is inside images, voice notes, documents or locations. Its replies are text. On WhatsApp for your team, replies can also include buttons.
* **Reactions and edits on WhatsApp Business get no reply.** Your agent does not reply when a customer reacts to, edits or deletes a message.
* **A workspace connects one WhatsApp Business number.** One agent answers it. A number connected to one eesel workspace cannot be connected to another.
* **Your agent does not see replies you send from the WhatsApp Business app.** If you keep using the app on your phone, your agent can answer a message you have already answered.
* **A sent message is not always delivered.** A successful send means Meta accepted the message, not that it reached the phone.
* **Numbers from another WhatsApp provider cannot be connected yet.**

## Troubleshooting

<details>

<summary>Setup stops and your number is not ready</summary>

The WhatsApp Business page shows which step failed. Retry setup from that page, and it continues from the failed step. If the page says the number needs reconnecting, connect WhatsApp Business again and sign in with Meta.

</details>

<details>

<summary>Setup says your number has a two-step verification PIN</summary>

Two-step verification is a PIN on your WhatsApp number. eesel needs it turned off to finish setup. Turn it off for the number in WhatsApp Manager, and then retry setup. If Meta has paused registration of the number after too many attempts, wait 72 hours and then retry.

</details>

<details>

<summary>Meta's sign-in expires before setup finishes</summary>

The sign-in took too long. Start the connection again and sign in with Meta.

</details>

<details>

<summary>Your number is already connected to another eesel workspace</summary>

A number can answer for only one eesel workspace. Disconnect it in the other workspace first, and then connect it here.

</details>

<details>

<summary>A customer does not get a reply</summary>

Check the WhatsApp Business page for a warning from Meta. A missing payment method or incomplete business verification stops your number from sending messages. Check that the number is ready and that its automation is turned on. If the customer's last message was more than 24 hours ago, only a template can reach them. Every WhatsApp conversation appears in your agent's activity in the dashboard.

</details>

<details>

<summary>Your pairing code has expired</summary>

A pairing code lasts 10 minutes and works once. Get a new code from the pairing page.

</details>

## FAQ

<details>

<summary>How do I add an AI agent to WhatsApp?</summary>

For customers, connect your WhatsApp Business number through Meta's sign-in from the WhatsApp Business integration page. For your team, pair your phone from the WhatsApp for your team integration page. See [Set up WhatsApp Business](#set-up-whatsapp-business) and [Set up WhatsApp for your team](#set-up-whatsapp-for-your-team).

</details>

<details>

<summary>Is the WhatsApp AI agent available to everyone?</summary>

Yes. Every workspace can turn on both WhatsApp Business and WhatsApp for your team from the integrations page. You do not need to contact us first.

</details>

<details>

<summary>Can the WhatsApp AI agent auto reply to customers?</summary>

Yes. Once your WhatsApp Business number is ready, your agent replies to every customer message on it from your knowledge, within WhatsApp's 24-hour window. You can pause it at any time.

</details>

<details>

<summary>Do I need the WhatsApp Business API?</summary>

No, not separately. eesel connects your number to Meta's WhatsApp Business Platform for you through Meta's sign-in. You do not need a developer account, an API key or another WhatsApp provider.

</details>

<details>

<summary>Can I keep using the WhatsApp Business app on my phone?</summary>

Yes. You can connect a number that you still use in the WhatsApp Business app, and chats appear in both places. Your agent does not see the replies you send from the app. Some app features, such as broadcast lists, stop working once the number is connected.

</details>

<details>

<summary>What does WhatsApp cost?</summary>

Meta bills your business directly for template messages, through the payment method in WhatsApp Manager. For what counts as a task in eesel, see [Pricing](https://docs.eesel.ai/pricing/overview.md).

</details>

<details>

<summary>Can customers message eesel's WhatsApp number?</summary>

No. eesel's number is only for your team, and only for people who have paired their phone. Customers message your own number through WhatsApp Business.

</details>

<details>

<summary>Does eesel use my WhatsApp messages as knowledge?</summary>

Your agent reads each conversation as it answers, and keeps the messages from the last 24 hours in context. One customer's conversation never becomes knowledge for another's. You can see every conversation in your agent's activity in the dashboard.

</details>

<details>

<summary>Can I connect WhatsApp to ChatGPT or Claude?</summary>

Yes, through eesel. You can talk to the same eesel agent from ChatGPT, Claude or Cursor, and it works with the same knowledge and apps. See [Use eesel from ChatGPT](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-chatgpt.md), [Use eesel from Claude and other assistants](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-claude-and-other-assistants.md) and [Claude Code and MCP clients](https://docs.eesel.ai/apis-and-developer-resources/claude-code-and-mcp-clients.md).

</details>

## Related pages

* [Channels](https://docs.eesel.ai/integrations/chat-surfaces.md) for the other places customers talk to your agent
* [Communication](https://docs.eesel.ai/integrations/communication.md) for the other places your team talks to your agent
* [Helpdesk](https://docs.eesel.ai/use-cases/helpdesk.md) for the customer-facing work your agent does
* [E-commerce Sales Rep](https://docs.eesel.ai/use-cases/e-commerce-sales-rep.md) for order and product questions from customers
* [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md) for choosing what your agent can do
* [Integrations overview](https://docs.eesel.ai/integrations/overview.md) for how sources, triggers and actions work together
* [Use eesel from Claude and other assistants](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-claude-and-other-assistants.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eesel.ai/integrations/chat-surfaces/whatsapp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
