Email AlertsMay 20265 min read

How to Email Your Team Before a Shopify Product Expires

You can't reorder stock the day something expires. The people who manage procurement, warehouse, and compliance need lead time — weeks of it, sometimes. This guide shows how to get automatic email alerts to the right people before any product's expiry date hits.

The lead time problem

A buyer for a supplement brand has 300 SKUs with rolling expiry dates. Each one needs a reorder decision made 4–6 weeks before the current stock runs out or expires. Manually tracking those dates in a spreadsheet works until someone goes on leave, or the spreadsheet falls out of sync, or a date just slips through.

DateCue watches the expiry metafield on every product and sends an email to whatever staff address you configure — automatically, at whatever lead time you set. No spreadsheet required.

Setting up the workflow

This workflow requires you to have an expiry date metafield on your products. If you haven't set that up yet, see the guide on auto-hiding products on expiry — it walks through the metafield setup.

Metafield: custom.expiry_date
Timing: Before the date (30 days)
Action: Send staff email notification
Filter: Include tags: perishable

The Include tags filter targets only products tagged "perishable" (or whatever tag you use to mark products that need expiry management). If you want every product with the metafield to trigger an alert, leave the filter empty.

Two alerts are better than one

A 30-day alert is useful for procurement. A 7-day alert is useful for operations — "this product is about to come off sale, make sure you're ready." They're two separate DateCue workflows on the same metafield, just with different timing offsets and potentially different recipient email addresses.

Workflow 2 — Metafield: custom.expiry_date
Timing: Before the date (7 days)
Action: Send staff email notification
Filter: Include tags: perishable

Who gets the email?

You configure the recipient email address when setting up the workflow in DateCue. It doesn't have to be the store owner — set it to your buyer, your warehouse manager, your compliance officer, whoever needs to know. Each workflow can have a different recipient, so your 30-day procurement alert goes to the buyer and your 7-day operational alert goes to the warehouse team.

💡 Combine with auto-hide: This email alert workflow and the auto-hide on expiry workflow are natural partners. The email gives your team lead time to act. The auto-hide is the safety net that pulls the product if nothing else happens.

Frequently asked questions

Can I send to multiple email addresses?

Each DateCue workflow sends to one configured email address. If you need to alert multiple people, you can either send to a team distribution list (e.g. warehouse@yourstore.com) or set up two workflows with different recipients and the same timing.

What does the email actually say?

DateCue's email notification includes the product name, the metafield date, and a link to the product in your Shopify admin. It gives the recipient enough context to take action without needing to search for the product.

Can I set different alerts for different product categories?

Yes — use the Include tags filter to create separate workflows for different product groups. A workflow with Include tags: "frozen" fires only for frozen goods; another with Include tags: "cosmetics" fires only for cosmetics. Each can have a different recipient and a different lead time.

Does this work alongside the auto-hide workflow?

Yes — run as many workflows as you need on the same metafield. The email alert fires before expiry to give your team a heads-up; the auto-hide workflow fires after expiry to pull the product. They're independent and don't conflict.

Ready to set this up?

DateCue runs this workflow automatically, every minute, without you touching it.

Start your free trial

14-day free trial. No credit card required.