LearnGrok
Prompts
PromptIntermediateBuild something

On-call handover from incident activity

Create a clear on-call handover note from alerts, channel updates and changes, for engineers ending a shift and incident leads.

5 min read

You need a handover that lets the next engineer make the next decision, not one that retells the shift. Use these prompts to turn alerts, incident-channel messages, open investigations and recent changes into a note with a current status, named ownership and clear triggers.

Start with the first prompt while the outgoing engineer can still answer questions. Use the later prompts only when new information, conflicting evidence or an unclear decision needs attention.

Key point

Write for the next decision

A useful handover says what is true now, what remains uncertain, who acts next, and what observation changes the plan.

1. Collect the source material

Before you paste anything, gather the material from the same shift and record the end time and timezone. The first prompt works best when the inputs are separate, rather than one large unlabelled transcript.

Include:

  • The alert export or a concise list of alert names, firing times, severity and current state.
  • Incident-channel updates, including message timestamps and named owners.
  • Investigation notes, such as a dashboard observation, trace finding or attempted mitigation.
  • Production changes made during the relevant period. Include deployments, configuration changes, feature-flag changes and rollbacks.
  • The previous handover, where the current incident began before this shift.

Remove credentials, access tokens, personal data and customer content that the next engineer does not need. Keep incident IDs, service names, timestamps and change references. They are the details that make the note actionable.

Watch out

Do not paste an alert without its time

A firing alert from earlier in the shift can look current if the timestamp is absent. Preserve the timezone as well.

If you use attachments or long source material, check the current product guidance first. Input handling and available limits are version-dependent. See the xAI documentation overview.

2. Draft the full note first

Run Build the first handover note once you have the inputs. It produces the complete document, not a summary paragraph. Read the Service status table before anything else. Every service should be explicitly healthy, degraded, unavailable or unknown.

Do not force a service into healthy because no new alert arrived. If the available evidence cannot establish its state, unknown is the correct handover status. This is especially important after an alert clears without an investigation confirming why it cleared.

The Next checks section is the working part of the note. Each item needs a concrete place to look, an expected result, an owner and a timing. Replace a vague instruction such as “check errors later” with the service, signal and decision that follow from the result.

Check

The first draft is usable when

An incoming engineer can identify the affected service, find the next check, see who owns it, and know what would trigger escalation without opening the incident channel.

3. Deal with late updates without losing history

Do not rebuild the note from scratch when an alert fires again or an investigation result arrives just before handover. Use Add late incident updates. It retains confirmed earlier facts and gives you a change log showing what moved.

Read the Superseded statements section carefully. A channel message may correct an earlier assumption, but it may also simply be a later hypothesis. If two statements disagree, keep both in the record until evidence resolves them.

Send the revised handover, not just the change log. The next shift should receive one current document. The change log is there to help the incident lead understand why the document changed during the last part of the shift.

4. Make conflicts visible

Use Resolve handover conflicts when the monitoring signal, channel discussion and deployment record point in different directions. Typical examples include an error-rate alert that has cleared while users still report failures, or a deployment timestamp that does not match the first observed impact.

The aim is not to pick the most plausible explanation. The aim is to state the safe operating position and name the check that resolves uncertainty. A causal link between a change and an incident stays a hypothesis unless the evidence supports it.

This prompt is also useful for ownership gaps. If a task has no named person or team, leave it as owner unassigned. An invented owner creates a worse handover than an explicit gap.

5. Convert investigation into decisions

A handover can contain accurate facts and still fail if nobody knows what to do next. Run Set next checks and escalation triggers when the incident lead needs a decision-ready plan.

Use the output to replace generic watch items in the main note. Keep only checks with a decision attached. An escalation trigger should contain the condition, the evidence to gather, the destination and the urgency. If the contact route or threshold is not known, show that as a gap rather than filling it from memory.

Note

Separate observation from action

“Queue depth increased” is an observation. “Inspect queue depth after the next deploy, then pause the change if it remains above the agreed threshold” is an action with a decision point.

6. Check what could be wrong

Run Check the final handover before you send it. Look first for statements that sound settled but lack evidence: “resolved”, “caused by”, “no user impact” and “being handled” all need a timestamp, source or named owner.

Also check that the handover distinguishes current state from past activity. A list of alerts is not a service-status assessment. A list of names is not ownership unless each person has a stated action.

If you see this Treat it as What to do
Seems resolved Unsupported conclusion Add the confirming signal and timestamp, or mark status unknown
Team is looking Missing ownership Name the owner and the next action, or write owner unassigned
Two different timestamps for impact Material conflict Use the conflict prompt and state what evidence will resolve it
Monitor overnight Vague next check Name the signal, timing, expected result and escalation trigger

