Skip to content

Every 5–60 minutes

Get told when an item is back in stock

Your server hears the moment a product page changes, like a sold-out item coming back.

Runs
Every 5–60 minutes
Apps
Discord
AI
Not needed
Access
Send Messages

Send this to your assistant

Create a ClickRuntime automation: every 30 minutes, check this product page and post the link in #deals on my Discord when 'Out of stock' disappears.

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

A limited sneaker restock, a free game on a store page, a campsite booking page or a government appointment slot appears for a few minutes and is gone. Refreshing the page all day is not realistic, and by the time a friend mentions it in a chat, the stock is sold out or the offer has ended. Plenty of useful pages have no email alert and no feed, so the only way to know is to look.

Every five to sixty minutes the automation fetches the page, extracts the text you care about or a fingerprint of the content, and compares it with what it saw last time. When something changes, it posts a message with the link in your Discord channel, so you and your friends can act while the item is still there.

Deal hunters, gaming groups and anyone waiting on a page without notifications will find it useful.

What you get out of it

  • Catch the restock before it sells out

    Limited items often disappear within the hour. A message in a channel your phone already notifies you about gives you a real chance to buy, which a daily manual check never would.

  • A shared watch for the whole group

    One automation can serve a whole server. When a free game or a sale goes live, everyone interested sees it at once, so nobody relies on the one friend who happens to be online.

  • Works on pages with no alerts

    Many small shops, booking sites and notice boards offer no email or feed. Watching the page itself fills the gap, turning any public page into something that can notify you.

  • Fewer false alarms

    Watching one piece of text, such as a price or a stock label, avoids alerts for unrelated edits like a rotating banner or a timestamp. You hear about changes that matter and ignore the rest.

  • Pick the checking interval

    A hot item may deserve a check every five minutes, while a slow-moving notice page needs one an hour. Matching the interval to how fast the page changes keeps the alerts timely without waste.

How it works

What happens, step by step

  1. Every few minutes, ClickRuntime opens the product page you are watching.

  2. It reads the part of the page you care about, such as the stock status.

  3. It compares that with what it saw last time.

  4. When it changes, for example from sold out to in stock, a message is posted to your Discord channel with a link to the page.

Before it runs live

  • Connect Discord

What you get

RunsEvery 5–60 minutes
Get told when an item is back in stocktoday, 9:00Succeeded
Discord · #dealsBack in stock: shop.example.com/products/widget

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 Discord 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.
web_page_change_or_back_in_stock_alert.pyexample
from clickruntime import on_trigger, http, credentials, state

DEALS_CHANNEL = "DEALS_CHANNEL_ID"
PRODUCT_URL = "https://shop.example.com/products/widget"

def discord(method, path, **kw):
    r = http.request(method, f"https://discord.com/api/v10{path}",
                     headers={"Authorization": f"Bot {credentials.secret('DISCORD_BOT_TOKEN')}"}, **kw)
    r.raise_for_status()
    return r.json() if r.content else None

@on_trigger
def run(event):
    in_stock = "out of stock" not in http.get(PRODUCT_URL).text.lower()
    was_in_stock = state.get("in_stock")
    state.set("in_stock", in_stock)
    if in_stock and was_in_stock is False:
        discord("POST", f"/channels/{DEALS_CHANNEL}/messages", json={"content": f"Back in stock: {PRODUCT_URL}"})
        return {"posted": True}
    return {"posted": False, "in_stock": in_stock}

FAQ

Common questions

Can it watch pages that need a login?
It fetches pages the way a visitor without an account would, so pages behind a login are not reachable. Public pages, including most shop product pages and store listings, work well, but account dashboards do not.
What if the page builds its content with JavaScript?
The automation reads the HTML the server returns. If the stock label is added later by JavaScript, it may not appear. Many shops also expose the same data through a public address that can be watched instead, and your AI assistant can look for it.
How do I avoid alerts for tiny changes?
Tell your AI assistant exactly what to watch, such as the text next to the Add to cart button or the price. Changes elsewhere on the page are then ignored, so the channel only sees the changes that matter to you.
What permissions does it need?
Send Messages. 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 (every 5–60 minutes). 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 told when an item is back in stock” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.