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

# Message templates

> Create and manage reusable SMS, email, and WhatsApp message templates for consistent, fast replies in the HoopAI platform.

<div style={{position: "relative", paddingTop: "56.25%", marginBottom: "1.5rem"}}>
  <iframe src="https://player.mediadelivery.net/embed/622351/bfcecb6d-e546-401c-9890-08efb9da6bd5?preload=true" loading="lazy" style={{border: "none", position: "absolute", top: 0, height: "100%", width: "100%"}} allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture" allowFullScreen={true} />
</div>

Message templates in the HoopAI platform — called **Snippets** for SMS and email, and **WhatsApp Templates** for WhatsApp — let your team insert pre-written messages into any conversation with a single click. Templates save time, ensure brand consistency, and can include dynamic personalization fields so every message still feels tailored to the individual.

## Types of templates

| Template type     | Channel                       | Approval required   |
| ----------------- | ----------------------------- | ------------------- |
| Text snippet      | SMS, Instagram, Facebook, GMB | No                  |
| Email snippet     | Email                         | No                  |
| WhatsApp template | WhatsApp                      | Yes (Meta approval) |

***

## Text snippets (SMS and social channels)

<Frame caption="The Snippets library showing all saved text and email snippets">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/6wlH0ZEykyQqefII/images/conversations-snippets-overview.png?fit=max&auto=format&n=6wlH0ZEykyQqefII&q=85&s=d23fe25a5056b6f759014eaaf7d5a306" alt="Snippets management page with table listing snippet names, body previews, folders, types, and creation dates" width="1582" height="638" data-path="images/conversations-snippets-overview.png" />
</Frame>

Text snippets are short-form templates for SMS, Instagram DMs, Facebook Messenger, and Google My Business messages. They support plain text, emoji, custom values, trigger links, and file attachments.

### Creating a text snippet

<Frame caption="Creating a new text or email snippet from the Snippets page">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/6wlH0ZEykyQqefII/images/conversations-snippets-text-create.png?fit=max&auto=format&n=6wlH0ZEykyQqefII&q=85&s=a71715865db714efba332faf4e436d95" alt="New Snippet button expanded showing Add Text Snippet and Add Email Snippet options" width="1158" height="239" data-path="images/conversations-snippets-text-create.png" />
</Frame>

<Steps>
  <Step title="Navigate to Snippets">
    Go to **Conversations → Snippets** in the left navigation.
  </Step>

  <Step title="Click New Snippet">
    Click **+ New Snippet** in the top right and select **Add Text Snippet**.
  </Step>

  <Step title="Name the snippet">
    Enter a descriptive name. Your team sees this name in the snippet selector during conversations, so make it easy to find quickly. For example: "Follow-up after missed call" or "Appointment confirmation."
  </Step>

  <Step title="Write the body">
    Type the message text. Enhance it with:

    * **Custom values** (tag icon) — insert merge fields like `{{contact.first_name}}` or `{{appointment.date}}`
    * **Trigger links** (lightning bolt icon) — add trackable links that fire automations when clicked
    * **Attachments** — click **Add Attachment** to include an image or document
  </Step>

  <Step title="Test the snippet">
    Enter a phone number in the **Test SMS** field and click **Send Test** to preview exactly how the snippet appears when received on a mobile device.
  </Step>

  <Step title="Save">
    Click **Save**. The snippet is available immediately to all team members.
  </Step>
</Steps>

<Frame caption="The Snippets library showing all saved text and email snippets with folder organization">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/6wlH0ZEykyQqefII/images/conversations-snippets-overview.png?fit=max&auto=format&n=6wlH0ZEykyQqefII&q=85&s=d23fe25a5056b6f759014eaaf7d5a306" alt="Snippets page showing a table of snippets with Name, Body, Folder, Type, and Date Added columns, plus New Folder and New Snippet buttons" width="1582" height="638" data-path="images/conversations-snippets-overview.png" />
</Frame>

### Using a text snippet in a conversation

<Frame caption="Inserting a saved snippet into the message composer">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/6wlH0ZEykyQqefII/images/conversations-snippets-sms-use.png?fit=max&auto=format&n=6wlH0ZEykyQqefII&q=85&s=e21454d434848a68131cac6f9e0fd76e" alt="SMS composer toolbar with the channel selector and snippet icon highlighted" width="502" height="240" data-path="images/conversations-snippets-sms-use.png" />
</Frame>

<Steps>
  <Step title="Open the conversation and select your channel">
    Navigate to the contact's conversation and choose SMS, Instagram, Facebook, or another text channel.
  </Step>

  <Step title="Open the snippets panel">
    Click the **paper icon** in the message toolbar. The snippet library slides open.
  </Step>

  <Step title="Choose a snippet">
    Browse by folder or search by name. Click the snippet you want — it populates the message box instantly.
  </Step>

  <Step title="Customize if needed">
    Make any final edits. Custom value fields are resolved automatically — for example, `{{contact.first_name}}` becomes the contact's actual first name. Review the populated text before sending.
  </Step>

  <Step title="Send">
    Click **Send** (or schedule for later).
  </Step>
</Steps>

***

## Email snippets

Email snippets work identically to text snippets but include a subject line and support rich text formatting — ideal for confirmation emails, follow-ups, and templated responses that do not warrant a full email campaign.

