> For the complete documentation index, see [llms.txt](https://dataqueue.gitbook.io/voicehub-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dataqueue.gitbook.io/voicehub-docs/integrations/whatsapp-message-templates.md).

# WhatsApp Message Templates

This guide explains how to create new WhatsApp templates in your Meta account and use them in your agent to send WhatsApp messages.

### Step 1: Create a WhatsApp Template in Your Meta Account <a href="#step-1-meta-business-manager-setup" id="step-1-meta-business-manager-setup"></a>

> **Note:** Before creating a WhatsApp template, make sure your Meta Business account is connected and integrated to your VoiceHub account. If you don’t have it set up yet, follow our guide: [Connect Your Meta Business Account](https://dataqueue.gitbook.io/voicehub-docs/docs/connect-your-meta-business-account).

WhatsApp templates are pre-approved message formats that allow your business to send structured messages to users. Each template can include a **header**, **body**, and **footer**, and you can use placeholders for personalized content.

**Steps to create a template:**

1. Go to [Meta Business Manager](https://business.facebook.com/) and log in with your account credentials.
2. From the left-hand menu, select **“WhatsApp Manager”**
3. Navigate to **"Message Templates"**
   * Click **“Manage Templates”**
   * Click the **“Create Template”** button
4. Enter a **template name**, select a **category** (e.g., Transactional, Marketing), and choose a **language**.
5. Click **“Submit”** to send the template for approval.

### Step 2: Use WhatsApp Message Templates in Your Agent <a href="#step-2-whatsapp-business-account-setup" id="step-2-whatsapp-business-account-setup"></a>

Once your template is approved in Meta, you can use it inside your agent to send WhatsApp messages.

1. In your agent workflow, **select the `SEND_WHATSAPP_MESSAGE_NODE`**.

<figure><picture><source srcset="/files/xU3R06UEGAxTkXFg5Y0f" media="(prefers-color-scheme: dark)"><img src="https://1583580785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRUgVLmtuyNEZUgZ8LYH%2Fuploads%2F48roMsyiyPYjgozNqC0z%2FwhatsNode-light.png?alt=media&amp;token=b0df5c0d-4e34-49fd-8af3-1dbc0c05845f" alt=""></picture><figcaption></figcaption></figure>

1. In the node form:
   * Select a **Meta Connection** from your connected account list.
   * After selecting the Meta connection, choose a **Phone Number** from the phone numbers list linked to the selected Meta app.
   * Next, select a **WhatsApp Message Template** from the list of templates available for that phone number.
2. Once a template is selected, the form will display all of its **parameters**.
   * For each parameter, you can define its value as one of the following types:
     * **Static**
     * **Extract Variable**
     * **Prompt**

<figure><picture><source srcset="/files/rdhgVH9m2iJzTAJFlAor" media="(prefers-color-scheme: dark)"><img src="https://1583580785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRUgVLmtuyNEZUgZ8LYH%2Fuploads%2F7BMjmhtMvD2skzadAGaQ%2Flocalhost_3000_workspaces_689a17c94cc1781d6114c9c6_settings(hi%20x).png?alt=media&amp;token=98dd80c2-052d-4ec9-8afb-413e8622cccb" alt=""></picture><figcaption></figcaption></figure>

This configuration allows your agent to send personalized WhatsApp messages using pre-approved templates directly through Meta’s WhatsApp API.
