# Creating Your First SMS Template

<figure><img src="/files/PTnNzz41JxvnwXQjRcmc" alt=""><figcaption><p>SMS Template</p></figcaption></figure>

### How to Create an SMS Template in Mercuri CX&#x20;

Follow these simple steps to craft and save your SMS template:

**1. Navigate to SMS Templates**

Go to the **Templates** section in the left-hand menu of the Mercuri dashboard, and select **SMS**.

**2. Click on "Create Template"**

In the top-right corner, click **Create Template** to begin.

**3. Fill in Template Details**

<figure><img src="/files/Qr97uidZiHON9LP0FVvR" alt="" width="563"><figcaption></figcaption></figure>

You’ll be directed to the SMS template creation form. Fill in the following:

* **Template Name**: Enter a short, descriptive title so it’s easy to identify the purpose of the message.
* **Media Attachments** (optional):&#x20;

1. You can enhance your SMS template by attaching media files such as images, videos, or documents.
2. **Choose How to Add Media**

   Click Upload File to select a file directly from your computer.

   Or click Add URL to insert a link to an online media file.
3. You can drag and drop files into the upload box.

   Each file must be under **10MB,** and you can add up to **5 files** (images, videos, or documents).

* **Template Text**:\
  Craft a clear and concise message (within 160 characters). You can personalize it using dynamic variables.\
  Click the **Add Variable** button in the bottom-right corner of the body section to insert placeholders.

**Example:**

```
👟 Step Up Your Style!
Discover our latest collection of Sneakers now available at exclusive prices.

✨ Limited-time offer: Flat 20% OFF this week only! Use this coupon code: {#var#}

Visit our website now: https://example.com
```

**4. Variable Mapping**

Map each `{#var#}` to the actual data fields, like customer name, service, date, or time.

<figure><img src="/files/3Oo6H4iLGLP2UbofdzAv" alt=""><figcaption></figcaption></figure>

**5. Preview**

View the **SMS Preview** to see how the final message will appear to customers.

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

**6. Save the Template**

Click **Create** to save your SMS template. It will now be available to use in campaigns, automations, or workflows.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mercuri.cx/features/templates/sms-templates/creating-your-first-sms-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
