Engineering

Investigate an alert when it fires

When incident.io raises an alert, Merlin checks the service in Datadog and Sentry and what merged recently. You get the likely cause in #oncall.

@Merlin whenever incident.io reports a new alert, post here what fired and which service it's about. Check that service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. Give the likely cause with the evidence, or say you couldn't find one. Only read: don't acknowledge the alert or change anything.

#oncall
Get started for free
  1. Starts whenincident.io sends the alert to Merlin's webhook as soon as it fires
  2. Merlin worksClaude Code or Codex checks the service in Datadog and Sentry and the pull requests merged recently to acme/web
  3. You getA post in #oncall with what fired, the likely cause and the evidence

Tools

  • incident.io
  • Datadog
  • Sentry
  • GitHub
  • Slack

Capabilities

  • Automations
  • Integrations
  • Your agent's MCP

How it works

From a new incident.io alert to the likely cause in #oncall.

When an alert fires, incident.io sends public_alert.alert_created_v1 to Merlin's webhook and the automation starts a run.

/AcmeTeam/Automations/Investigate an alert when it firesFeedback?R

Overview

Agents

Skills

Memory

Automations

Integrations

Settings

Investigate an alert when it fires

Pause
StatusActive
CreatorR Ravi You
ScopeWorkspace
Last runOct 22, 2026, 9:41 AM

DetailsRun history

Trigger

Where events come from, the event that starts a run, and the filters it must match.

incident.ioManage
Alert is created
Filter

Run

What Merlin does each time, where it runs, and where the result goes.

Run instruction

whenever incident.io reports a new alert, post here what fired and which service it's about. Check that service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. Give the likely cause with the evidence, or say you couldn't find one. Only read: don't acknowledge the alert or change anything.

RuntimeThe computer and coding agent that run it.Ravi's Mac mini · Claude Code
DestinationWhere Merlin posts the result. Choose None when the instruction already acts in your tools.#oncall

Before and after

On-call starts from a likely cause instead of a blank dashboard.

Without Merlin

Whoever is on call opens four tools and lines up the times before they know where to look.

  1. 01Open the alert
  2. 02Work out which service it's about
  3. 03Open the service dashboard
  4. 04Find when latency moved
  5. 05Filter for new errors
  6. 06List the recent merges
  7. 07Read the likeliest change
  8. 08Line up the times
  9. 09Post what you found in #oncall

With Merlin

The alert starts the digging, and on-call reads the evidence first.

  1. incident.io reports a new alertTo Merlin's incident.io webhook
  2. Checks the service on Ravi's Mac miniDatadog, Sentry and recent merges, read-only
  3. The likely cause in #oncallWith the evidence, nothing acknowledged

Setup

Send incident.io alerts to Merlin and give your agent Datadog.

Set these up once and every new alert gets a first look in #oncall. Sentry is optional.

  1. 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
  2. 02Send incident.io events to MerlinWebhooksAdd Merlin's webhook in incident.io with its setup steps. Nothing starts until its first event arrives.
  3. 03Add Datadog to your agentYour agent's MCPConnect the Datadog MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Keep Sentry on your agentOptionalYour agent's MCPIf your machine's agent already uses the Sentry MCP server, Merlin can use it here too. You don't need to set up anything in Merlin.
  5. 05Install the GitHub appIntegrationsPick the repositories Merlin can access, so it can read and link the pull requests there. Pushes use the machine owner's own Git access.
  6. 06Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  7. 07Keep a machine on around the clockRuntime

    Alerts fire at any hour. Each run prefers a machine the creator owns, then their other machines or a public one, so keep one with Datadog connected awake, or share a machine that stays on.

  8. 08Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.

Prompt

Have Merlin look into every new alert with one prompt.

@Merlin whenever incident.io reports a new alert, post here what fired and which service it's about. Check that service's error rates and latency in Datadog, new errors in Sentry and the pull requests merged to acme/web in the last few hours. Give the likely cause with the evidence, or say you couldn't find one. Only read: don't acknowledge the alert or change anything.

#oncall

Once, when you send it

  1. PromptYou send the prompt to @Merlin
  2. WebhookYou add Merlin's webhook in incident.io
  3. AutomationMerlin creates the automation

Every time the event arrives

  1. Eventincident.io sends the event
  2. RuntimeMerlin picks the creator's machine first
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex checks Datadog, Sentry and recent merges
  5. ResultMerlin posts the likely cause in #oncall
  6. SteeringReplies in its thread follow up

Bring your coding agents into the tools your team already uses.

Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.