# WhatsApp

## Prerequisite

You must have prepared these resources before integrating your WhatsApp phone number to CXGenie:

* Permission to access your company's Meta Business Manager
* WhatsApp business profile
* WhatsApp business account which is connected to your Meta Business Portfolio
* Verified WhatsApp business number

***

{% hint style="warning" %}
Currently CXGenie haven't support migrating your WhatsApp Business phone number from other providers yet.
{% endhint %}

## Before you get started <a href="#h_b9965f8ae4" id="h_b9965f8ae4"></a>

Refer to this [link](https://www.facebook.com/business/help/353293243562513) to setup your WhatsApp Business Account. Note that this is not the account used for the WhatsApp Account mobile app or WhatsApp Business mobile app. From now on, the document will assume that you have already had a WhatsApp Account that connected to your business portfolio

***

## Prepare your verified phone number

If you already have a verified WhatsApp phone number then skip this section and start to [#connect-your-whatsapp-phone-number-to-cxgenie](#connect-your-whatsapp-phone-number-to-cxgenie "mention")

Quickly navigate to WhatsApp Manager in your WhatsApp Account, which can be found in your Meta Business Suite or navigate to this [link](https://business.facebook.com/latest/whatsapp_manager)

Choose the `Phone numbers` section in the left side bar of the dashboard to validate if your phone number is verified. A valid phone number for integrating with CXGenie would have status `Connected` like following image

<figure><img src="/files/ltVEE92z0TLDoc879Yzv" alt=""><figcaption><p>WhatsApp phone number</p></figcaption></figure>

If your phone number hadn't shown up in the list, you would need to manully add your phone number by clicking the `Add phone number` button in the top right corner.

***

## Connect your WhatsApp phone number to CXGenie

Follow these steps to integrate your WhatsApp phone number to CXGenie

1. Sign in to CXGenie [dashboard](https://app.cxgenie.ai) and choose your workspace
2. Navigate to `Bots` and choose the a bot you want to integrate with. You can choose a random one and link the right one to your WhatsApp phone number later.

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

3. In the sub sidebar, you will find the `Platform Integration` section. Click on it and navigate to the integration list

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

4. Choose WhatsApp. CXGenie will navigate you to the list of phone numbers integrated to the platform. Click on `Add phone number` button in the right corner of the page

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

5. Authenticate your WhatsApp account and choose the phone number you want to integrate with CXGenie.&#x20;

<figure><img src="/files/wDo3ctjJYLasfxFiaTiE" alt=""><figcaption><p>Authenticate WhatsApp Account</p></figcaption></figure>

6. After the integration is successfully, there will be a popup like follows

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

7. Turn off that popup and select a bot you want to use. Note that you should check if the bot `Auto reply` option is turned on, if not the bot won't reply to user

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

Now, try to use another phone number and send a message to the one connected to CXGenie to test it out.

{% hint style="info" %}
WhatsApp does not allow a Solution Partner to crawl conversation history at the time you integrate your phone number. CXGenie can only get your customer information by the time they send message to you. This is restrictly implemented by WhatsApp.
{% endhint %}


---

# 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://documents.cxgenie.ai/integrations-and-connections/platform-integration/whatsapp-1.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.
