# Message Templates - WhatsApp API

<figure><img src="/files/561ea5970249086d26ca8ad88b8c6016e66284d6" alt=""><figcaption></figcaption></figure>

Creating message templates is a fundamental step to automate and speed up communication with your leads and customers. At SprintHub, this process is simple and intuitive, allowing full customization and the use of dynamic variables for more humanized messages.

### **Step by Step to Create a Template**

1. **Access the Templates Menu:**

   * Go to **System Settings** > **Message Templates (Meta)**.

   <figure><img src="/files/6038b9bafd00efc3d990fc52581ccd09b0108640" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/ee11f3324727a750621245af28ac936f61c143c8" alt=""><figcaption></figcaption></figure>
2. **Click “New Template”:**

   * Select the platform (WhatsApp API, Instagram or WhatsApp Web).

   <figure><img src="/files/66bbfe7c19049c4e89c8148b11c714e264633e3d" alt=""><figcaption></figcaption></figure>
3. **Select the Account and Category:**

* Choose the message type: **Template** (pre-approved messages) or **Interactive** (for greater user interaction).
* Choose the linked WhatsApp account.
* Define the message category:

  * **Marketing:** For promotions, launches and commercial actions.
  * **Utility:** For appointment confirmations, order updates, and important information.
  * **Authentication:** Used to send verification codes (2FA).

  <figure><img src="/files/dad13e1d7b276392ca62e6a3e0c06407f037b79a" alt=""><figcaption></figcaption></figure>

1. **Configure the Message Content:**

   * **Header:** Can be text, image or document.
   * **Body:** Enter the main content of the message, you can use variables (e.g., {{1}} for the contact's name).
   * **Footer (optional):** Complementary information or notes.

   <figure><img src="/files/1124728d7506b176ad9f954039bcbc80db8b7e5a" alt=""><figcaption></figcaption></figure>
2. **Add Buttons:**
   * **Call-to-Action Buttons:**
     * **Access the website:** Directs the user to an external link.
     * **Call:** Allows making a direct phone call.
   * **Quick Reply Buttons:**

     * **Custom:** Quick replies defined by the company.
     * **Unsubscribe from Marketing:** Option for the customer to stop receiving marketing messages.

     <figure><img src="/files/738b94fd66df1e094f1c68b5e751bff4def70f5f" alt=""><figcaption></figcaption></figure>
3. **Preview and Submit for Review:**
   * After completing the setup, review the preview and click **Submit for review**.
   * Wait for Meta's approval to start using the template.

***

### **Difference between Marketing and Utility Templates**

| **Category** | **Purpose**                                               | **Usage Examples**                                         |
| ------------ | --------------------------------------------------------- | ---------------------------------------------------------- |
| Marketing    | Promote products, generate sales and publicize campaigns. | Product launch, special promotions, discount coupons.      |
| Utility      | Send important or transactional information.              | Appointment confirmation, order update, payment reminders. |

> **Important:**\
> Messages of **Marketing** require the customer's prior consent, while those of **Utility** are generally part of the transactional relationship.

***

### **Tips to Increase Delivery Rate and Engagement:**

* Use clear calls to action with buttons.
* Personalize your messages with dynamic variables (e.g., customer's name).
* Offer the option to **Unsubscribe from Marketing** to reduce blocks and maintain a good account reputation.
* Test different content approaches to understand what generates the most interaction.


---

# 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://docs.sprinthub.com/en/topics/relate/message-templates-meta/message-templates-whatsapp-api.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.
