# Templates

#### How to create templates

1. Go to **Settings** > **Templates**.
2. &#x20;Click Create Template.&#x20;

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

3. Give it a name.
4. Write the subject line and body.&#x20;
5. Use placeholders from the list for dynamic content:
6. Click **Create**.&#x20;

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

#### Order Details

| Placeholder  | Description                     |
| ------------ | ------------------------------- |
| Order Number | The unique ID for the purchase. |
| Order Total  | The final amount paid.          |
| Order Items  | The list of products bought.    |
| Order Date   | When the purchase was made.     |

#### Customer Information

| Placeholder           | Description                               |
| --------------------- | ----------------------------------------- |
| Customer First Name   | The buyer's first name.                   |
| Customer Full Name    | The buyer's first and last name.          |
| Customer Email:       | The email address used for the order.     |
| Customer Address      | The street address provided by the buyer. |
| Customer Postal Code: | The zip or postal code.                   |
| Customer Country:     | The country from the address.             |
| Customer City:        | The city from the address.                |

#### Shipping & Tracking

| Placeholder     | Description                                               |
| --------------- | --------------------------------------------------------- |
| Tracking Number | The carrier's code to track the package.                  |
| Tracking URL    | A clickable link straight to the package's tracking page. |

#### Business & Support Details

| Placeholder           | Description                                        |
| --------------------- | -------------------------------------------------- |
| Store Name            | The name of your business.                         |
| Store Email           | Your support or contact email address.             |
| Customer Service Name | The name of the agent or team sending the message. |

{% hint style="success" %}
The template is now available in the message composer.
{% endhint %}


---

# 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.scaleflows.net/documentation/documentation-v1.1/account-setup/templates.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.
