# What are email templates

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

## What are email templates in XFlow?

An **email template** is the message format XFlow uses in your workflows and campaigns to notify customers automatically when products are back in stock.

Each template defines:

* The **structure** of your message (header, content, button, footer)
* The **content and styling** (text, product details, call-to-action)
* Dynamic **personalization tags** (like product name, price, or store name)

{% hint style="info" %}
You can reuse the same template across multiple campaigns or customize different ones for unique collections or audiences.
{% endhint %}

{% hint style="success" %}
📝 Learn more:&#x20;

* [Create an email template](/xflow-app/email-templates/create-an-email-template.md)
* [Design your email templates](/xflow-app/email-templates/design-your-email-templates.md)
  {% endhint %}

## Where email templates are used

Templates are connected directly to your workflows. Whenever a workflow sends an email node, it uses the assigned email template to deliver the message.

| Workflow example  | Email template used                         |
| ----------------- | ------------------------------------------- |
| Product restocked | “Back in Stock notification” template       |
| Reminder message  | “Follow-up” or “Still interested?” template |

{% hint style="success" %}
📝 Learn more:

* [Create a workflow](/xflow-app/workflows/create-a-workflow.md)
* [Use email templates in campaigns and workflows](/xflow-app/email-templates/use-email-templates-in-campaigns-and-workflows.md)
  {% endhint %}

## Benefits of using email templates

* **Save time** — create once and reuse across multiple campaigns.
* **Stay on brand** — apply your logo, colors, and tone for a consistent look.
* **Personalize at scale** — automatically include product names, variants, or prices using dynamic variables.
* **Improve conversions** — highlight urgency, discounts, or restock limits to drive faster purchases.
* **Track performance** — see open rates, clicks, and attributed sales for each template.

## Featured articles

{% content-ref url="/pages/tEG7HvAAm4FAYdcLDJSn" %}
[Explore pre-built email templates](/xflow-app/email-templates/explore-pre-built-email-templates.md)
{% endcontent-ref %}

{% content-ref url="/pages/nXwNg4IKnFUKyqmD5GJb" %}
[Create an email template](/xflow-app/email-templates/create-an-email-template.md)
{% endcontent-ref %}

{% content-ref url="/pages/zEXuoV3arc2WNCI1i5wq" %}
[Design your email templates](/xflow-app/email-templates/design-your-email-templates.md)
{% endcontent-ref %}

{% content-ref url="/pages/27ltXN2pm7mhbqMs6IcG" %}
[Understanding personalization variables in email templates](/xflow-app/email-templates/understanding-personalization-variables-in-email-templates.md)
{% endcontent-ref %}

{% content-ref url="/pages/9TMXBePs6zA8bV4oj3K6" %}
[Preview and test your email](/xflow-app/email-templates/preview-and-test-your-email.md)
{% endcontent-ref %}

{% content-ref url="/pages/TKnI92gQJmDkXsTvgMSw" %}
[Manage email templates](/xflow-app/email-templates/manage-email-templates.md)
{% endcontent-ref %}

{% content-ref url="/pages/7mi2grXoNsptsyKEmoV6" %}
[Use email templates in campaigns and workflows](/xflow-app/email-templates/use-email-templates-in-campaigns-and-workflows.md)
{% endcontent-ref %}

{% content-ref url="/pages/Rey69myeVHiNlaksnEsa" %}
[Email templates: FAQs](/xflow-app/email-templates/email-templates-faqs.md)
{% endcontent-ref %}

***

#### 📩 **Need help?**

We’re here to make your XFlow experience smooth and successful.\
Our support team is always ready to assist you—no matter how big or small your question is.

<a href="https://admin.shopify.com/apps/xflow?chat=true&#x26;utm_source=foxecom&#x26;utm_medium=help_center_xflow_what_are_email_templates&#x26;utm_campaign=cta_button&#x26;utm_term=chat_now" class="button primary" data-icon="comment-lines">Chat now</a> <a href="mailto:contact@help.xflow.so" class="button secondary" data-icon="envelopes">Message us</a>


---

# 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.foxecom.com/xflow-app/email-templates/what-are-email-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.
