Every 5 minutes
Get Slack and Telegram alerts when your websites go down
Your websites are checked every 5 minutes, and you hear in both Slack and Telegram when one goes down or comes back.
- Runs
- Every 5 minutes
- Apps
- Slack, Telegram
- AI
- Not needed
- Access
- Slack chat:write; Telegram bot token
Send this to your assistant
Create a ClickRuntime automation: check my 5 websites every 5 minutes and alert Slack and Telegram when one goes down or comes back up.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A two-person studio runs five websites for itself and its clients. During working hours they watch Slack, but evenings and weekends they only look at their phones, where Telegram is what they actually read. A site that goes down on Saturday morning can stay down until Monday because the alert sat in a work channel nobody opened.
This automation checks each site every five minutes and sends the alert to both places, so whoever is around sees it, at the desk or on the go. A second message says when the site is back.
What you get out of it
Alerts reach you wherever you are
Slack covers the working day and Telegram covers your phone at other times. An outage is seen quickly whatever the hour.
Only changes are reported
You get one message when a site goes down and one when it recovers, not an alert every five minutes. Long outages do not flood either app.
Outage length is clear
The down and back-up messages are timestamped, so you know how long each outage lasted. That helps with client reports and hosting complaints.
No per-site fees
Adding a site means adding one address to the list. Small client sites can be watched as closely as your own.
How it works
What happens, step by step
Every 5 minutes, ClickRuntime visits each website on your list.
It compares the result with the last check to see whether a site has gone down or come back.
Only changes are reported, so you are not alerted again while a site stays down.
Each change is posted to your Slack channel and your Telegram chat at the same time.
Before it runs live
- Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
- Connect Telegram
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 Google Sheets
- Combine it with other Slack and Telegram steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, state, notify
SITES = ["https://northwind.example", "https://shop.northwind.example", "https://acme.example"]
TELEGRAM_CHAT_ID = "your-telegram-chat-id"
@on_trigger
def run(event):
status = state.get("status") or {}
changes = []
for url in SITES:
try:
up = http.get(url, timeout=10).status_code < 500
except Exception:
up = False
if url in status and status[url] != up:
changes.append(f"{'Back up' if up else 'DOWN'}: {url}")
status[url] = up
if changes:
text = "\n".join(changes)
notify.slack(text, channel="#ops")
http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
json={"chat_id": TELEGRAM_CHAT_ID, "text": text})
state.set("status", status)
return {"checked": len(SITES), "changes": len(changes)}FAQ
Common questions
What counts as down?
Can I alert only Telegram at night?
How do I set up the Telegram side?
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 alerts when Bitcoin or Ethereum drops past your threshold
You get one message in Telegram and Slack when Bitcoin or Ethereum falls more than your chosen percentage in 24 hours.
See how it worksGet task reminders on both Slack and Telegram
Reminders you set arrive in Slack and on Telegram at the time you chose, so you see them at your desk or on your phone.
See how it worksGet a daily news digest in Telegram and Slack
Each morning a short digest of the top news on your topic arrives in your Telegram chat and your Slack channel.
See how it worksKeep exploring
Set up “Get Slack and Telegram alerts when your websites go down” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.