Ready-to-Use Template Gallery
Ready-to-Use Template Gallery (component TemplateLibraryClient) is a catalog of 20 curated WhatsApp templates Mahadata ready to be copied into a new template with just one click. This gallery is intended for marketing, support, and operations teams who want a quick start without writing message content from scratch — simply pick a template, customize it, then submit it for approval. The entire gallery content is static on the browser side, so browsing does not fetch any data from the server.
You access this feature from the Message Templates > Template Library (/templates). The same gallery is also available directly at the route /templates/library.

Gallery Controls
Section titled “Gallery Controls”Three controls on the left side filter the cards displayed. None are required — the gallery shows all templates when all controls are at their default values.
| Field | Required | Default | Description |
|---|---|---|---|
| Language (toggle EN/ID) | No | Follows the portal language (en if not id) | Switches the entire template collection to the selected language. Changing the language also resets the category filter to “All” and clears the search box. |
| Category | No | All | Filters cards by category or use case (see the Category table). |
| Search | No | (empty) | Filters by template name and body content, case-insensitive. |
Contents of Each Card
Section titled “Contents of Each Card”Each template is displayed as a single card. Elements on the card:
| Element | Description |
|---|---|
| Template name | The template name (e.g. “Appointment Reminder”). |
| Use case | Subtitle below the name (e.g. “Reminder”, “Promotion”). |
| WhatsApp Preview | Renders the message body in a WhatsApp bubble, complete with sample values for each placeholder where available. |
| Use Template button | Opens the WhatsApp template creation wizard with fields pre-filled automatically. |
Template Attributes
Section titled “Template Attributes”Each catalog entry has the following attributes:
| Field | Required | Description |
|---|---|---|
id | Always present | Catalog identifier, from LIB-001 to LIB-020. |
name | Always present | The displayed template name. |
category | Always present | One of Marketing, Utility, or Authentication. |
useCase | Always present | The use case used as both subtitle and filter target. |
body | Always present | Message body with variable placeholders {{1}}, {{2}}, and so on. |
examples | Optional | Example values for each placeholder. May be empty (e.g., the “Flash Sale” template which does not use variables). |
Category
Section titled “Category”The gallery contains 20 templates grouped by category and use case. Authentication templates are not shown — the gallery only displays the 18 Marketing and Utility templates. The category filter matches a card if the filter value equals the template’s category or its use case.
| Use Case (ID / EN) | Category | Template | Displayed |
|---|---|---|---|
| Pengingat / Reminders | Utility | LIB-001–LIB-003 | Yes |
| Update Pesanan / Order Updates | Utility | LIB-004–LIB-007 | Yes |
| Survei / Surveys | Utility | LIB-008–LIB-009 | Yes |
| Dukungan / Support | Utility | LIB-010–LIB-011 | Yes |
| Keterlibatan Pelanggan / Customer Engagement | Marketing | LIB-012–LIB-014 | Yes |
| Promosi / Promotions | Marketing | LIB-015–LIB-018 | Yes |
| Keamanan / Security | Authentication | LIB-019–LIB-020 | No (hidden) |
Options on the Category (Bahasa Indonesia): All, Marketing, Utility, Reminder, Order Update, Promotion, Survey, Support, and Customer Engagement. English version: All, Marketing, Utility, Reminders, Order Updates, Promotions, Surveys, Support, and Customer Engagement.
Actions
Section titled “Actions”| Action | Location | Function |
|---|---|---|
| Select language | Globe dropdown (top left) | Switches between the EN and ID template sets; also resets the category and search filters. |
| Select a category | Category panel (left) | Filters cards by category or use case. |
| Search | ”Search template…” box | Filters cards by template name and message content. |
| Use Template | Button on the card | Opens a new WhatsApp wizard with fields auto-filled. |
If no cards match the filter or search, the gallery displays a “No templates found” message along with the suggestion “Try adjusting your search or filters.”
Using a Template
Section titled “Using a Template”Click Use Template to open the WhatsApp template creation wizard at the route /{locale}/templates/new/whatsapp. The template content is passed to the wizard as query parameters:
| Parameter | Value | Description |
|---|---|---|
name | Template name in lowercase, non-alphanumeric characters replaced with _ | ”Appointment Reminder” becomes pengingat_janji_temu. |
category | Category in uppercase | UTILITY, MARKETING. |
body | Message content along with placeholders {{1}}, {{2}} | Forwarded as-is. |
lang | Currently active gallery language | en or id. |
examples | Example variable values | Only included if the template has example values. |
The values in examples are combined into a single string separated by || before being inserted into the URL. Inside the wizard, you select the destination WABA, adjust the content and variables if needed, and then submit the template for review. The gallery does not create or store templates itself — creation and submission to Meta are handled entirely by the wizard. See WhatsApp Template and Template Approval.