Most merchants find out about stock problems from customers. An order comes in for something that is not really on the shelf, a popular product quietly goes out of stock during a sale, or a variant shows as available when it is not. By the time the email arrives asking where the order is, the sale is already at risk and so is the customer's trust.
The information needed to catch these problems early usually exists. Shopify knows the moment a product, a price or an order changes. The trick is getting that information to a person while there is still time to do something about it.
Why checking by hand does not work
The traditional approach is a morning routine: open the admin, scan inventory, look at yesterday's orders, and hope anything important stands out. That catches some problems, but only once a day, and only the ones someone thinks to look for. A price typo made at lunchtime or a product that sells out at eight in the evening can sit unnoticed until the next morning.
Scheduled reports are better but have the same shape. They tell you what already happened, on a timetable, rather than what is happening now.
Webhooks: let the store tell you
Shopify can send a webhook every time something changes: a product is updated, stock moves, an order is created or updated. Instead of asking the store what changed, you let the store tell you the moment it does. That turns a daily check into a live feed.
A feed on its own is just noise, though. A busy store changes constantly. The value comes from what sits between the webhook and the merchant:
- A reliable way in. Webhooks arrive in bursts, especially during a sale. They should land somewhere that accepts them quickly and puts them in a queue, so nothing is dropped when things get busy.
- Rules the merchant controls. Stock falling below a level they care about, a price changing by more than expected, a product being unpublished. The merchant decides what counts as a problem, not the developer.
- Alerts where people already are. Email or Slack, sent straight away, with enough detail to act without opening five screens.
How I built this for StoreAlert
StoreAlert is a Shopify app I designed and built that alerts merchants the moment something changes in their store, from product and price edits to order events. It runs as a small pipeline on Cloudflare Workers. Shopify webhooks land on a Hono endpoint and go into a queue, so a busy sale never drops an event. Each one is checked against rules the merchant sets in an embedded Polaris admin, and anything that matches goes out as an email or Slack alert straight away.
Because it runs entirely on Cloudflare, there are no servers to manage and it scales with the store. It is live on the Shopify App Store as a free app.
A good alert reads like a colleague tapping you on the shoulder: this just changed, was that intentional? It should never read like a log file.
Getting alerts right
The hardest part of alerting is not the plumbing. It is deciding what deserves an alert. Too few and problems slip through. Too many and people mute the channel, which is worse than having no alerts at all.
A few habits help. Start with a small number of rules tied to real past problems, the kind you would pay to have caught earlier. Make every alert say what changed, from what, to what, so the person can decide in seconds. And review the rules after a few weeks: anything nobody ever acts on should be tightened or removed.
Stock alerts are also a natural first step toward something more. Once changes are flowing reliably, the same events can feed reordering, reporting or an agent that suggests what to do next. The foundation is the same: hear about changes as they happen, and filter them down to the ones that matter.
If stock surprises are costing you sales or support time, I am happy to look at what is going wrong and whether an off-the-shelf app covers it or something more tailored would help.