> For the complete documentation index, see [llms.txt](https://magecomp.gitbook.io/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magecomp.gitbook.io/shopify/apps/quo-volume-discount-tier-price/email-template.md).

# Email Template

**What You Can Do**

* Create and manage email templates for **discount code–based campaigns**
* Automatically include the **applied discount code** in customer emails
* Ensure **consistent messaging** for promotions and offers

#### How to Use

1. After creating a discount code, go to **Email Template**.
2. Enable **App Status**
3. Click **Add Email Template**.
4. Customize the email content as needed.
5. Save the template.

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

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

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

### Flow App Template for Discount Emails

The **Flow App Template** allows you to **automate discount code email delivery** using a predefined workflow.

Once a discount code is created, you can select a Flow template apart from the default app template and activate the workflow. After activation, the system automatically sends an email to the customer containing the discount code.

To ensure the workflow runs for the **correct discount and orders**, a **UUID** must be added in the Flow app.

The discount code used in the campaign will be **automatically included in the email** sent to the customer.

### Set Up Flow App Template Using UUID

Follow the steps below to configure the Flow app template for a specific discount code:

1. **Create a discount code** in the app and copy it.
2. Go to **Email Template → Create Email**.
   * Scroll down to **Select Discount Code**
   * Paste the copied discount code
   * Click **Save**
3. Return to the **Email Template** list page.
   * You will see a **UUID** generated for the email template
   * Copy the UUID

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

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

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

4. Open the **Flow app** and click **Create Workflow**.

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

5. Select **Browse Templates**.

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

6. From the **All Apps** section, choose **QUO Volume Discount Tier Price**.

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

7. You will see **three available templates**.

* Select the template that best fits your order or discount requirement.

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

8. Click **Install Template** from the right side.

#### <mark style="color:$primary;">1.</mark> <mark style="color:$primary;">Email Customer on Minimum Quantity Purchase</mark>

**Purpose:**\
Sends an email when a customer purchases a **minimum quantity of products** from selected collections.

**How It Works:**

* The workflow checks the quantity of products purchased.
* If the minimum quantity condition is met, an email is automatically sent to the customer.

**Best Use Case:**

* Volume-based promotions
* Bulk purchase incentives
* Rewarding customers who buy in larger quantities

9. Open the **Send Email** action.

* In the configuration section, paste the copied **UUID**.

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

Set the conditions as per your preferences.

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

10. **Turn on the workflow**.

#### <mark style="color:$primary;">2.</mark> <mark style="color:$primary;">Customer Purchase Follow-Up Email</mark>

**Purpose:**\
Automatically sends a **follow-up email after a customer completes a purchase**.

**How It Works:**

* The workflow triggers after a successful order.
* A targeted follow-up email is sent based on the selected products or conditions.

**Best Use Case:**

* Post-purchase engagement
* Upselling or cross-selling
* Sharing discount codes for repeat purchases

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

#### <mark style="color:$primary;">3. Email Customers When Minimum Order Price Is Reached</mark>

**Purpose:**\
Sends an email when a customer’s **order total reaches a specified minimum amount**.

**How It Works:**

* The workflow checks the total order value.
* Once the minimum order price condition is met, an email is sent automatically.

**Best Use Case:**

* Order-value-based discounts
* Encouraging higher cart values
* Premium or high-value customer targeting

<figure><img src="/files/4gHcMSO0z7wkOBDcwvwO" alt=""><figcaption></figcaption></figure>

Once your Flow template is successfully configured for the selected discount code, the emails will be sent automatically based on the workflow conditions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://magecomp.gitbook.io/shopify/apps/quo-volume-discount-tier-price/email-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
