Back in stock with exclusive discount for loyal customers

Notify loyal customers of restocks with exclusive discounts.

circle-info

Before you begin

Not sure where to use this template? Check out Get started with workflow templates library

About this template

When a product is back in stock, check if the interested customer is a loyal one (has multiple orders) and send them an exclusive discount code along with the notification.

Step-by-step guide to set up this template

1

Trigger – Product restock

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

circle-check
2

Condition – Customer criterias: Order count

Set the condition to: Order count β†’ Greater than β†’ a number. This checks whether the customer has placed more than a specific number of orders.

circle-info

Tips: Set a clear order count to clearly define who qualifies as a loyal customer and avoid unexpected results.

circle-check
3

Action – Create discount code

Create a unique discount code for the customer when the condition is met.

circle-check
4

Action – Send email

Send a Back in Stock notification email that includes the newly created discount code.

circle-check
circle-info

If you don’t have an email template yet, check out Create an email template

Read more about the variables you can use in email: Available variables in email templates

circle-check
circle-info

🌟 Pro Tip:

  • Set a clear order count to define which customers qualify as loyal.

  • Use exclusive, single-use discount codes to avoid misuse.

  • Reuse the discount logic in other loyalty or VIP workflows.

Common use cases

The Back in stock with exclusive discount for loyal customers workflow template is commonly used when:

  • You want to reward customers who have placed multiple orders.

  • You want to increase conversions on back in stock notifications.

  • You want to give loyal customers early access to back in stock notifications.


πŸ“© 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.

comment-linesChat now envelopesMessage us

Last updated