Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every morning ClickRuntime reads your Wix Stores products and their stock levels.

  2. Products that track inventory and have fewer units than your threshold are picked out.

  3. Each one is posted to your Slack channel with the quantity left.

  4. 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

RunsOn a schedule
Get alerts when Wix Stores products run lowtoday, 9:00Succeeded
Slack · #inventory📦 Running low in Wix Stores: • Gooseneck kettle: 3 left • Single-origin beans 250g: 1 left • Ceramic pour-over set: out of stock

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
get_alerts_when_wix_stores_products_run_low.pyexample
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?
This version checks stock at product level, which Wix totals across variants. For per-size alerts, your assistant can switch to reading variant inventory so a single sold-out size is reported.
Will it post the same product every day?
No. Once a product has been reported it stays quiet until its stock goes back above the threshold. If it runs low again later, you get a new alert.
Can I get these by email instead of Slack?
Yes. Swap the Slack post for an email to yourself. The list is the same either way.
What permissions does it need?
read (Wix Stores products). Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.