### Creating an email snippet

<Steps>
  <Step title="Click New Snippet → Add Email Snippet">
    From **Conversations → Snippets**, click **+ New Snippet** and choose **Add Email Snippet**.
  </Step>

  <Step title="Add a name and subject">
    * **Name** — internal identifier for your team.
    * **Subject** — the email subject line the contact sees.
  </Step>

  <Step title="Write and format the body">
    Use the rich text editor to format the message body. Apply bold, italics, bullet lists, links, and custom merge fields. The **tag icon** inserts custom values; the **thunderbolt icon** inserts trigger links.
  </Step>

  <Step title="Attach files (optional)">
    Click **Add Attachment** to include a file from your computer.
  </Step>

  <Step title="Send a test email">
    Fill in a From and To address, then click **Send Test** to see how the email renders in an actual inbox.
  </Step>

  <Step title="Save">
    Click **Save**.
  </Step>
</Steps>

<Frame caption="The New Snippet dropdown with Add Text Snippet and Add Email Snippet options">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/6wlH0ZEykyQqefII/images/conversations-snippets-new.png?fit=max&auto=format&n=6wlH0ZEykyQqefII&q=85&s=66accdf412588ff37bd71566147f75b9" alt="Snippets page with the New Snippet button expanded showing Add Text Snippet and Add Email Snippet options" width="1612" height="630" data-path="images/conversations-snippets-new.png" />
</Frame>

### Using an email snippet in a conversation

In the email composer, click the **paper icon** to open the snippet selector. Templates are organized in folders. Click a template to apply both the subject and body to the current email. Edit the populated content before sending if any personalization is needed.

***

## WhatsApp templates

WhatsApp templates are pre-approved message formats required by Meta for:

* Initiating any outbound WhatsApp conversation (when your business messages a contact first)
* Re-opening a conversation after the 24-hour session window has closed

WhatsApp templates must be submitted to and approved by Meta before they can be used. Approval typically takes a few minutes to a few hours.

### Template categories

| Category       | Use                                                           |
| -------------- | ------------------------------------------------------------- |
| Marketing      | Promotions, special offers, announcements                     |
| Utility        | Appointment reminders, order updates, receipts, confirmations |
| Authentication | One-time passcodes, login verification                        |

### Creating and submitting a WhatsApp template

<Steps>
  <Step title="Go to WhatsApp template settings">
    Navigate to **Settings → Integrations → WhatsApp** and select the **Templates** tab.
  </Step>

  <Step title="Click New Template">
    Click **+ Create Template**.
  </Step>

  <Step title="Fill in template details">
    * **Name** — lowercase letters, numbers, and underscores only; no spaces.
    * **Category** — Marketing, Utility, or Authentication.
    * **Language** — select the language the template is written in.
  </Step>

  <Step title="Write the template body">
    Write the message text. Use double curly braces for dynamic variables: `{{1}}`, `{{2}}`, etc. These are filled in at send time.

    Example: `Hi {{1}}, your appointment is confirmed for {{2}} at {{3}}. Reply STOP to opt out.`
  </Step>

  <Step title="Add header and footer (optional)">
    * **Header** — text, image, document, or video displayed above the message body.
    * **Footer** — small text displayed below the body; often used for opt-out instructions.
  </Step>

  <Step title="Add buttons (optional)">
    Choose from:

    * **Quick reply buttons** — up to 3 one-tap reply options.
    * **Call-to-action buttons** — link to a URL or trigger a phone call.
  </Step>

  <Step title="Submit for approval">
    Click **Submit**. Meta reviews the template. You will see the status update to **Approved** or **Rejected** in the Templates list.
  </Step>
</Steps>

<Note>
  Rejected templates display a reason for rejection. Common reasons include missing opt-out language in marketing templates or variable usage that does not match the declared category. Edit and resubmit after addressing the feedback.
</Note>

### Using a WhatsApp template in a conversation

<Steps>
  <Step title="Open the WhatsApp channel in a conversation">
    Navigate to the contact's conversation and select the **WhatsApp** tab.
  </Step>

  <Step title="Click the notebook icon">
    The template selector opens, showing all your approved templates.
  </Step>

  <Step title="Choose a template">
    Click the template. Variable fields (e.g., `{{1}}`, `{{2}}`) appear as editable inputs.
  </Step>

  <Step title="Fill in the variables">
    Enter the values for each dynamic field — contact name, appointment details, offer text, etc.
  </Step>

  <Step title="Send">
    Click **Send**. The message is delivered even if the 24-hour session window is closed.
  </Step>
</Steps>

***

## Organizing templates with folders

Both text and email snippets can be organized into folders for easier navigation.

<Steps>
  <Step title="Create a folder">
    In the Snippets library, click **+ New Snippet → Add Folder**, name it, and save.
  </Step>

  <Step title="Move a snippet into a folder">
    Click the **three-dot icon** next to a snippet, select **Move to Folder**, choose the folder, and confirm.
  </Step>

  <Step title="Search">
    Use the search bar at the top of the Snippets panel to find a specific snippet by name across all folders.
  </Step>
</Steps>

<Warning>
  Deleting a folder may also delete the snippets it contains. Move snippets to another folder before deleting if you want to keep them.
</Warning>
