IT OPS

Critical Cert Expiry Dual Escalation to PagerDuty and Teams

When a certificate crosses the 7-day critical threshold it pages on-call via PagerDuty and simultaneously posts an actionable card to the responsible team's Microsoft Teams…

CategoryIT Ops
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerFrequent schedule for critical-window coverage
  • ActionPull current certificates from CloudflareCloudflareCloudflare
  • LogicFilter to certs at or under 7 days to expiry
  • ActionPage on-call via PagerDuty incidentPagerDutyPagerDuty
  • OutputPost actionable renewal card to owning team in TeamsMicrosoft Teams

What it does

Watches for certificates entering the final critical window and escalates on two tracks at once: an immediate PagerDuty page to whoever is on-call, and a rich Microsoft Teams card to the service-owning team with the cert details and a renewal checklist. This closes the gap where on-call gets paged but the team that actually owns the service never finds out.

When to use it

When ownership and on-call are separate — a central SRE rotation responds to pages but a product team owns the renewal. Use it for the tightest expiry window where you want redundant, parallel escalation rather than a single channel.

How it works

  1. 1A schedule runs the critical sweep multiple times a day for tight coverage.
  2. 2The flow pulls current certs from Cloudflare and computes days remaining.
  3. 3A filter keeps only certificates at or under 7 days to expiry.
  4. 4For each critical cert it triggers a PagerDuty incident routed to the on-call service.
  5. 5In parallel it posts an actionable Teams card to the owning team's channel with hostname, expiry, owner, and a renewal checklist.
  6. 6Both escalations reference the same incident ID so responders and owners stay in sync.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect PagerDutyIncidents, on-call, escalations.
  3. 3
    Connect Microsoft TeamsChannels, chats, files.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.