For the complete documentation index, see llms.txt. This page is also available as Markdown.

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)

Meta Approval Required All templates must be submitted and approved by Meta before use.

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:

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

Last updated

Was this helpful?