Topics ▾
Workflows ·

An incident routine that investigates before you wake up

Advanced, 45 minutes

A Sentry, PagerDuty or GitHub event triggers a Bot that builds the timeline and proposes a fix, but changes nothing in production without you.

How this helps you

By the time you look at an alert, the evidence and a proposed fix are already gathered.

✦ Try it
Investigate [incident or alert]. Compare the current errors with releases from the last [window]. Collect the relevant logs and links. Give me: a timeline, the source links, your top hypotheses ranked by evidence, and a proposed fix. Do not change anything in production; ask me first. If data is missing or a step fails, say so plainly and stop that line of inquiry.

Fill in: [incident or alert] is the alert or issue link. [window] is how far back to look at releases, such as 48 hours.

What they did

@doublenickk laid out a setup for engineering teams. Connect your incident tools and create a routine that fires on a specific Sentry, PagerDuty or GitHub event, or a webhook. Because it runs on the Bot's cloud computer, it works with your laptop closed. The routine compares current errors with recent releases, collects relevant logs and returns a timeline, source links, hypotheses and a proposed fix, and it must get approval before any production change. Build it in order: test one investigation by hand, save the method as a skill, then automate the trigger, and define what happens when data is missing or a run fails. His warning: all your Bots share files, browser sessions and sign-ins, and giving a Bot a different name doesn't isolate its access. The 0.78.1 update lets you click a webhook routine to see its details, including the webhook URL.

Who it's for: Engineering and on-call teams already using Sentry, PagerDuty or GitHub alerts.

Before you start

How to try it

  1. Pick one recent incident and ask a Bot to investigate it by hand with the prompt below.
  2. Check the timeline and hypotheses against what really happened. Correct it.
  3. Ask it to save the method as a skill called investigate-incident.
  4. Create a routine that runs the skill when your chosen event or webhook fires. Open the routine to copy its webhook URL into your alerting tool.
  5. Add the failure rules: what to do if logs are missing or a step fails.
  6. Add Ask first rules for any production change, so the proposed fix waits for you.

What to expect

A message with a timeline from first error to now, the release that lines up with it, two or three ranked hypotheses with links, and a proposed fix waiting for approval.

Common mistakes

Related tips

Worth knowingHis post opens with a 2017 cloud outage as the reason to set permissions first. The setup steps are his; the prompt wording is ours.
SourceCredit to the creator
↗
Next in Workflows →Compare tools from their official pricing pages, into a shareable sheet

Learn more: Grok Bot Use Cases: Real Workflows From Real Users · All Grok Bot workflows tips

Related Grok Bot tips

More Workflows →
Workflows

Two habits that make usage last: batch requests, send words not screenshots

Every message makes a Bot reread the chat, so send related requests together, skip 'thanks' replies, and paste text or cropped images instead of full screenshots and PDFs.

How this helps you The same work uses fewer messages and less image reading, so your weekly usage goes further without dropping any jobs.
Spotted by Sharbel A. (YouTube) · 3 Nov 2026
Workflows

Let your Bot cancel free trials and unused subscriptions

Three built-in templates from 0.78: start a trial and cancel it before it bills, cancel plans you don't use, and watch renewal prices.

How this helps you You stop paying for trials and plans you forgot about, and nothing is cancelled without your OK.
Spotted by @spectnfa · 31 Oct 2026
Workflows

From support form to fix: a webhook, a Bot and a Cursor cloud agent

A support form posts to a webhook, a Bot picks up the ticket, and for bugs it starts a Cursor cloud agent that reproduces the issue, adds a failing test and opens a pull request for an engineer to review.

How this helps you By the time an engineer looks at a bug, it has repro steps, a test and a proposed fix waiting.
Spotted by Grok, Santi Garza (YouTube) · 29 Oct 2026