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

# WhatsApp Template

> Guide to configuring WhatsApp for business messaging.

## Overview

WhatsApp integration enables system users to connect their business phone numbers to WhatsApp via Meta, allowing AI agents to send and receive messages seamlessly. By configuring a WhatsApp sender, businesses can automate customer interactions, manage templates for predefined messages, and assign numbers to AI agents for efficient communication.

## Setting Up WhatsApp

### 1. Navigate to WhatsApp Settings

* On the **General Sidebar**, click **WhatsApp**.
* In the dropdown, you'll find **Senders** and **Templates**.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/N9AHdteEIPSmAR2z/images/whatsapp/whatsapp_setup.png?fit=max&auto=format&n=N9AHdteEIPSmAR2z&q=85&s=dc3fa043819ddedae46ba6f4ba62aff5" alt="Hero Light" width="1919" height="956" data-path="images/whatsapp/whatsapp_setup.png" />

### 2. Understanding WhatsApp Configuration

#### **Senders**

To configure your business number for WhatsApp, you need to:

1. Connect your business number to Meta.
2. Pass the required verification steps.
3. Once configured, the agent can send and receive WhatsApp messages.

**Note:** Ensure your **Facebook Business Account** is verified before proceeding.

## Sender Configuration

### Steps to Connect a WhatsApp Business Number:

1. Navigate to the **Sender** page.
2. Click **Connect New Account**.
3. Enter your business phone number in the **Phone Number** input field.
4. Click **Connect to Facebook** for Meta verification.
5. Follow the prompts to authenticate your Facebook account.
6. Enter the token provided by Meta.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/N9AHdteEIPSmAR2z/images/whatsapp/whatsapp_sender.png?fit=max&auto=format&n=N9AHdteEIPSmAR2z&q=85&s=4faa79efe78882546667d6a9ad1d4a50" alt="Hero Light" width="1919" height="956" data-path="images/whatsapp/whatsapp_sender.png" />

### Viewing Connected Numbers

Your connected numbers will appear in a table with the following details:

| Phone Number | Display Name | Status | Messaging Limit | Actions |
| ------------ | ------------ | ------ | --------------- | ------- |

* **Phone Number:** The registered number.
* **Display Name:** Name associated with the number.
* **Status:** Indicates if the number is active or pending verification.
* **Messaging Limit:** Displays the message sending limit.
* **Actions:** Allows you to edit the account details.

### Actions:

Clicking the **Action** button allows you to update business details:

* **Business Display Name**
* **Phone Number**
* **Business Website** (e.g., `https://www.yourcompany.com`)
* **Business Email** (e.g., `support@yourcompany.com`)
* **Business Address**
* **Description**

After making updates, click **Save** to apply the changes.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/N9AHdteEIPSmAR2z/images/whatsapp/sender_list.png?fit=max&auto=format&n=N9AHdteEIPSmAR2z&q=85&s=313badf4d3a273dad6e8a17f2ad08bec" alt="Hero Light" width="1919" height="956" data-path="images/whatsapp/sender_list.png" />

***

## Creating a WhatsApp Template

Before creating a WhatsApp template, your phone number must first be approved by Meta.

### Creating a Template

Creating a template has two methods:

1. **Using a Preloaded Template**
2. **Creating from Scratch**

## **1. Creating from a Preloaded Template**

Select from preloaded templates and modify them to suit your needs.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/N9AHdteEIPSmAR2z/images/whatsapp/create_whatsapp_template.png?fit=max&auto=format&n=N9AHdteEIPSmAR2z&q=85&s=83fcfce55a98877a8960bfcb070e76c2" alt="Hero Light" width="1919" height="956" data-path="images/whatsapp/create_whatsapp_template.png" />

## **2. Creating a New Template**

After selecting a preloaded template or starting from scratch, you need to enter the required template details:

### **Inputting Template Details**

* **Template Name** – A unique name for your template.
* **Category** – Choose the category (e.g., Utility, Marketing, Transactional).
* **Language** – Select the language for the template.
* **Template Content** – Choose the content type:
  * Text
  * Image
  * Document
  * URL
  * Quick Replies
  * Phone
* **Body** – Enter the main message text for the selected language.
* **Variables** – Define placeholders that allow dynamic content insertion when sending messages. Variables help personalize messages by dynamically replacing specific sections with real-time data, such as customer names, order details, or appointment times.

  For more details on setting up variables, check the [Variables Guide](/guide/variables).
* **Message Preview** – A real-time preview of how the message will appear on WhatsApp.

At the top, you can choose to **Submit for Approval** or **Save as Draft**.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/N9AHdteEIPSmAR2z/images/whatsapp/template_details.png?fit=max&auto=format&n=N9AHdteEIPSmAR2z&q=85&s=88f7411f1f5c10f544feb8c959ce4eb5" alt="Hero Light" width="1919" height="956" data-path="images/whatsapp/template_details.png" />

### Submitting Templates

* Choose **Submit for Approval** or **Save as Draft**.
* Approved templates are typically ready within 1 minute.

***

## Assigning WhatsApp Numbers to Agents

[Follow these steps](/guide/agent#1-choose-a-setup-method) to assign a number to an agent.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/N9AHdteEIPSmAR2z/images/whatsapp/agent_whatsapp.png?fit=max&auto=format&n=N9AHdteEIPSmAR2z&q=85&s=68148ea71e70815bc691091147ce138e" alt="Hero Light" width="1919" height="956" data-path="images/whatsapp/agent_whatsapp.png" />

## Testing WhatsApp Agents

[Test your WhatsApp agent](/guide/campaign) to verify the setup.

<img className="" src="https://mintcdn.com/miles-cbcbe49f/E6fGVA1JdinLqg2q/images/campaign/create_campaign.png?fit=max&auto=format&n=E6fGVA1JdinLqg2q&q=85&s=51b461a6a1f71ed1bf9b949de2cef8b7" alt="Hero Light" width="906" height="732" data-path="images/campaign/create_campaign.png" />