When it does not work

If the output is too general, do not ask for “more detail”. Add the missing source field, such as the alert timestamp, deployment reference or owner, then rerun the relevant prompt. If the material is contradictory, use the conflict prompt rather than asking for a cleaner narrative.

If essential information is unavailable, send a shorter handover that explicitly marks the unknowns and assigns the first fact-finding check. A clear gap is safer than a confident reconstruction.

Copy-ready prompts

5 prompts. Open one to read it, or take the whole pack.

1Build the first handover noteUse this near the end of a shift when you have the raw incident material but no coherent handover yet.
Create an on-call handover note from the material below. This document is for the incoming on-call engineer and the incident lead.

Inputs:
- Shift end time and timezone: [shift end time and timezone]
- Alert summary: [paste alert export]
- Incident-channel updates: [paste channel updates]
- Open investigation notes: [paste investigation notes]
- Recent production changes: [paste deployment, configuration, feature-flag, or infrastructure changes]
- Previous handover, if any: [paste previous handover or write none]

Return Markdown only, using exactly these sections and fields:

## Service status
| Service or component | Current status: healthy, degraded, unavailable, unknown | User impact | Evidence and timestamp |

## Active incidents and investigations
For each item, include:
- Incident or investigation name/ID
- Current state
- Confirmed facts
- Working hypothesis, clearly labelled as unconfirmed
- Latest meaningful timestamp
- Owner

## Risks to the next shift
| Risk | Why it matters | Likelihood: low, medium, high, unknown | Mitigation already in place |

## Next checks
A numbered list. Each item must contain: action, system or query to inspect, expected result, owner, and when to do it.

## Escalation triggers
| Trigger | Evidence required before escalating | Escalate to | Urgency |

## Recent changes to watch
| Change | Time | Affected service | Possible relation to current activity | Confidence |

## Unresolved ambiguity
List missing, conflicting, or timestamp-uncertain facts. For each, state the exact question the incoming engineer should answer. Do not infer missing details.

Rules:
- Use only the supplied material.
- Separate confirmed facts from hypotheses.
- Preserve timestamps and timezone where supplied. If timezone is missing, write `timezone not supplied`.
- If sources conflict, report both claims, name their sources, and put the conflict in Unresolved ambiguity.
- Do not call an alert resolved unless the supplied material explicitly says so.
- Make next checks operationally specific, not generic.
2Add late incident updatesUse this after the first note is written and new alerts or channel messages arrive before the shift ends.
Update the on-call handover document using the late activity below. The goal is to preserve the existing note while making the incoming engineer aware of what changed.

Existing handover document:
[paste current handover]

Late activity since the handover was drafted:
- New alerts: [paste alerts]
- New incident-channel updates: [paste updates]
- Investigation results: [paste results]
- Recent changes or rollbacks: [paste changes]
- Current time and timezone: [paste time and timezone]

Return Markdown with these parts only:

## Revised handover
Provide the complete revised handover using these headings: Service status; Active incidents and investigations; Risks to the next shift; Next checks; Escalation triggers; Recent changes to watch; Unresolved ambiguity.

## Change log since previous draft
| What changed | Source and timestamp | Effect on status, ownership, risk, next check, or escalation trigger |

## Superseded statements
List each statement from the earlier handover that is no longer supported. Quote or identify it, then state why it was superseded.

Rules:
- Keep earlier confirmed facts unless late activity contradicts them.
- Do not silently replace a claim when sources conflict. Record the conflict in Unresolved ambiguity.
- Mark a status as `unknown` where the new material makes the old status unreliable.
- Do not invent an owner, remediation, resolution, or causal link.
- Put any new required action in Next checks with an owner. If no owner is named, write `owner unassigned`.
3Resolve handover conflictsUse this when alerts, dashboards and incident messages disagree, or when the incoming engineer needs to know which claim to trust.
Review the incident evidence below and produce a conflict-resolution appendix for an on-call handover. Do not decide that one source is correct unless the evidence establishes it.

Incident evidence:
- Alerts and monitoring output: [paste alerts and dashboard observations]
- Incident-channel updates: [paste updates]
- Investigation notes: [paste notes]
- Deployment and change record: [paste recent changes]
- Current handover draft: [paste handover]

Return Markdown only in this format:

## Evidence timeline
| Timestamp and timezone | Source | Observation or claim | Fact, interpretation, or hypothesis |
Sort oldest to newest. If timestamp or timezone is absent, say so.

