# Text Templates

## Overview

A **Text Template** is a pre-approved message format used in WhatsApp Business API to initiate conversations with customers or send messages outside the 24-hour customer service window. It contains only text content and can be used for notifications, updates, or promotional communication.

### Key Features

* **Text-Only Content**\
  Text templates include only plain text. Media files such as images, videos, or documents are not supported.
* **Dynamic Variables**\
  Supports placeholders (e.g., `{{1}}`, `{{2}}`) to personalize messages for each user.
* **Optional Buttons**\
  Can include:
  * Quick Reply buttons (for user interaction)
  * Call-To-Action buttons (Visit Website / Call)

{% hint style="info" %}
**Meta Approval Required**\
All templates must be submitted and approved by Meta before use.
{% endhint %}

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FAgxKVzw8z78F3R2CBClL%2Ftext_template.jpg?alt=media&#x26;token=048624e8-2053-4783-a02e-c948a8efa3d3" alt=""><figcaption></figcaption></figure>

#### Template Structure

A standard text template consists of:

1. **Body (Main Message)**\
   The primary text content of the message.
2. **Variables (Optional)**\
   Used to insert dynamic values such as name, order ID, etc.
3. **Buttons (Optional)**\
   Interactive or action-based buttons for user engagement.

#### Example

**Template Message:**

```
Hi {{1}}, your order {{2}} has been shipped successfully.
```

**Output:**

> Hi John, your order #1234 has been shipped successfully.

#### Template Categories

Text templates are categorized based on use case:

* **Marketing**\
  Promotional messages, offers, product updates
* **Utility**\
  Transactional messages such as order confirmations, reminders
* **Authentication**\
  OTP and verification messages
