> For the complete documentation index, see [llms.txt](https://squarebox-ai.gitbook.io/squarebox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://squarebox-ai.gitbook.io/squarebox/templates/interactive-blocks.md).

# Template Library

The **Template Library** in Squarebox provides a collection of pre-designed WhatsApp message templates categorized by purpose and industry. These templates simplify creating messages for marketing, utility, and authentication, saving time and ensuring compliance with WhatsApp guidelines.

### **Exploring the Template Library**

1. **Categories**:
   * Browse templates by category:
     * **Marketing**: Promotions, announcements, offers, etc.
     * **Utility**: Order updates, feedback requests, etc.
     * **Authentication**: OTPs and secure messages.
2. **Industry Filters**:
   * Narrow down templates by industry, such as **Real Estate**, **Education**, etc.
3. **Preview Templates**:
   * Click on any template to view its design, structure, and content details.

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

### **Creating and Saving Templates**

1. **Creating a New Template**:
   * In the **Template Library**, click on the **Create Template** button.
   * Select a category (e.g., Marketing) and choose an industry for the template.
   * Provide the template details:
     * **Header**: Add an optional title or subject.
     * **Body**: Enter the main message, using variables like {{CustomerName}} for personalization.
     * **Footer**: Add an optional closing line or disclaimer.
     * **Buttons**: Include call-to-action buttons (e.g., Contact Us, View Offers).<br>
2. **Saving Templates**:
   * Once the template is ready, click **Save Template** to add it to the library for future use.
   * Saved templates can be easily accessed, edited, and reused in campaigns.<br>

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

### **Auto-Fill for Easy Editing**

1. Select an existing template in the library to use as a base.
2. The system auto-fills the details into the **Template Creation** form.
3. Make edits to the header, body, footer, or buttons as required.
4. Save the updated version or submit it for WhatsApp approval.

<figure><img src="/files/QWOyfeg5lWUacxHv1L7q" alt=""><figcaption><p><em>GIF showing auto-fill and quick customization of a template</em></p></figcaption></figure>
