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.
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
Every 30 minutes, ClickRuntime visits each website on your list and looks up each domain you are hoping to buy.
It compares each result with the previous check.
When a site goes down or comes back, or a domain becomes available, you get an email.
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
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 Discord and Gmail steps into one automation
Under the hood
The code that runs this automation
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?
Can my list live in a Google Sheet?
Does a brief blip set off an alert?
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 summary of your inbox in Discord
Each morning, a short Discord message tells you what arrived in your Gmail in the last day and what needs a reply.
See how it worksPost failure and alert emails to a Discord channel
Alert emails from your services show up in your team's Discord channel within minutes, with the subject and a short preview.
See how it worksWelcome new form leads by email and alert Discord
Each new lead from your form gets a welcome email from your Gmail, and your team gets a Discord message with the details.
See how it worksKeep exploring
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.