# Global restock campaign

{% embed url="<https://www.youtube.com/watch?pp=2AYH&v=zyZZ5rRRHnI>" %}

{% hint style="info" %}

## Before you begin

On the XFlow dashboard, you’ll see an important notice prompting you to activate the global restock campaign.&#x20;

This campaign applies to **all out-of-stock products** in your store and allows you to quickly start with **prebuilt workflows** and **email templates**.

Review and customize the workflow and email if needed, then **activate the campaign** to start sending back-in-stock notifications automatically.

<img src="/files/p0QbNjvfNT64vsQUrDtI" alt="" data-size="original">
{% endhint %}

The **Global restock campaign** allows users to quickly enable a global restock campaign using prebuilt workflows and email templates. This campaign applies to all out-of-stock products in the store and helps automate the process of sending back-in-stock notifications.

## How to activate the Global restock campaign

{% stepper %}
{% step %}

### Enable XFlow Helper

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

1. Go to your Shopify dashboard.
2. Choose **Online Store > Themes.**
3. Navigate to **App embeds** and enable **XFlow Helper.**
   {% endhint %}

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

Once enabled, customers will be able to subscribe to back-in-stock alerts directly from your product page.
{% endstep %}

{% step %}

### Review notification email

XFlow provides a ready-to-use **Restock notification template** with product details and a direct link to purchase. You can customize the email or use this default template.

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

{% hint style="info" %}
Learn more: [Email templates](/xflow-app/email-templates/overview.md)
{% endhint %}
{% endstep %}

{% step %}

### Review restock workflow

Review the **restock notification workflow** that triggers your back-in-stock emails when a product is restocked. You can use the default setup or extend it with additional triggers, conditions, and actions.

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

{% hint style="info" %}
Learn more: [Workflows](/xflow-app/workflows/overview.md)
{% endhint %}
{% endstep %}

{% step %}

### Activate the global campaign

Activate the global campaign to apply the restock workflow to **all out-of-stock products** in your store. You can exclude specific products if needed.

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

{% hint style="info" %}
Learn more: [Campaigns](/xflow-app/campaigns/overview.md)
{% endhint %}
{% endstep %}

{% step %}

### Test the automation

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

1. Subscribe via the **Notify me button**.
2. **Restock the product** and confirm the **notification email is sent**.
3. XFlow tracks the entire customer journey for you, from email opens to completed purchases.
   {% endhint %}

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

{% hint style="info" %}
Learn more: [Test an email campaign](/xflow-app/campaigns/test-an-email-campaign.md)
{% endhint %}
{% endstep %}
{% endstepper %}

## Related articles

{% content-ref url="/pages/q5F7cDWOf0ywy0z1tJVl" %}
[Advanced restock campaign](/xflow-app/getting-started/quick-start-guide/advanced-restock-campaign.md)
{% endcontent-ref %}

{% content-ref url="/pages/245sE35jKwuGdo2RydlX" %}
[What is XFLow](/xflow-app/getting-started/what-is-xflow.md)
{% endcontent-ref %}

{% content-ref url="/pages/wXs14j9RqUUgmuT5uGo9" %}
[Key concept overviews](/xflow-app/getting-started/key-concept-overviews.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_global_restock_campaign&#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/getting-started/quick-start-guide/global-restock-campaign.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.
