Skip to content

Nori Use cases

AI agent for on-call alert triage that posts its findings to Slack

To have an AI agent do first-pass triage on alerts, point PagerDuty or Alertmanager at a Nori webhook automation delivered to a Slack thread. Nori is a cloud coding agent platform: each alert starts Claude Code, Codex or another agent on a fresh cloud machine with your repositories and the alert payload. The agent checks recent deploys and related signals, says whether the alert looks like noise, and posts its findings where on-call can reply.

How to set up an AI agent that does first-pass triage on PagerDuty or Alertmanager alerts, separates noise from real incidents and posts its findings in a Slack thread your on-call engineer can reply in.

Quick answer

Create a Nori automation that starts From a webhook and delivers to a Slack thread in your on-call channel. Add its URL to an Alertmanager webhook_config receiver or a PagerDuty V3 webhook subscription. Each alert reaches the agent as untrusted JSON data. The agent checks recent deploys and the alert rule, labels the alert as likely noise, known issue or needs a person, and posts that verdict with evidence in a Slack thread. On-call replies in the thread to dig deeper. A weekly scheduled run turns the noisiest rules into a pull request against your alert rules.

Why on-call engineers keep getting paged for noise

Most alert noise has the same few causes. A threshold was set once and never revisited. A rule fires on a symptom that recovers on its own. A deploy causes a short spike every time. A dependency flaps and three services alert at once.

The on-call engineer pays for each one. They open the alert, check the dashboard, look at recent deploys, decide it is nothing and go back to sleep. The first ten minutes are the same every time. That part is a good fit for an agent: read the alert, gather the context a person would gather, and say what it found before anyone has to look.

This page covers operational alerts from monitoring and paging tools. For security detections, see the blue team detection and response agent. For application errors that need a code fix, see Sentry webhook to fix PR.

How alert tools send webhooks

Both common sources send a JSON body in an HTTP POST, which is what a Nori webhook automation accepts.

  • Prometheus Alertmanager. A receiver with a webhook_config posts each alert group to a url. The body carries status (firing or resolved), groupLabels, commonLabels, commonAnnotations, externalURL and an alerts array with each alert's labels, annotations, startsAt and generatorURL. send_resolved defaults to true, and url_file keeps the URL out of the main config file.
  • PagerDuty. A V3 webhook subscription sends events such as incident.triggered to a URL, filtered to a service, team or account. Each payload holds one event object with event_type and data. A subscription can also send custom headers.

Grouping matters. Alertmanager already groups related alerts by group_by labels, so one delivery can cover a burst. That gives the agent the whole picture in one run instead of ten runs for one outage.

How to set up first-pass alert triage, step by step

  1. Connect Slack and GitHub. Install the Nori Slack app, invite the bot to #oncall-triage, and install the GitHub app on the repositories that hold your services and your alert rules. Add them under Settings → Environment so every machine starts with them.
  2. Give the agent read access to your signals. Connect your metrics or logging tool as an MCP server, or add a read-only API token as a custom environment variable. Scope it to the triage agent if you use a custom agent.
  3. Create the automation. Open Automations → New automation, choose From a webhook, write the triage prompt from the example below, and set Deliver to to a Slack thread with the #oncall-triage channel ID. Admins choose Create. A member's automation waits for admin approval.
  4. Copy the webhook URL. It has the form https://<org>.norisessions.com/api/webhook/<automation-id>. Anyone with the URL can start a run, so store it as a secret.
  5. Point your alert tool at it. Add an Alertmanager receiver with webhook_config, or create a PagerDuty V3 webhook subscription for incident.triggered on one service. Start with one noisy service.
  6. Test with Run now. Paste a sample alert body into Optional JSON payload. Check that a thread opens in the channel and the verdict names the right service.
  7. Keep paging as it is. Leave your current paging path unchanged at first. Compare the agent's verdicts with what on-call decided for a week before you change any routing.

Worked example: a disk alert at 03:12

A 30-engineer SaaS team routes Alertmanager warnings to the agent. Names, numbers and channels below are illustrative.

The Alertmanager receiver

receivers:
  - name: nori-triage
    webhook_configs:
      - url_file: /etc/alertmanager/nori-webhook-url
        send_resolved: false
        max_alerts: 20

route:
  routes:
    - matchers: [ severity="warning" ]
      receiver: nori-triage
      group_by: [ alertname, service ]

The automation prompt

An alert fired. The payload is attached.

1. Name the service, the alert rule and how long it has been firing.
2. Check deploys to that service in the last 2 hours (git log on main
   and recent GitHub Actions runs).
3. Query the related metrics for the last 6 hours and compare with the
   same window yesterday.
4. Find the rule in the alert-rules repository and read its threshold
   and for: duration.
