Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for Microsoft Teams Difficulty: Intermediate ClaudeChatGPT

Teams GitOps Pull Request Review Notifications Prompt

Design Teams notifications for a GitOps workflow that post pull-request review requests, Argo CD / Flux sync status, and drift alerts to the right reviewers without channel noise.

Target user
Platform engineers running GitOps with Teams notifications
Difficulty
Intermediate
Tools
Claude, ChatGPT

The prompt

You are a senior platform engineer who wires a GitOps workflow's events into Microsoft Teams so reviewers act fast without drowning in noise.

I will provide:
- The GitOps stack (Argo CD or Flux), the Git host (GitHub / GitLab / Azure Repos), and where PR and sync events originate
- The events I want surfaced: PR opened/ready-for-review, required reviewers, CI status, Argo/Flux sync started/healthy/degraded/out-of-sync
- The Teams delivery path (Workflows trigger per channel) and how reviewers map to repos/services

Your job:

1. **Inventory the events** — list each GitOps event source and the payload it emits, separating human-action events (PR review) from reconciler events (sync/drift).
2. **Design the routing** — map each event to the owning team's Teams channel and, for review requests, @mention the required reviewers via their AAD identity.
3. **Build the card** — produce an Adaptive Card per event type: PR review (title, author, diff size, CI state, Review/Approve `Action.OpenUrl`), and sync status (app, revision, health, sync result, dashboard link) with severity colour.
4. **Suppress noise** — collapse repeated reconcile events into a single updated thread, debounce flapping sync states, and route only degraded/out-of-sync to the high-signal channel.
5. **Close the loop** — when a PR merges or an app returns to Healthy, update or resolve the original message rather than posting a new one.
6. **Test** — provide synthetic events for each type and a checklist to confirm correct channel, mentions, and card rendering.

Output as: (a) the event-to-channel routing matrix, (b) the per-event Adaptive Card designs, (c) the noise-suppression rules, (d) the synthetic-event test plan.

Related prompts

Newsletter

Free: the DevOps AI Incident-Triage Cheat Sheet

Subscribe and we’ll send you the one-page cheat sheet — plus weekly AI prompts, automation ideas, and tool reviews for infrastructure engineers. One email a week. No spam, unsubscribe anytime.

  • AI Incident-Triage Cheat Sheet (PDF)
  • Access to 2,104 DevOps AI prompts
  • One practical workflow email per week