# Urgency back in stock notification

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

{% hint style="info" %}

## Before you begin

Not sure where to use this template? Check out [Get started with workflow templates library](/xflow-app/workflows/get-started-with-workflow-templates-library.md)
{% endhint %}

## About this template

When a product is back in stock, send an **immediate notification** and then a **follow-up urgency email after 1 day** if the customer **hasn't purchased** yet.

## Step-by-step guide to set up this template

{% stepper %}
{% step %}

### Trigger – Product restock

The workflow starts when a product is restocked and becomes available again.

{% hint style="success" %}
📝 Learn more about triggers: [Understanding workflow triggers](/xflow-app/workflows/understanding-workflow-triggers.md)
{% endhint %}

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

{% step %}

### Action – Send email

Send the initial back-in-stock notification email.

{% hint style="success" %}

1. Enter the **email subject**.
2. Select the **initial back-in-stock notification email** that you have prepared in advance.
   {% endhint %}

{% hint style="info" %}
If you don’t have an **email template** yet, check out [Create an email template](/xflow-app/email-templates/create-an-email-template.md)

Read more about the **variables** you can use in email: [Available variables in email templates](/xflow-app/email-templates/understanding-personalization-variables-in-email-templates/available-variables-in-email-templates.md)
{% endhint %}

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

{% step %}

### Action – Wait

Wait for **1 day** before continuing to give customers time to complete their purchase before continuing.

{% hint style="success" %}
📝 Learn more about actions: [Understanding workflow actions](/xflow-app/workflows/understanding-workflow-actions.md)
{% endhint %}

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

{% step %}

### Condition – An event occured: Customer purchased

Check if the customer has **completed a purchase**, so you only follow up with customers who haven’t bought yet.

{% hint style="success" %}
📝 Learn more about conditions: [Workflow condition: An event occurred](/xflow-app/workflows/understanding-workflow-conditions/workflow-condition-an-event-occurred.md)
{% endhint %}

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

{% step %}

### Action – Send email

In the **False** path, if the customer has not purchased, send an urgency email (low stock warning).

{% hint style="warning" %}
In the **True** path, no further action is taken. If the customer has already purchased, **no additional emails are sent and the workflow ends**.
{% endhint %}

{% hint style="success" %}

1. Enter the **email subject**.
2. Select the **urgency email template** that you have prepared in advance.
   {% endhint %}

{% hint style="info" %}
If you don’t have an **email template** yet, check out [Create an email template](/xflow-app/email-templates/create-an-email-template.md)

Read more about the **variables** you can use in email: [Available variables in email templates](/xflow-app/email-templates/understanding-personalization-variables-in-email-templates/available-variables-in-email-templates.md)
{% endhint %}

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

{% hint style="success" %}
All done! This setup makes sure no interested customer is left behind without a reminder.
{% endhint %}

{% hint style="info" %}
**🌟 Pro Tip:**

* Set a reasonable wait time to avoid sending urgency emails too soon.
* Keep urgency emails short and action-focused.
* Highlight low stock or limited availability to drive faster decisions.
  {% endhint %}

## Common use cases

The **Urgency back in stock notification** workflow template is commonly used when:

* You want to encourage customers to complete their purchase if they haven’t bought yet.
* You want to follow up with customers who haven’t purchased after receiving a back in stock notification.
* You want to remind customers to act before the product runs out of stock.

***

#### 📩 **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_urgency_back_in_stock_notification&#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/workflows/get-started-with-workflow-templates-library/urgency-back-in-stock-notification.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.
