# Message Templates

<mark style="color:purple;">**Before you can set up whatsapp templates, you must connect your account to WhatsApp.**</mark>

Message templates **allow users to create pre-defined message formats for automated communications**, leveraging the WhatsApp Business API.&#x20;

This feature makes it easy to create, sync and delete templates to **streamline messaging workflows and ensure compliance with WhatsApp messaging policies**.

## List of templates

The template list will display all the message templates created in your WhatsApp Business account. The fields that appear in the list are:

* Name: name of the template&#x20;
* Category: there are different message categories in WhatsApp, at the moment we only allow you to create message templates from the Marketing category
* Preview
* **Status**: status of the template in WhatsApp Busines&#x73;**. WhatsApp must approve our templates before they can be sent to customers**. Statuses can be: <mark style="color:orange;">Pending</mark>, <mark style="color:green;">Approved</mark> or <mark style="color:red;">No approved</mark>

From here, we can:

* **Create message templates** and integrate them with our WhatsApp Business account immediately
* **Synchronise templates** with our WhatsApp Business account to keep their status up to date

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/ZDWFKcKj1zmX2VZs4g8g/image.png" alt=""><figcaption><p>List of templates</p></figcaption></figure>

## Creation of templates

In the template creation screen there are several sections:

### Basic data (required)

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/dZXicpeU5VLEqGBeFzWA/image.png" alt=""><figcaption><p>Datos básicos plantilla</p></figcaption></figure>

* **Name**: name of the template&#x20;
* **Category**: category of the template (at the moment we only support Marketing)&#x20;
* **Language**: language of the template

### Heading (optional)

This is the header field of the message. It can be of four types:

* **Text**: text field in which we can add a dynamic variable (client's name, client's surname, etc.). This dynamic variable will be configured when creating a campaign.

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/DQuI3rLZkvCbVikkDCEB/image.png" alt=""><figcaption><p>Text in heading</p></figcaption></figure>

* **Image**: image to be set up when creating a campaign

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/tfUaeoRY0qBK6wqttsrg/image.png" alt=""><figcaption><p>Header image</p></figcaption></figure>

* **Video**: video to be set up when creating a campaign

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/f1WJPHWRRo8iPYbNI4YJ/image.png" alt=""><figcaption><p>Video in header</p></figcaption></figure>

* **Document**: document to be set up when creating a campaign

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/h6N0fmXpuiZI1L2vs352/image.png" alt=""><figcaption><p>Header document</p></figcaption></figure>

### Body (required)

This field is the main text of the message. Here we can format the text (bold, italics, etc.) and add dynamic variables that will be configured in the campaign.

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/oOQr2VRDG4d54epKDwpu/image.png" alt=""><figcaption><p>Body of the template</p></figcaption></figure>

### Footer description (optional)

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/H8GR2VyRT2U2EsUrqtgo/image.png" alt=""><figcaption><p>Template message footer</p></figcaption></figure>

### Buttons (optional)

<figure><img src="https://content.gitbook.com/content/SxvPYfWcDVqrKNDxK9dH/blobs/8uvvbvRk8BOsu7pS64ep/image.png" alt=""><figcaption><p>Buttons template</p></figcaption></figure>

This field is the buttons or CTAs of the message. It is an optional field but highly recommended for conversion. There are four different types of buttons:&#x20;

* **Phone**: button to call a phone or mobile number
* **Website**: external link button
* **Copy offer code**: button to copy a discount code (to be configured in the campaign)
* **Custom button**: button to send message. If the customer presses the button a text message with its value will be sent (set up in the campaign). This is very useful for autoresponders
