ENGINEERING

Scan for deprecated endpoints and email consumers a weekly sunset countdown

On a weekly schedule, scans the OpenAPI spec for endpoints marked deprecated with a sunset date, and emails each consuming team a countdown of how many days remain before removal.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule
  • ActionFetch current OpenAPI specGitHubGitHub
  • LogicFind deprecated paths + days to sunset
  • LogicEscalate sunsets under 14 days to SlackSlack
  • OutputEmail per-team sunset countdownGmailGmail

What it does

Keeps deprecation promises from being forgotten. Each week it reads the API spec, finds every endpoint flagged `deprecated` with a `sunset` date, calculates days remaining, and emails the owning teams a personalized list of what they still call that is going away — escalating the urgent ones to Slack.

When to use it

You deprecate endpoints with a published sunset window and need steady, automatic nudges so consumers actually migrate before the cutoff instead of being broken on removal day.

How it works

  1. 1A weekly schedule triggers the flow.
  2. 2Fetch the current OpenAPI spec from GitHub.
  3. 3Extract every deprecated operation and its sunset date, computing days remaining.
  4. 4Map each deprecated path to consuming teams via the usage/ownership map.
  5. 5Branch: for any sunset under 14 days, post an urgent escalation to the team's Slack channel.
  6. 6Email each affected team its tailored sunset countdown via Gmail.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Connect GmailRead, draft, send, label.
  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.