# Template Creation and Editing

Before diving into creating your own template from scratch or selecting one from the Gallabox Template Library, it's crucial to understand the key components that make up WhatsApp Templates.&#x20;

### Components of WhatsApp Templates

These components are essential for crafting messages that are both engaging and compliant with WhatsApp's guidelines. Let's break down these components:

<table><thead><tr><th width="144">Components</th><th>Dsecrption</th></tr></thead><tbody><tr><td>Headers</td><td>Headers, which can be text, images, videos, documents, or locations, sit at the top of template messages. A template can only have one header. <br>   <em>Document samples can be uploaded up to 16 MB. However, while sending a user can send files up to 100 MB.</em> </td></tr><tr><td>Body</td><td>The body of the template is where your main message will be. It's important to keep the message clear and concise. You can include placeholders (also known as variables) for personalized information that will be filled in when sending the message.</td></tr><tr><td>Footer</td><td>The footer is also optional. It can include additional information or a call to action. It's a good place to add your contact information or a legal disclaimer.</td></tr><tr><td>Buttons</td><td>You can add buttons to your templates, such as quick reply buttons, call-to-action (CTA) buttons, or Form button. These buttons can direct users to a website or prompt them to reply with predetermined options.</td></tr></tbody></table>

You can either [create a WhatsApp Template](#create-a-template-from-scratch) from scratch or [edit a WhatsApp Template](#edit-a-template-from-gallabox-library) from Gallabox Template Library.&#x20;

### Create a Template from Scratch

1. To create the template in Gallabox, go to **Settings.** From the dropdown select **WhatsApp templates.** Click on **+ Create New Template.** The Template editor will open up.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FvCMJoiWCcIw6IcSOjDCk%2FCreate%20a%20WA%20Template.gif?alt=media&#x26;token=05612112-9e2a-420d-be06-b7e28e96dcb4" alt=""><figcaption></figcaption></figure>

2. Provide the  [**Name** ](https://docs.gallabox.com/basic-modules/whatsapp-template-guidelines/..#rules-for-creating-whatsapp-templates)for the Template. Select [**Category** ](#user-content-fn-1)[^1] of the Template. If unsure whether a message is for marketing or utility, you can select yes to change its category. Select the Channel for creating WhatsApp Templates (*if you have more than 1 WhatsApp Number connected*). Pick the WhatsApp Language from the dropdown menu.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FcC7DkBH5aTfPDRzy76QO%2FName%20the%20WA%20Template.gif?alt=media&#x26;token=58131948-cee9-49f8-a082-715e4888cf1d" alt=""><figcaption></figcaption></figure>

3. Choose the [**Message Header**](#user-content-fn-2)[^2] and fill it accordingly. For Text, add the header under 60 characters. For image you can upload .jpeg, .jpg, .png file types upto 5MB. Accepted file types: .mp4,.3gpp within *16 MB* size for video. For the pdf, accepted file types: .PDF within 16MB size. You can share only the static location as a header.&#x20;

{% hint style="warning" %}
The media uploaded during template creation serves as a sample for Meta's approval. You can change it in Gallabox when sending the template.
{% endhint %}

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FzTWDrYYA5fFzhEErOUqg%2FMedia%20size.gif?alt=media&#x26;token=ea1c7b9d-de7a-4ada-ab37-a981d3c8a575" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Important Update: Meta Category Reclassification Alert**

\
Meta may reclassify your template category (e.g., from Utility to Marketing) after submission, which may affect pricing.\
When you click **Submit**, you will now see a **confirmation pop-up** explaining this.

The “Allow category change” checkbox has been **removed**.

* You can review Meta’s [template guidelines](https://docs.gallabox.com/basic-modules/whatsapp-template-guidelines) before proceeding.
* This message appears even after approval to keep you informed.
  {% endhint %}

4. Draft the Message in the Message Body. When sending messages to different customers, you can use variables to make changes. For example, use `{{name}}` to personalize the greeting with the customer's name, or `{{orderId}}` to give updates about an order. Provide a sample values for the variables provided.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FXTdkS4vnfdMxkxYvwQuu%2FMessage%20Content%20in%20WA%20Templates.gif?alt=media&#x26;token=6e85942e-cf9a-4991-8100-de5f34e15727" alt=""><figcaption></figcaption></figure>

5. &#x20;Add a **Footer.** The recommended content is `Reply with 'STOP' to unsubscribe from marketing messages.` If you want you can also add the Tagline of your Business.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FKMAq0180o8VRxidsTq6a%2FFooter%20in%20WA%20Template.gif?alt=media&#x26;token=ed3fb65f-aa7d-4212-a8e7-a2569498a89e" alt=""><figcaption></figcaption></figure>

6. Buttons provide a convenient way for users to interact with a message and take specific actions. There are two categories of buttons:\
   1\. ***Quick Reply**:* A button with customizable text that allows users to respond quickly with predefined options (e.g., "Yes" or "No").\
   2\. ***Call to Action**:* A button that encourages users to take a specific action, such as visiting a website or fill up a form. \
   3\. ***Flow:*** A button that lets you collect any details from customers directly on WhatsApp.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FHIpt8ImN5c5Qbw2l3Fm9%2FButtons%20in%20WA%20Template.gif?alt=media&#x26;token=88187f92-8df0-4ca7-aa1f-4d0cdc9809f9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:**&#x20;

1. If you add more than three buttons, they may appear as a list to avoid clutter in the message. In web application, it will only be shown in 10 buttons vertically.

2. You can add a maximum of **3 CTA buttons** ( 2 URLs and 1 Phone button). If you are choosing a Flow ([WhatsApp Form](https://docs.gallabox.com/whatsapp-flows/create-whatsapp-forms)) then only **1 CTA** button is allowed.

3. You can add a maximum of maximum **10 Quick Reply Buttons**. &#x20;

4. You can't place CTA and Quick Replies between sections, but you can switch them using the swap button.
   {% endhint %}

5. For the final check, go through the generated template for any changes. Click on **Submit for approval.**&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FLNgM3ldNSrlaoYPVEm7r%2FSubmit%20WA%20for%20Approval.gif?alt=media&#x26;token=97fd9678-51bd-4a48-9797-0d08a486ffec" alt=""><figcaption></figcaption></figure>

### Edit a Template from Gallabox Library

1. Under the **Settings** in your left navigation go to **WhatsApp Templates**. Switch to Library.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FqO7ZhWKu51HY6RlsiOpM%2FGallabox%20WhatsApp%20Template%20Library.gif?alt=media&#x26;token=7ed3e8b2-74ed-413a-8db4-780ca36717b0" alt=""><figcaption></figcaption></figure>

2. Pick one of the templates that you would like to use for your business. Once you click on **Use**, you will be able to edit the [template components](#components-of-whatsapp-templates) as per your requirements.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FVldTr148puZcMeRcsmHh%2FAbandoned%20Cart%20WA%20Template%20from%20Library.gif?alt=media&#x26;token=d27efc04-2e53-40f8-8d83-18ffa7a79910" alt=""><figcaption></figcaption></figure>

3. After you are done editing the template (changing the Category, editing the message content as per your business voice, adding the content for footer, and adding buttons), click on **Submit for Approval** button. The template will be shared with **META** for the verification.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FFcpInnCRoSsFJRM9IIVl%2FEditing%20Library%20Template.gif?alt=media&#x26;token=c083e859-95fe-4284-92f5-b719e8f076e5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Important Update: Meta Category Reclassification Alert**

\
Meta may reclassify your template category (e.g., from Utility to Marketing) after submission, which may affect pricing.\
When you click **Submit**, you will now see a **confirmation pop-up** explaining this.

The “Allow category change” checkbox has been **removed**.

* You can review Meta’s [template guidelines](https://docs.gallabox.com/basic-modules/whatsapp-template-guidelines) before proceeding.
* This message appears even after approval to keep you informed.
  {% endhint %}

WhatsApp template approval can take anywhere from 1 to 24 hours.

{% hint style="warning" %}
Template that gets approved can be used only after ***15 minutes of approval***. Make sure to wait for at least 15 minutes before you start using the template.
{% endhint %}

### Check Template Status Manually

To check the latest status of a WhatsApp template, click the 'Sync' button provided. This will refresh and show the recent status.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FQ97gOCGEiMEe81fH1qT7%2FSync-Templates.gif?alt=media&#x26;token=8e26c1fa-62ab-4eaf-a77d-76a34dee77d5" alt=""><figcaption></figcaption></figure>

### Test the WhatsApp Template

After your WhatsApp template is approved, the next step is to test it to make sure it works as expected. This test helps you check if recipients see the template correctly and if it functions properly.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fhev2kguXoOcRHUxPBqYI%2FTest%20WhatsApp%20Template.gif?alt=media&#x26;token=e9b365ac-da0a-4592-920b-bb95d2e21a07" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Please Note:**

1. You will be able to test the template when its either in recently approved or approved state.
2. For recently approved, wait for at least 15 minutes before testing the template. When attempting to test a template that has been recently approved, you may encounter a failure because the template is not found. Please wait for 10-15 mins and try again.
   {% endhint %}

### Template Configurations

To add **Reply Settings** for a specific template, you can do it after the template has been verified by META. To do this:&#x20;

1. Go to the WhatsApp Templates in your Gallabox Account. View the template for which you would like to add the Reply Settings. Click on the three-dot menu. Click on configurations and a pop-up will open by having reply settings.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FVFcJ0AhdIF7qvS29d0RF%2FConfiguration%20in%20WhatsApp%20Templates.gif?alt=media&#x26;token=b92fc280-a106-4a01-bdbf-69d1380299f0" alt=""><figcaption></figcaption></figure>

2. You can assign the conversation (*when someone clicks a button or swipes right to reply to the WhatsApp Template*) to a team, a bot, or a Gallabox user. Click on Save.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F58JAGrGj7RluMpbZwete%2FReply%20to%20Settings%20in%20WhatsApp%20Templates.gif?alt=media&#x26;token=e028f286-d428-4e53-9086-7072a5522932" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you uncheck the box for Override Assignments, the conversation will not be assigned to the "**test**" team, and any current assignments that exist will work.
{% endhint %}

### Handling Partial URLs in Dynamic Templates

Gallabox now intelligently processes **partial URLs** entered by users while sending **dynamic WhatsApp templates**. This enhancement ensures that URLs are formed correctly, even if the user accidentally enters the full link instead of just the required suffix.

Previously, if an user  entered the **entire URL** (instead of just the required suffix), Gallabox would append it to the existing base URL, leading to broken or non-functional links.

Now, when an agent provides a value for a dynamic template field (such as a URL suffix), Gallabox will:

1. Check if the **provided input** already contains any part of the **default URL prefix**.
2. If overlap is detected, the **common parts will be removed** to avoid duplication.
3. The system then reconstructs a valid, functional URL by combining the base URL and the cleaned-up suffix.

This enhancement works across the following areas:

1. Inbox – Compose Window
2. Broadcasts
3. Bot Messages
4. Integrations
5. Sequences
6. Public API

Works for both cases — when **tracking link is ON** and when it is **OFF** in the template settings.

[^1]: **Marketing** `(Custom Marketing, Product Marketing, or Carousal Marketing)` *or* **Utility** `(Custom Utility or Payment Utility)` or **Authentication**.&#x20;

[^2]: *None, Text, Image, Video, Document, or Location*
