Home / Questions

Sending Shopify stock alerts to Slack: the webhook, step by step

To get Shopify low stock alerts into Slack you need one thing, an incoming webhook URL for the place you want them to land. Restoc stores that URL with your alert settings, checks its shape before saving, and posts to it when a SKU crosses its reorder point, alongside the email alert.

What the Slack route actually is

There is no handshake to negotiate. Slack gives you an incoming webhook, one URL that accepts a message and posts it where you pointed it. Restoc stores that URL against your store. When a SKU crosses its reorder point, Restoc posts the reorder alert there, alongside the email alert.

Three things follow from that, and they are the whole shape of the setup.

  • The URL is yours, created in Slack. It is bound to the one destination you picked. Move the alerts somewhere else and you create a new URL.
  • It is a secret. Anyone holding it can post there. Treat it like a password.
  • There is no Slack app to authorise. Restoc holds a webhook URL, not workspace permissions. Nobody has to approve an install on the Slack side.

That makes the Slack path shorter than most integrations, and narrower. Restoc posts where the URL points. It cannot read what your team writes, list your members, or reach anywhere else in the workspace.

The steps, in order

  1. Create the incoming webhook in Slack

    In your Slack workspace, add an incoming webhook and point it where your buyer or ops person actually looks. Slack hands back a URL. Copy it once, in full, because a truncated paste is the most common way this setup fails.

  2. Paste it into Settings > Alerts

    One field, one paste. Restoc checks the URL against the expected incoming webhook format before it saves, so a malformed or half-copied string is refused with a clear message instead of being stored quietly and failing later.

  3. Send a test alert

    Settings > Alerts has a test send that fires a sample message through the webhook you just saved. Press it and watch for the message. You want to see it land now, not during a real stockout.

  4. Set lead time, velocity window and safety stock

    The alert fires on a crossing, not on a round number you guessed. Enter a lead time per SKU. Pick a sales velocity window of 7, 14 or 30 days. Add a store-wide safety stock percentage. The reorder point follows from your own numbers.

  5. Leave it to the crossing

    When a SKU crosses its reorder point, a background job opens the alert and delivers it everywhere you have switched on. Delivery is idempotent, so one crossing produces one message per destination.

The URL is a key, so treat it like one

The webhook URL is the only credential in this setup. It carries all the access. A long secret path on a Slack domain is what stands between your team's messages and anyone who finds the string in a shared document.

Practical consequences

  • Pick the destination deliberately. The URL is bound to one place. Create it against the one you want, not a general one you plan to leave later.
  • Rotate in Slack, repaste in Restoc. Revoke the webhook and the old URL stops working. Create a new one, paste it into Settings > Alerts, fire a test send. Nothing else about your reorder points changes.
  • Switch it off whenever you like. The Slack destination sits in Settings > Alerts, next to the email address alerts go to. Either can be turned off there. Your reorder points, lead times, velocity window and safety stock stay exactly as they were.
  • Know what Slack sees. Slack receives the reorder alert, at the webhook you configured. Nothing else about your store goes with it.

Still deciding whether Slack is the right home for these alerts at all? The page on reorder alerts where your team already works makes that case rather than this one.

Questions

Do I need a Slack app, or just a webhook URL?

Just the URL. Restoc stores one Slack webhook URL for your store, next to the email address alerts go to, and posts the alert to it. There is no Slack app to install on our side and no workspace-wide permission for us to hold. If you revoke or rotate the webhook in Slack, you paste the new URL into Settings > Alerts and carry on.

Where does the webhook URL come from?

From Slack, not from Shopify and not from Restoc. You create an incoming webhook in your workspace, choose where the messages should land, and Slack returns a URL with a long secret path on the end. That URL is the destination, so if you want alerts in #buying rather than #general you create it against #buying. Keep it as you would keep a password, because anyone with it can post there.

What happens if I paste a malformed webhook URL?

The save is refused and you are told why. Restoc checks the webhook URL against the expected incoming webhook format before it stores anything, so a half-copied or mistyped string is not accepted quietly and then left to fail during a real stockout. Fix the URL and save again. Then fire the test send, so you have watched a message land before you depend on it.

Can I check it works before I rely on it?

Yes, and you should. Settings > Alerts carries a test send that pushes a sample message through the configured webhook, so you confirm delivery before a real crossing depends on it. Our page on testing an alert before you rely on it covers what the test proves and what it does not. If the test does not land, the checklist page for when no alert arrives sets out the order to check things in.

What actually triggers the message?

A SKU crossing its reorder point. Restoc works that point out from your sales velocity window of 7, 14 or 30 days, the lead time you enter per SKU, and your store-wide safety stock percentage, rather than from a fixed number you maintain by hand. The feature page on reorder points from your own sales velocity and lead time walks through that calculation.

Will the same alert arrive over and over?

No. Delivery runs through an idempotent background job, so one crossing produces one alert per destination even if the job runs again. There is a separate page on how the once-per-crossing rule is enforced if you want the detail.

Can I have email and Slack at the same time?

Yes. On Growth, Slack alerts run through your incoming webhook alongside email, so the buyer gets the inbox copy and the team sees the Slack message. Starter delivers alerts by email only, so if Slack is where your team lives, Growth is the tier to look at.

Which plans include Slack delivery?

Growth, at $19 a month or $190 a year, lists Slack alerts through an incoming webhook alongside email, and Pro at $29 a month or $290 a year includes everything in Growth. Starter at $9 a month covers email alerts when a SKU crosses its reorder point. Every plan carries a 30-day free trial and bills on your Shopify invoice.

Sources

Install Restoc on your store

Three tiers from $9 a month, up to 2,000 tracked SKUs. The free trial covers a full weekly reorder cycle before the first charge.