> ## Documentation Index
> Fetch the complete documentation index at: https://codking.tech/documentation/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp Templates

> Browse your approved WhatsApp templates, add a pre-made one with one click, or write your own and submit it to Meta for approval.

WhatsApp only lets a business start a conversation with an approved **template**. The Templates page lists the messages you send, the ones WhatsApp has approved, and which order event each one answers to. Open it from **Manage templates** on [Business Brand WhatsApp](https://codking.tech/documentation/business-whatsapp/overview.md).

## Views

![Templates page with the My templates, Pre-made templates and More views tabs](https://mintcdn.com/codking/oNsYptvlmY0rdU_u/images/wa-08-more-views.png?fit=max\&auto=format\&n=oNsYptvlmY0rdU_u\&q=85\&s=b31d202500a2e1cd16c540afa8785bc8)

| View | What it is |
| - | - |
| **My templates** | Every template on your WhatsApp account. |
| **Pre-made templates** | Ready-made templates for common e-commerce flows. |
| **Create new template** | A form to write your own. Found under **More views**. |
| **Notifications** | Which template each event sends. See [Notifications](https://codking.tech/documentation/business-whatsapp/notifications.md). |

## My templates

![My templates list with In use and Other templates tabs, template names, status badges and Test, Change variables and Edit template links](https://mintcdn.com/codking/oNsYptvlmY0rdU_u/images/wa-06-my-templates.png?fit=max\&auto=format\&n=oNsYptvlmY0rdU_u\&q=85\&s=f53e574739ec9a26ad95435281e3df59)

**Refresh** pulls the latest approval status from WhatsApp. The list is split into **In use**, templates currently sent by a notification, and **Other templates**, everything else on the account.

Each template shows:

* Its **name** and a status badge, for example **Approved**.
* Its **category**, such as **utility** or **marketing**.
* **In use** when a notification sends it.
* **Sends on**, the event it answers, followed by the language (for example `en_US`) and the **Meta ID**.

The links under each template are **Test**, **Change variables** and **Edit template**.

## Pre-made templates

![Pre-made templates view with a plain order confirmation template preview](https://mintcdn.com/codking/oNsYptvlmY0rdU_u/images/wa-07-premade.png?fit=max\&auto=format\&n=oNsYptvlmY0rdU_u\&q=85\&s=8910a1d723d61ac0a71425c322c5280f)

Pre-made templates are curated for common e-commerce flows. They are grouped by event, such as **Order placed**. Each one shows its category (for example **UTILITY**), a short description, a preview of the message and which order field fills each placeholder.

**1. Pick a template**

Choose the one that fits the event, for example **Order confirmation — simple text**.

**2. Edit and use it**

Click **Edit & use this template**. You can rename it before submitting.

**3. Wait for Meta**

Meta reviews the template. After approval, assign it to an event from the [Notifications](https://codking.tech/documentation/business-whatsapp/notifications.md) list.

## Create a new template

Open **More views → Create new template**.

![Create new template form with Event type, Name, Category and Languages](https://mintcdn.com/codking/oNsYptvlmY0rdU_u/images/wa-13-new-template-top.png?fit=max\&auto=format\&n=oNsYptvlmY0rdU_u\&q=85\&s=d646509b13592704e655455192073a08)

| Field | What it does |
| - | - |
| **Event type** (required) | The Shopify event the template is sent for. The variables you can use depend on the event. |
| **Name** (required) | Lowercase letters and underscores, for example `order_confirmation`. COD King converts it on submit. |
| **Category** | **Utility** by default. Use **marketing** for promotional messages. |
| **Languages** | Meta creates one template per language. The first language is used for this submission. Click **+** to add more. |

![Header and Body sections with the formatting toolbar and the variable picker](https://mintcdn.com/codking/oNsYptvlmY0rdU_u/images/wa-14-new-template-body.png?fit=max\&auto=format\&n=oNsYptvlmY0rdU_u\&q=85\&s=44d7523e9f352ce0bb2423cd57aafae7)

| Field | What it does |
| - | - |
| **Header** (optional) | A title or a media type for the top of the message. Defaults to **None**. |
| **Body** | The message text, up to 1024 characters. The toolbar has emoji, bold, italic, strikethrough and code. The variable picker is disabled until you choose an event. |
| **Footer** (optional) | A short line at the bottom, up to 60 characters. |
| **Button** (optional) | Click **Add Button** to let customers reply or take an action. |

![Add Button, Reset and Submit to WhatsApp buttons and the message preview](https://mintcdn.com/codking/oNsYptvlmY0rdU_u/images/wa-15-new-template-submit.png?fit=max\&auto=format\&n=oNsYptvlmY0rdU_u\&q=85\&s=8380cf5ba50915ae8b9d08ec2a0ef8f4)

The **Preview** shows your message as the customer will see it. Click **Reset** to clear the form. **Submit to WhatsApp** stays grey until the required fields are filled. After you submit, Meta reviews the template, and it appears in **My templates** with its status.

> [!NOTE]
>
> Meta can reject a template that is vague or promotional but marked **utility**. Pick the category that matches the message.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.