Use this template
Open SRE Incident Response in Devin and create the automation with the default configuration. You can customize it before saving.
What this automation does
This automation is built around the universal 🚨 emoji reaction — the fastest way to flag “this is an incident.” When Devin sees the reaction land in#incidents (or whichever channel you designate), it reads the full message thread for context, pulls the last hour of Datadog alerts and Sentry errors, checks recent merges for suspicious changes, and posts a structured postmortem draft. A human can take it from there or send a follow-up in-thread to steer the investigation.
How it works
Trigger: Slack event —reaction.added
- Event:
slack:reaction_added- Conditions:
reactioneqrotating_lightchanneleq#incidents
- Conditions:
Prerequisites
- Integrations:
- MCP servers:
- Datadog MCP — connects Devin to Datadog
- Sentry MCP — connects Devin to Sentry
Example prompt
The template ships with this prompt. You can edit it after clicking Use template, or leave it as-is.Setting it up
- Open Automations → Templates in Devin.
- Click SRE Incident Response. The create page opens with this template pre-filled.
- Connect any required integrations and install MCP servers if you haven’t already.
- Replace any placeholder values in the trigger conditions (for example, swap
your-org/your-repofor your actual repo). - Review the prompt and adjust it for your team’s language, conventions, and guardrails.
- Click Create automation.
When to use this template
- Drastically shortening mean time to investigation (MTTI) on production alerts
- Giving on-call engineers a baseline investigation report before they even open their laptop
- Auto-generating incident postmortem drafts from live threads
- Triaging alerts across dozens of services without a dedicated SRE on every shift
Customization ideas
- Change the reaction emoji (e.g.
:fire:,:warning:, team-specific custom emoji) - Scope to specific channels per service or region
- Add the Sentry MCP and Datadog MCP to widen investigation coverage
- Attach a runbook playbook so Devin follows your team’s standard incident flow