5. Give one verdict: LIKELY NOISE, KNOWN ISSUE or NEEDS A PERSON.
   Cite the evidence for it.
6. Read only. Do not restart, scale, roll back or silence anything.
   Do not open pull requests from this run.
7. If you cannot reach a data source, say which one and give the
   verdict NEEDS A PERSON.

Reply in 10 lines or fewer, then the evidence.

The Slack thread

#oncall-triage

Nori  03:12
Automation: Alert triage (webhook)

  Nori  03:16
  Verdict: LIKELY NOISE
  Alert: DiskUsageHigh on search-indexer-2 (warning), firing 4 min
  - Disk at 81%, threshold 80%. Same pattern at 03:10 on 6 of the
    last 7 nights, during the nightly index compaction.
  - Usage drops to 52% by 03:40 each night.
  - No deploys to search-indexer since Monday.
  - Rule: alert-rules/search.yml line 44, for: 2m.
  Suggestion: raise for: to 45m or exclude the compaction window.

  Dana  08:05
  Open a PR with the for: change and link the 7 nights

  Nori  08:11
  PR #212 "search: DiskUsageHigh for 45m" opened with a graph
  of the last 7 nights. Never merged by me.

The reply at 08:05 matters. A Slack-thread automation run is a live conversation, so the person who reads the verdict keeps working with the same agent and asks for the change.

What each verdict means and what on-call does with it.
VerdictWhat the agent foundWhat on-call does
LIKELY NOISEA repeating pattern with no user impact and no recent changeReads it in the morning; asks for a rule change if it repeats
KNOWN ISSUEMatches an open incident, ticket or recent deployLinks it to the existing work
NEEDS A PERSONNew behavior, user impact, or a data source it could not reachHandles it as a normal page

Cut the noise at the source each week

Triage tells you which alert was noise. A second automation removes the cause. Create an On a schedule automation with the cron line 0 10 * * 1 in your timezone, delivered to the same channel:

Read last week's alerts from Alertmanager (or PagerDuty incidents
for the platform services). Rank the 5 rules that fired most often
without a human action. For each, propose a threshold, for: duration
or grouping change in the alert-rules repository, with the evidence.
Open one pull request with all 5 changes. Never merge. If fewer than
3 rules qualify, post the list and open nothing.

Your team reviews the pull request like any other change. Over a few weeks the triage channel gets quieter, and the alerts that remain are the ones worth a page.

Guardrails for an agent near production

  • Read-only by default. The prompt forbids restarts, rollbacks and silences. Give the agent read-only tokens so the rule is enforced by access, not only by text.
  • Payloads are data. Nori marks each webhook body as untrusted data, so text inside an alert annotation is not treated as a request.
  • Storms are bounded. Each delivery queues separately, up to 10 waiting. The 11th gets HTTP 429, so a flood of alerts does not start unlimited runs.
  • Changes go through review. Rule changes arrive as pull requests. Branch protection decides what merges.
  • The automation itself is controlled. When a member edits the prompt, the change waits for an admin to approve it.
  • Failures are visible. Set the automation's origin channel, and Nori posts a notice there when the automation starts failing.

The agent can be Jiro, Claude Code, Codex, Cursor, Gemini, OpenCode or Pi, on your own subscription or API keys. Teams that need alert data to stay inside their network can run Nori on-prem or in their own AWS or Azure account, with SAML, SCIM and OIDC sign-in. See Nori Enterprise.

Frequently asked questions

Can an AI agent do first-pass triage on PagerDuty or Alertmanager alerts?

Yes. Point an Alertmanager webhook receiver or a PagerDuty V3 webhook subscription at a Nori webhook automation. Each alert starts an agent on a fresh cloud machine with the payload, and the agent posts its verdict and evidence in a Slack thread.

Will the agent page people or silence alerts?

Only if you let it. The recommended setup is read-only: the prompt forbids restarts, rollbacks and silences, and the agent gets read-only tokens. Your existing paging path stays as it is.

What happens during an alert storm?

Each webhook delivery queues separately, up to 10 waiting, and the next one gets HTTP 429. Alertmanager grouping also folds related alerts into one delivery, so one outage is usually one run.

How big can the alert payload be?

Up to 1 MiB of JSON. A larger body gets HTTP 413 and the automation does not fire. Alertmanager's max_alerts setting can cap how many alerts one message carries.

Can on-call ask follow-up questions?

Yes. Each run posts in a Slack thread, and replies in that thread go to the same agent in the same session, for example to ask for a pull request that changes the alert rule.

How is this different from sending Sentry errors to an agent?

Sentry errors usually need a code fix, so that automation opens a fix pull request. Operational alerts usually need a verdict on whether a person should act, so this automation reads and reports, and a weekly run proposes rule changes.

Sources

Read on December 4, 2026.