# Create an email template

{% hint style="info" %}

## Before you begin

Want to use pre-built email templates for a quick start? Check out [Explore pre-built email templates](/xflow-app/email-templates/explore-pre-built-email-templates.md)
{% endhint %}

{% stepper %}
{% step %}

## Set up email settings

Before sending notification emails to customers, configure your email sender settings.&#x20;

These settings control:

* The sender email adress
* The sender name displayed to customers
* The reply-to email address
* The sender domain used for email delivery

{% hint style="success" %}
**Steps:**

1. Go to **Email templates** (or **Settings**) > **Email settings.**
2. Configure your sender profile settings.
3. Click **Save**.
   {% endhint %}

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

#### Sender domain options

XFlow supports two sender domain options.

<table><thead><tr><th>Use XFlow sender domain</th><th>Use your own sender domain</th><th data-hidden></th></tr></thead><tbody><tr><td>Use the default XFlow email infrastructure with the <code>@mailer.xflow.so</code> domain.</td><td><p>Send notification emails using your own branded domain or subdomain.<br></p><p>Using your own sender domain can help:</p><ul><li>Improve brand trust</li><li>Improve inbox placement</li><li>Create a more professional email experience</li></ul><blockquote><p>Your sender domain must be verified before XFlow can send emails through it.</p></blockquote></td><td></td></tr></tbody></table>

{% hint style="warning" %}
When using your own sender domain, XFlow requires DNS verification records to authenticate your domain and improve email deliverability.

**Required records:** DKIM records

**Recommended records:** AIL FROM records, DMARC record
{% endhint %}

{% hint style="info" icon="circle-info" %}

* Using a custom sender domain does not affect your email template content.
* You can update these settings anytime.

Check out these tips when choosing and using your sender email address: [Why emails go to the spam folder?](/xflow-app/email-templates/email-templates-faqs/why-emails-go-to-the-spam-folder.md)
{% endhint %}

**Sender profile settings:** Defines the email identity used to send notifications.

* **Sender email**: The email address used to send notification emails.
* **From name**: The sender name displayed to customers.
* **Reply to**: The email address used to receive customer replies.

#### Test emails

Add email addresses used for testing email templates before sending them to customers.

* Enter one email address per line
* These emails can be selected when using the **Send test** feature

*Learn more:* [Test an email campaign](/xflow-app/campaigns/test-an-email-campaign.md)

#### UTM tracking

Configure UTM parameters to track email performance in analytics tools such as Google Analytics.

* **utm\_source:** Identify where the traffic comes from.
* **utm\_medium:** Specify the type of email.
* **utm\_campaign:** Choose **Email name** or **Email name + Campaign name**

*Learn more:* [UTM tags: What you need to know](/xflow-app/email-templates/email-templates-faqs/utm-tags-what-you-need-to-know.md)
{% endstep %}

{% step %}

## Create an email template

{% hint style="success" %}
Click **Create email** to start creating a new email template.
{% endhint %}

<figure><img src="/files/R4tH8PMK1o04KkF4oZJt" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Enter template details

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

* **Email template name:** Enter an internal name to organize your templates.
* **Email subject:** Add the subject line that customers will see when they receive the email.

After setting up the email name and email subject, click **Create email** to proceed.
{% endstep %}

{% step %}

## Design your email template

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

Start designing your email template by adding sections, customizing content, and adjusting layout and styles to match your brand.

{% hint style="info" %}
Learn how to edit your email template: [Design your email templates](/xflow-app/email-templates/design-your-email-templates.md)
{% endhint %}
{% endstep %}

{% step %}

## Save and activate your email template

After customizing your email, click **Save & Activate** to enable and start using your email template.

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

{% hint style="info" %}
Want to reuse this template? Check this out: [Save email as a template for reuse](/xflow-app/email-templates/save-email-as-a-template-for-reuse.md)
{% endhint %}
{% endstep %}

{% step %}

## Your email template is now active!

Your email template has been successfully activated and is now ready to use.

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

<figure><img src="/files/wjpmoNFkug4tvS9RLHHU" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="success" %}
After customizing your email template, don’t forget to preview and test your email to make sure everything looks good before sending it: [Preview and test your email](/xflow-app/email-templates/preview-and-test-your-email.md)
{% endhint %}

## Related 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/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_create_an_email_template&#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/create-an-email-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.
