Skip to content

Every 30 minutes

Get email and Discord alerts when a site goes down or a domain frees up

Your sites and wished-for domains are checked every 30 minutes, and you get an email and a Discord message the moment one changes.

Runs
Every 30 minutes
Apps
Discord, Gmail
AI
Not needed
Access
Gmail send; Discord send

Send this to your assistant

Create a ClickRuntime automation: every 30 minutes, check my list of sites and wished-for domains. If a site goes down or a domain becomes free, email me and post to #monitor on Discord.

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 solo founder runs a product site and a docs site, and has had her eye on a shorter domain for a year. She checks the sites when something feels off and looks up the domain every few weeks. When the docs site went down during a launch, she heard about it from a user on Discord an hour later, and she would have no way of knowing the day the domain finally dropped.

A check every half hour that emails her and posts to her community's Discord covers both: outages are spotted fast and shared with the people affected, and a domain becoming available is noticed while it can still be registered.

What you get out of it

  • You hear first, not your users

    An alert within half an hour gives you time to fix an outage or post an update before questions pile up. Users see that you are already on it.

  • Two channels, so nothing is missed

    The email reaches you personally, and the Discord post tells your team or community. If you are away from one, the other still gets through.

  • Catch a domain the day it drops

    Domains that expire are often registered again within hours. Being told the moment one is free gives you a real chance to get it.

  • Alerts only on a change

    You get one message when a site goes down and one when it comes back. Long outages do not flood your inbox or channel.

  • A simple list to maintain

    Adding a site or a domain to watch is one line. There are no per-site fees or separate monitoring dashboards to keep up.

How it works

What happens, step by step

  1. Every 30 minutes, ClickRuntime visits each website on your list and looks up each domain you are hoping to buy.

  2. It compares each result with the previous check.

  3. When a site goes down or comes back, or a domain becomes available, you get an email.

  4. The same alert is posted to your #monitor channel on Discord.

Before it runs live

  • Connect Discord
  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail

What you get

RunsEvery 30 minutes
Get email and Discord alerts when a site goes down or a domain frees uptoday, 9:00Succeeded
Discord · #monitorcontoso.io is now available

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 and Gmail 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.
monitor_domains_or_websites_with_email_and_discord_alerts.pyexample
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state

SITES, DOMAINS = ["https://example.com", "https://docs.example.com"], ["example.io"]
CHANNEL_ID, ME = "your-discord-channel-id", "you@example.com"

def check(target):
    if target in DOMAINS:
        return "taken" if http.get(f"https://rdap.org/domain/{target}", timeout=10).status_code == 200 else "available"
    try:
        return "up" if http.get(target, timeout=10).status_code < 500 else "down"
    except Exception:
        return "down"

@on_trigger
def run(event):
    last, alerts = state.get("last") or {}, []
    for t in SITES + DOMAINS:
        s = check(t)
        if t in last and last[t] != s:
            alerts.append(f"{t} is now {s}")
        last[t] = s
    if alerts:
        text, msg = "\n".join(alerts), EmailMessage()
        msg["To"], msg["Subject"] = ME, alerts[0]
        msg.set_content(text)
        gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
        gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()
        http.post(f"https://discord.com/api/v10/channels/{CHANNEL_ID}/messages", headers={"Authorization": f"Bot {credentials.secret('DISCORD_BOT_TOKEN')}"}, json={"content": text})
    state.set("last", last)
    return {"alerts": len(alerts)}

FAQ

Common questions

How does it tell that a domain is available?
It looks up the domain in the public registration records. When no registration is found, the domain is reported as available so you can register it.
Can my list live in a Google Sheet?
Yes. Instead of a fixed list, the sites and domains can be read from a sheet, which makes it easy for several people to add items.
Does a brief blip set off an alert?
A single failed check can, so for sites that wobble you can require two failures in a row before alerting. That filters out one-off network hiccups at the cost of a short delay.
What permissions does it need?
Gmail send; Discord send. 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 30 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 email and Discord alerts when a site goes down or a domain frees up” from your assistant

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