Skip to content

Daily

Get a morning list of incidents open over a day

Every morning you see the incidents still triggered or acknowledged after 24 hours, oldest first.

Runs
Daily
Apps
PagerDuty
AI
Not needed
Access
read

Send this to your assistant

Create a ClickRuntime automation: every weekday at 8:30am, email me PagerDuty incidents that are still triggered or acknowledged more than 24 hours after they started, oldest first, with the service and assignee.

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

On a busy engineering team, an incident gets acknowledged at 2 a.m., the on-call person goes back to sleep, and the follow-up never happens. A day later it is still sitting there as triggered or acknowledged. Nobody owns it, the alert noise trained everyone to scroll past it, and the underlying fault, maybe a degraded queue or an expiring certificate, keeps quietly getting worse.

Every morning, PagerDuty is queried for incidents in the triggered or acknowledged state. Anything created more than 24 hours ago is kept, sorted oldest first, and sent to you as one email. If nothing qualifies you still know the check ran, and if something qualifies you see exactly what has been left alone the longest.

Engineering managers and team leads use it as a standing item for standup, and SRE groups use it to catch handoff gaps between shifts.

What you get out of it

  • Stale incidents stop being invisible

    An incident that has been open for a day rarely appears in anyone's chat anymore. A morning list brings it back to the top of an inbox, where someone has to either resolve it or explain why it stays open.

  • Oldest first matches what to fix first

    Sorting by age puts the longest-neglected incident at the top. The person reading has an obvious starting point for the day, and the oldest problems stop quietly drifting into week-old territory.

  • Better handoffs between shifts

    Acknowledged incidents are the ones that fall between people. Listing them daily exposes work that was claimed but not finished, so the next shift knows what the last one left behind.

  • A cleaner standup agenda

    Instead of recalling what is open from memory, the team opens one email with the real list. Standups spend their minutes deciding who takes each item, not reconstructing which incidents exist.

  • Fewer repeat outages from ignored warnings

    Lingering low-urgency incidents often precede a bigger one. Clearing them on a daily rhythm lowers the chance that a known, unresolved warning turns into a customer-facing outage you already had notice of.

How it works

What happens, step by step

  1. Every morning ClickRuntime gets the PagerDuty incidents that are still triggered or acknowledged.

  2. It keeps the ones opened more than 24 hours ago.

  3. You get an email listing them oldest first, with status, service and who is assigned.

Before it runs live

  • Connect PagerDuty

What you get

RunsDaily
Get a morning list of incidents open over a daytoday, 9:00Succeeded
Email · Stale incidents2026-10-17T22:04 [acknowledged] Replica lag on orders-db - postgres, Sam Patel

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 PagerDuty 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.
get_a_daily_list_of_incidents_still_open.pyexample
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, credentials, http, notify

PD = "https://api.pagerduty.com"

def pd(path, **params):
    resp = http.get(f"{PD}{path}", params=params, headers={"Authorization": f"Token token={credentials.secret('PAGERDUTY_API_KEY')}",
                    "Accept": "application/json"})
    resp.raise_for_status()
    return resp.json()

@on_trigger
def run(event):
    cutoff = datetime.now(timezone.utc) - timedelta(hours=24)
    incidents = pd("/incidents", **{"statuses[]": ["triggered", "acknowledged"], "sort_by": "created_at:asc", "limit": 100})["incidents"]
    old = [i for i in incidents if datetime.fromisoformat(i["created_at"].replace("Z", "+00:00")) < cutoff]
    if not old:
        return {"open": 0}
    lines = [f"{i['created_at'][:16]} [{i['status']}] {i['title']} - {i['service']['summary']}, "
             f"{', '.join(a['assignee']['summary'] for a in i['assignments']) or 'unassigned'}" for i in old]
    notify.email_me(f"{len(old)} PagerDuty incidents open over 24h", "\n".join(lines))
    return {"open": len(old)}

FAQ

Common questions

Does an acknowledged incident that auto-resolves still show up?
Only incidents that are still triggered or acknowledged at the time of the morning check are listed. If PagerDuty or a person resolved it overnight, it has left those states and will not appear in that day's email.
Can I narrow the list to one service or escalation policy?
Yes. PagerDuty's incident list can be filtered by service and by team, so you can instruct your AI assistant to limit the email to a single service or to the team you run, and approve the updated version.
How is the 24 hour cutoff measured?
It compares each incident's created time with the moment the check runs. An incident that started 25 hours ago is included even if it was acknowledged ten minutes ago, since the point is how long it has been unresolved.
What permissions does it need?
read. 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 (daily). 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 a morning list of incidents open over a day” from your assistant

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