# WhatsApp

WhatsApp allows messages to be sent and received using its Business Platform API. This allows developers and third-party apps to automatically communicate through WhatsApp.

## Channel Integration

{% embed url="<https://youtu.be/87srdepnN40>" %}

To begin, you will need:&#x20;

* **A** [**Meta business Suite**](https://business.facebook.com/) **account** - Full control.  See the [official help page](https://www.facebook.com/business/help/1710077379203657?id=180505742745347) here for more information.\
  \-  Create a Mete Business Suite account with an existing Facebook or Instagram account and fill out your business informations.

  \-  If it is an existing Meta Business Suite, make sure you are the full control of the access users, or you need to be added as a full control by an existing full control user.
* **A phone number you want to register a WhatsApp business account on Meta**, and please make sure it is able to receive the SMS.&#x20;
* **A payment method** on Meta WhatsApp business account, this is the requirement by Meta for the future message templates. (Starting April 1, 2023)

NOTE: \
**Do NOT** register the number on WhatsApp app.  **To be sure, the number is not yet registered onthe  mobile WhatsApp app.** If it is an existing WA account, please delete it first.  \
(It can be already registered on Meta App, just follow our setup guide to change the webhook to iMBrace’s on Meta App and other settings.)

\
\
**Connect to iMBrace**, please follow the steps below:&#x20;

**STEP 1:** In iMBrace ‘Channel’ section, Add New channel on the WhatsApp tab.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F9Aj2ubA2YVCyA3hLQaTn%2Fimage.png?alt=media&#x26;token=d24d27b5-41e6-469a-8a2a-b1291fffeb35" alt=""><figcaption></figcaption></figure>

**STEP 2:** Click on the Start Button. Fill in your business information.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fw1qp0VsjRvQKNs741KTI%2Fimage.png?alt=media&#x26;token=bd7c9dab-da74-44cf-9f0b-3b5cb8cf502a" alt=""><figcaption></figcaption></figure>

**STEP 3:** Create WhatsApp Business Account and WhatsApp Business Profile.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FRW6eT2eY5JyrIY3aoDQs%2Fimage.png?alt=media&#x26;token=1aebe59a-1e4f-4927-a978-2a07d5e68d38" alt=""><figcaption></figcaption></figure>

**STEP 4:** Verify Your Phone Number.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FuVyvwTwElSEcntKpgmti%2Fimage.png?alt=media&#x26;token=fc2505c8-9e47-4f13-9831-17d029c55929" alt=""><figcaption></figcaption></figure>

**DONE:** The channel account can then be used to send and receive messages through WhatsApp using the WhatsApp and WhatsApp Trigger nodes.

### **How to add WhatsApp business account payment method?** (The requirement by Meta, starting April 1, 2023)

{% embed url="<https://drive.google.com/file/d/1zX7bGvHWY6XdFOxHzks5r3Wc2ayxM4DZ/view?usp=sharing>" %}
Self help - WhatsApp video\
(Safari is not supported)
{% endembed %}

**STEP 1:** Go to Meta for Developers page and ckick **WhatsApp** -> **API Setup** on the sidebar menu, and then click **Add payment method** button on the bottom of the page.

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FiQsDnuspkYyje1rf4OKq%2FScreenshot%202023-09-22%20at%2011.25.49.png?alt=media&#x26;token=f1a50964-2021-471d-ae6b-729b08eb9d7b" alt=""><figcaption></figcaption></figure>

**STEP 2:** Pick the WhatsApp account you want to add the payment and click **Payment settings**, then follow the requirements to add the payment method.&#x20;

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FVFYsfPXnyiXPd1GVMX3R%2FScreenshot%202023-09-22%20at%2011.40.22.png?alt=media&#x26;token=f2683490-62d5-4e76-85c6-16eba2cfaee3" alt=""><figcaption></figcaption></figure>

**DONE:** You will see the payment on the page

<figure><img src="https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F4eaVyk01riXvTvBwiqco%2FScreenshot%202023-09-22%20at%2009.59.21.png?alt=media&#x26;token=1db78ed5-b5b5-4d95-baf3-113e4956a93e" alt=""><figcaption></figcaption></figure>


---

# 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://imbrace.gitbook.io/imbrace-documentation/channels/whatsapp.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.
