---
title: "Send only to some customers"
description: "Email a survey only to customers whose order matches rules for products, collections, order value, first-time or returning customers, and shipping country."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.userloop.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Send only to some customers

By default an email survey goes to every customer whose order reaches its moment. Rules narrow that down: for example, only first-time customers, only orders over £50, or only orders with a new product in them.

## Before you start

- **You have an email survey** using a Shopify moment. See [Create an email survey](https://docs.userloop.io/surveys/email/create-an-email-survey/).
- **Your Shopify store is connected**, so UserLoop can list your products and collections.

Zapier and API sends on request name the recipient directly. They do not use these audience rules, and their Trigger stage has no **Who gets it?** step. Unsubscribes and the limit per customer still apply.

## Add rules

1. **Open Who gets it?**

   Open the survey, select **Trigger** at the top of the survey editor, and go to the third step, **Who gets it?**
2. **Choose Only customers who match**

   Select **Only customers who match**. Until you add a rule, it says **Add a rule, or choose Everyone.**, and you can't save.
3. **Add a rule**

   Select **Add rule** and choose a kind: **Products**, **Collections**, **Order value**, **First-time or returning customer** or **Shipping country**. Each kind can be used once.
4. **Set the rule**

   Each rule reads as a sentence. Fill it in as the table below describes.
5. **Add more rules, or remove one**

   Select **Add rule** again for another kind. To remove a rule, select the **×** at its right.
6. **Save**

   Check the sentence under the steps, such as "Emailed 3 days after an order is delivered, to first-time customers whose order is at least £50.00." Then select **Save** at the top of the editor.

With more than one rule, a customer gets the email only when **all** of them are true. The line above the rules says so: **Customers get it when all of these are true:**

## The rules

| Rule | Reads as | What to set |
| --- | --- | --- |
| **Products** | **Order includes** **any of** / **none of** **these products** | Choose **any of** or **none of**, then select **Choose products** and tick up to 100 products. Select **Done**. |
| **Collections** | **Order includes products from** **any of** / **none of** **these collections** | Choose **any of** or **none of**, then select **Choose collections** and tick up to 20 collections. Select **Done**. |
| **Order value** | **Order value is** **at least** / **at most** / **between** | Choose the comparison and type the amount, such as 25 or 25.50. It is in your store's currency, including tax and shipping. |
| **First-time or returning customer** | **Customer is** **a first-time customer** / **a returning customer** | Choose one. |
| **Shipping country** | **Shipping country** **is one of** / **is not one of** | Choose the comparison, then select **Choose countries**, tick up to 250 countries and select **Done**. |

- **Products** and **Collections** with **none of** email customers whose order has none of them, for example to leave out a gift card.
- An order with no customer, which some point-of-sale and app orders have, matches neither **a first-time customer** nor **a returning customer**.
- An order with no shipping address counts as outside every country: it doesn't match **is one of** and does match **is not one of**.
- For **Checkout abandoned**, the rules read **Cart** in place of **Order**, and look at what was in the cart.

To go back to emailing everyone, select **Everyone**. The rules are set aside, and come back if you choose **Only customers who match** again before you leave the editor.

## When the rules are checked

UserLoop checks the rules once, when the order comes in (for **Checkout abandoned**, when the checkout is found). So:

- Changing the rules affects new orders only. Emails already scheduled stay scheduled; you can cancel them on **Email activity**.
- An order that doesn't match isn't scheduled at all, so it doesn't appear on **Email activity**.
- **Collections** and **First-time or returning customer** need UserLoop to ask Shopify about the order. If Shopify can't be reached at that moment, the email is listed on **Email activity** as **Skipped**, with **Rules couldn't be checked with Shopify**.

## Check it worked

The sentence under the steps names the customers who get the email, and after **Save** the same words show under **Who** when you point to the survey's status by its name.

| You see | What to do |
| --- | --- |
| **Add a rule, or choose Everyone.** | Add a rule with **Add rule**, or select **Everyone**. |
| **Add at least one product, or remove the Products rule.** | Select **Choose products** and tick at least one, or remove the rule. The same message names collections and countries for their rules. |
| **Enter a minimum or maximum order value, or remove the Order value rule.** | Type an amount, or remove the rule. |
| **Enter an amount such as 25 or 25.50.** | Type numbers only, with a full stop or comma before the pence or cents. |
| **The minimum order value can't be more than the maximum.** | With **between**, put the smaller amount first. |
| **Choose at most 100 products.** | Remove some products, or use a **Collections** rule instead. Collections allow 20, countries 250. |
| **Your store has no products yet.** | Add products in Shopify first, or use another rule. |

## Related

- [Choose when the email sends](https://docs.userloop.io/surveys/email/choose-when-the-email-sends/)
- [See what was sent, and why something wasn't](https://docs.userloop.io/surveys/email/email-activity/)

Source: https://docs.userloop.io/surveys/email/send-only-to-some-customers/index.mdx
