On a schedule
Get alerts when Wix Stores products run low
Every morning, Wix Stores products with tracked stock below your threshold are posted to Slack with the quantity left, and each product is reported once until it is restocked.
- Runs
- On a schedule
- Apps
- Wix
- AI
- Not needed
- Access
- read (Wix Stores products)
Send this to your assistant
Create a ClickRuntime automation: every day at 9am, check my Wix Stores products and post any with fewer than 5 in stock to #inventory in Slack, once per product until it's restocked.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Running out of a best seller costs sales twice: the orders you miss now and the customers who go elsewhere next time. Wix shows stock levels in the dashboard, but nobody checks every product every day.
This reads your Wix Stores catalogue each morning and posts any product below your threshold to Slack. It remembers what it has already reported, so the channel only hears about new shortfalls.
It suits small shops where the owner also handles ordering, and teams where the person restocking is not the person who looks at the store.
What you get out of it
Reorder before you sell out
A warning at five units gives time to order from the supplier. Waiting for the out-of-stock badge leaves a gap in sales.
No repeat noise
Each product is reported once per low spell. The channel stays readable and every message means something.
Your own threshold
Set the number that matches your supplier's lead time. A slow-shipping product can use a higher threshold than a local one.
Where the team already looks
The person who restocks sees the alert in Slack without needing a Wix login.
Only tracked items
Products without inventory tracking, like digital goods or made-to-order items, are ignored, so you only see real stock problems.
How it works
What happens, step by step
Every morning ClickRuntime reads your Wix Stores products and their stock levels.
Products that track inventory and have fewer units than your threshold are picked out.
Each one is posted to your Slack channel with the quantity left.
A product is only reported again after it has been restocked and run low a second time.
Before it runs live
- Connect Wix
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Wix steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, state, notify
SITE_ID = "your-site-id"
THRESHOLD = 5
@on_trigger
def run(event):
products, offset = [], 0
while True:
resp = http.post("https://www.wixapis.com/stores-reader/v1/products/query",
headers={"Authorization": credentials.secret("WIX_API_KEY"), "wix-site-id": SITE_ID},
json={"query": {"paging": {"limit": 100, "offset": offset}}})
resp.raise_for_status()
page = resp.json().get("products", [])
products += page
if len(page) < 100:
break
offset += 100
low = {p["id"]: (p["name"], p["stock"].get("quantity", 0)) for p in products
if p.get("stock", {}).get("trackInventory") and p["stock"].get("quantity", 0) < THRESHOLD}
alerted = set(state.get("alerted") or [])
fresh = [pid for pid in low if pid not in alerted]
if fresh:
lines = [f"• {low[pid][0]}: " + (f"{low[pid][1]} left" if low[pid][1] > 0 else "out of stock") for pid in fresh]
notify.slack("📦 Running low in Wix Stores:\n" + "\n".join(lines), channel="#inventory")
state.set("alerted", list(low))
return {"low": len(low), "posted": len(fresh)}FAQ
Common questions
What about products with variants, like sizes?
Will it post the same product every day?
Can I get these by email instead of Slack?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a daily email of Wix form submissions
Each morning at 8am one email lists every Wix form submission from the past 24 hours, grouped by form, with name, email and message.
See how it worksEmail a weekly Wix Stores sales summary
Every Monday an email shows last week's Wix Stores order count, revenue, average order value and the five best-selling products.
See how it worksGet Wix form submissions in Slack
A few minutes after someone fills in a form on your site, every field is in Slack.
See how it worksKeep exploring
Set up “Get alerts when Wix Stores products run low” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.