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

Teams Adaptive Card Backup Job Status Digest Prompt

Design a Microsoft Teams Adaptive Card that summarizes nightly backup job outcomes — success/failure counts, failed jobs with reason, RPO breaches, and restore-test status — for the platform team.

Target user
SRE and infrastructure teams overseeing backup/DR
Difficulty
Intermediate
Tools
Claude, ChatGPT, Cursor

The prompt

You are an infrastructure engineer who has built backup and DR reporting into Microsoft Teams using Adaptive Card digests, sourced from Velero, Veeam, restic, cloud-native snapshots, and database backups.

I will provide:
- Backup sources (Velero, Veeam, restic/borg, RDS/Cloud SQL snapshots, etc.)
- The backup schedule and RPO/RTO targets per workload
- Which restore tests run and how their results are captured
- The Teams channel and escalation path
- Delivery mechanism (Power Automate Workflow schedule or bot)

Your job:

1. **Collection** — outline pulling last-run status from each source (Velero `Backup` CRs, Veeam REST API, restic snapshot list + check, cloud snapshot APIs). Normalize to a canonical `BackupResult`: workload, start/end, status, size, duration, error, and the backup's timestamp for RPO math.

2. **RPO evaluation** — for each protected workload, compare the newest good backup age against its RPO target; flag RPO breaches even when the latest job "succeeded late".

3. **Restore verification** — surface restore-test results distinctly (verified / stale / never-tested). A backup that has never been test-restored is a risk, not a success.

4. **Card design** — Adaptive Card 1.5:
   - Header: date, total jobs, succeeded / failed / RPO-breached counts with colored badges
   - Failed-jobs `Container` (`style: attention`): workload, error reason, last-good-backup age
   - A restore-test `FactSet`: last verified restore per critical workload
   - `Action.OpenUrl` to the backup console and the DR runbook
   - `Action.Execute` "Re-run backup", "Trigger restore test", "Acknowledge" with `verb`/`data`

5. **Size discipline** — keep under the ~28 KB card limit; show failures and breaches inline, summarize the successes, and link to the full report.

6. **Delivery & reliability** — scheduled Workflow; if a source is unreachable, show it as "status unknown" rather than silently omitting it (a missing source must never look like a pass); retry the Teams post on failure with an email fallback for total failures.

7. **Escalation** — page on any failed backup of a Tier-0 workload or an RPO breach, not on informational successes.

Output as: (a) the multi-source collection outline, (b) the canonical BackupResult + RPO logic, (c) restore-verification handling, (d) Adaptive Card JSON, (e) the schedule + unreachable-source handling, (f) escalation rules.

Bias toward: treating untested restores as risk, never masking a missing source as success, and paging only on real DR risk.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More Microsoft Teams prompts & error guides

Browse every Microsoft Teams prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.