# Using the Template Editor in Retainful

### Best Practices for Template Approval

* **Be concise**: Keep messages short and clear.
* **Use personalization wisely**: Adding `{{first_name}}` increases engagement, but avoid overusing tokens.
* **Compliance**: Always include an unsubscribe instruction in the footer.
* **Avoid spammy language**: Phrases like *“FREE!!!”* or excessive promotions may cause rejection.
* **Test links**: Ensure dynamic and static URLs redirect correctly.

### Navigating the Template Editor

When you create a new WhatsApp template, the editor will open with the following sections:

#### 1. Template Details

* **Title**: Enter an internal name for your template. Please provide a valid name that describes the purpose of the template(Ex, abandonedcart\_recovery1).
* **Language**: Select the message’s language. Meta requires this for template categorization and approval.

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

#### 2. Content

This section allows you to define what your customers will see:

* **Header (optional)**: Add a short introductory text, image, or document to highlight key information.
* **Body Content**: The main message body.
  * Supports personalization tokens like `{{first_name}}`.
  * You can use emojis to make the message more engaging.
  * Maximum length: **512 characters**.
* **Footer (optional)**: A short text that appears at the bottom of your message. Best used for compliance instructions, such as opt-out guidance (e.g., *“Reply STOP to unsubscribe”*).

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

#### 3. Buttons

Enhance your template with interactive buttons:

* You can add up to **two buttons**.
* **Button Types**:
  * **Dynamic URL**: Automatically inserts links based on customer activity, such as an abandoned checkout URL.
  * **Static URL**: A fixed link (e.g., your homepage, discount page).
* **Best Practice**: Keep button text short and action-oriented (e.g., *Purchase Now*, *Redeem Offer*).

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

#### 4. Live Preview

On the right-hand side, you’ll see a **real-time preview** of your WhatsApp message:

* Displays exactly how the template will look on a customer’s device.
* Helps you verify personalization tokens, button placement, and formatting before submission.

<figure><img src="/files/09U3uZ4kkDmKCVjd1Hxe" alt=""><figcaption></figcaption></figure>

#### 5. Save & Submit

Once you’re satisfied with your template:

* **Save Draft**: Stores the template without submitting it. Useful if you need to review or edit later.
* **Send for Review**: Submit your template to Meta for approval. Only approved templates can be used in live automations.

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

### What’s Next?

{% hint style="info" %}

### What’s Next?

Once Meta approves your template, you can assign it to your WhatsApp automations in Retainful. For example, use an *abandoned cart reminder template* in your cart recovery automation, or a *thank you + coupon template* in your post-purchase workflow.

👉 Refer back to the main guide:[ **How to Set Up WhatsApp Automation in Retainful**](/whatsapp-automation/how-to-set-up-whatsapp-automation-in-retainful.md) for using these templates inside automation workflows
{% endhint %}

{% hint style="success" %}

### Need Help?

If you need assistance at any step of the process:

* Reach out to our support team via chat or email.
* Or [book a support call](https://zcal.co/retainful/onboarding) with one of our product specialists.

We’re here to help you get the most out of your SMS marketing strategy!
{% endhint %}


---

# 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://help.retainful.com/whatsapp-automation/using-the-template-editor-in-retainful.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.
