The moment it happens
Log incidents in Notion and alert your team
Each outage or error alert becomes a Notion incident page, announced in Slack and updated when it's resolved.
- Runs
- The moment it happens
- Apps
- Notion, Slack
- AI
- Not needed
- Access
- Notion insert+update; Slack chat:write
Send this to your assistant
Create a ClickRuntime automation: give me a link my monitoring tool can send alerts to. Create a page in my Incidents database in Notion for each new incident, post it to #incidents, and mark it resolved when the recovery alert arrives.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
When a service goes down at night, the first alert lands in whichever tool noticed. By the morning, people disagree about when it started, who responded, and whether the same incident was already open. Teams without a dedicated incident tool end up reconstructing a timeline from Slack scrollback. Repeated alerts for one outage add noise, and nobody can answer a customer who asks how often the service was down last quarter.
When your monitor, error tracker or script posts an event to the link ClickRuntime gives you, it parses the event and checks whether an incident for that service is already open. If not, it creates a Notion incident page and announces it in Slack. If one exists, it updates that page and posts the update.
Small engineering and operations teams without a paid incident product use it as a simple record.
What you get out of it
One outage becomes one incident
Repeated alerts for the same service update an existing page instead of creating twenty. The team sees a single clean record with the full timeline. The team sees one clean record with its full timeline, not a scatter of near-identical pages.
Everyone hears about it in Slack
A post goes to the channel the moment an incident opens. Support and account managers learn about the outage from the team instead of from customers. Support and account managers hear about the outage from the team instead of from angry customers.
Notion holds a durable history
Each incident has a start time, updates and status. When a customer asks how often you were down last quarter, you count pages instead of guessing. Counting pages replaces guessing when a customer asks how often you were unavailable last quarter.
Postmortems start with the facts
The page already contains timestamps and the events that arrived. Writing the review is about causes and fixes, not about arguing over when it began. Writing the review becomes a discussion of causes and fixes, not an argument about timing.
Works with the tools you already have
Anything that can send a webhook, from UptimeRobot to a custom script, can feed it. You do not have to replace your monitoring to get incident tracking. You keep the monitoring you trust and gain a record without migrating to anything new.
How it works
What happens, step by step
When your monitoring tool reports an outage or error, it sends the alert to ClickRuntime straight away.
If there is no open incident for that check yet, ClickRuntime creates an incident page in your Notion database.
A message appears in your #incidents Slack channel with the incident and a link to the page.
When the monitor reports the problem is fixed, the Notion page is marked Resolved and Slack is told.
Before it runs live
- Connect Notion and share the database you want it to use
- Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
- Paste your automation's link into the other app's webhook settings
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
- Act only on the items that match your own rules, and skip the rest
- 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 Notion and Slack steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, state, notify
DATABASE_ID = "your-incidents-database-id"
@on_event
def handle(event):
alert = event.json or {}
h = {"Authorization": f"Bearer {credentials.secret('NOTION_TOKEN')}", "Notion-Version": "2022-06-28"}
key = alert.get("monitor") or alert.get("check", "unknown")
open_incidents = state.get("open") or {}
if alert.get("status") in ("up", "resolved") and key in open_incidents:
page_id = open_incidents.pop(key)
http.patch(f"https://api.notion.com/v1/pages/{page_id}", headers=h,
json={"properties": {"Status": {"select": {"name": "Resolved"}}}})
notify.slack(f"✅ Resolved: {key}", channel="#incidents")
elif alert.get("status") in ("down", "triggered") and key not in open_incidents:
page = http.post("https://api.notion.com/v1/pages", headers=h, json={"parent": {"database_id": DATABASE_ID}, "properties": {
"Name": {"title": [{"text": {"content": f"{key}: {alert.get('message', '')}"[:200]}}]},
"Status": {"select": {"name": "Open"}}, "Started": {"date": {"start": event.received_at}}}}).json()
open_incidents[key] = page["id"]
notify.slack(f"🔥 Incident: {key}: {alert.get('message', '')}\n{page['url']}", channel="#incidents")
state.set("open", open_incidents)
return {"open": len(open_incidents)}FAQ
Common questions
How does it know an incident is already open?
What data can I send?
Can severity decide where the alert goes?
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
Turn meeting recordings into Notion notes
After each call, a summary with action items is saved to Notion and the highlights are posted to Slack.
See how it worksSave articles to a Notion reading list
Send a link and get a summary saved to your Notion reading list, with a note in Slack.
See how it worksSend everyone their Notion tasks each morning
Every weekday, each person gets a Slack message with their open tasks and due dates.
See how it worksKeep exploring
Set up “Log incidents in Notion and alert your team” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.