## Conflicts requiring attention
| Topic | Claim A and source | Claim B and source | What is known | What would resolve it | Owner | Deadline or trigger |
Include only genuine conflicts, missing evidence that affects a decision, or ambiguous ownership.

## Safe operating position
For each conflict, state the least assumptive current position the next shift should take. Use one of: monitor, investigate, mitigate, escalate, or hold change. Explain the evidence-based reason in one sentence.

## Handover amendments
List the exact edits needed to the current handover, grouped under: Service status, Risks, Next checks, Escalation triggers, and Unresolved ambiguity.

Rules:
- Treat an alert as evidence of a condition, not proof of root cause.
- Label causal claims as hypotheses unless directly supported.
- Do not remove uncertainty merely to make the handover shorter.
- If no owner is supplied, write `owner unassigned`.
- If no conflict exists, state `No material conflicts found in supplied evidence` and list the checks used to reach that conclusion.
4Set next checks and escalation triggersUse this when the handover describes the incident well but does not tell the next shift what decision to make or when to involve others.
Turn the operational information below into a decision-ready next-shift plan for an on-call handover.

Current incident and service information:
[paste current handover, alerts, investigation state, and relevant change details]

Known people and teams available for escalation:
[paste named owners, teams, and contact routes, or write not supplied]

Return Markdown only with these sections:

## Next checks
Create a numbered sequence in priority order. Every check must include:
1. Check name
2. Exact service, component, dashboard, log stream, trace, queue, deployment, or change record to inspect
3. Observation that would count as normal
4. Observation that would count as concerning
5. Owner
6. Timing: immediate, after [event], or at [time]
7. Decision after the check

## Escalation matrix
| Condition | Evidence to collect first | Decision | Escalate to | Urgency | What to include in the escalation |

## Change safety decisions
| Proposed or ongoing change | Continue, pause, rollback, or insufficient information | Evidence supporting that position | Owner | Revisit trigger |
Only include a row where the supplied material names a change or makes a change decision relevant.

## Questions blocking a decision
List each unanswered question, why it blocks action, and who should answer it.

Rules:
- Do not recommend a rollback, pause, or escalation unless the supplied evidence supports a trigger or the lack of evidence itself creates a stated operational risk.
- If escalation contacts are not supplied, write `escalation destination not supplied` rather than naming one.
- Do not fabricate thresholds. If a threshold is absent, say what comparison or signal should be agreed before acting.
- Keep actions distinct from observations.
5Check the final handoverUse this just before sending the note to catch vague ownership, unsupported claims and missing decisions.
Audit the on-call handover document below against its supporting incident material. This is a quality check, not a rewrite based on assumptions.

Handover document:
[paste handover]

Supporting material:
- Alerts: [paste alerts]
- Incident-channel updates: [paste updates]
- Investigation notes: [paste notes]
- Recent changes: [paste changes]

Return Markdown only with these sections:

## Audit result
State `ready to hand over`, `ready with stated gaps`, or `not ready to hand over`. Give no more than five reasons.

## Findings
| Severity: blocking, important, minor | Handover section | Problem | Supporting evidence or missing evidence | Required correction |
A blocking finding means the next shift cannot safely determine service status, ownership, next action, or escalation trigger from the document.

## Unsupported or overstated claims
Quote each claim that is not supported by the supplied material. State whether it should be removed, changed to a hypothesis, or marked unknown.

## Missing operational fields
Check specifically for: service status, user impact, timestamp and timezone, owner, next check, expected result, escalation trigger, recent change, and unresolved ambiguity. List only missing or unusable fields.

## Minimum corrections before sending
Give a numbered list of the smallest edits needed. For each edit, name the exact section and field to change.

Rules:
- Do not invent corrections or evidence.
- Treat vague phrases such as `keep an eye on it`, `someone to investigate`, and `seems resolved` as unusable unless a specific check, owner, and evidence are present.
- A resolved incident still needs supporting evidence and a timestamp.
- If the source material is incomplete, say exactly what must be obtained.

Last checked against xAI’s own pages on 2026-08-21. Grok changes quickly; anything version-specific should be confirmed upstream before you rely on it.

More in Build something

Found something out of date?

Grok changes quickly and this page is a snapshot. If something here is wrong, or you know a better resource, send it over.

Suggest a link →

Advertise on LearnGrok

$420.69one-time, for a 30-day run

Square works best. PNG, JPEG or WebP, up to 2 MB.

Stripe on the next step. Live once approved.