# Set up notification rules for back-in-stock alerts

Use Notification rules to control *when* subscribers receive alerts and *how* they’re saved in Shopify. These rules help you avoid sending the wrong alert to the wrong customer—and keep your data clean.

## Access notification rules settings

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

1. From the XFlow dashboard, navigate to the **"Notify me" widget settings**.
2. Select the **Others** tab.
   {% endhint %}

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

## Available rules

### Enable location-based notifications (by country)

Send alerts **only when the product is restocked at the location customers subscribed to**.

{% hint style="info" %}
:star: Tips:

* Useful when you manage **multiple warehouses in different countries**.
* Keep this **off** if all locations ship globally or you don’t manage inventory by country. In that case, all locations share the same back-in-stock alert.
  {% endhint %}

### Create Shopify customer

Automatically create a **Shopify customer profile** for each subscriber. [*Learn more about Customers*](https://help.shopify.com/manual/customers)

{% hint style="info" %}
:thumbsup: Best for:

* Stores planning follow-up campaigns
* Merchants who want subscriber data inside Shopify.
  {% endhint %}

### Recommended setups

<table data-header-hidden><thead><tr><th width="308"></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Single-country store</strong> →</td><td>✅ Location-based notifications: <strong>Off</strong><br>✅ Create Shopify customer: <strong>Optional</strong></td><td></td></tr><tr><td><strong>Multi-country inventory</strong> →</td><td>✅ Location-based notifications: <strong>On</strong><br>✅ Create Shopify customer: <strong>On</strong> (recommended)</td><td></td></tr></tbody></table>

***

#### 📩 **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_set_up_notification_rules_for_back_in_stock_alerts&#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/notify-me-widget/set-up-notification-rules-for-back-in-stock-alerts.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.
