TICKET MANAGEMENT

Detect Recurring PagerDuty Alerts and Open a GitHub Problem Issue

Records every PagerDuty incident, detects when the same alert signature recurs beyond your tolerance over a 30-day window.

CategoryTicket Management
Enginesim
Difficultyintermediate
Triggerevent
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPagerDuty incident triggeredPagerDutyPagerDuty
  • ActionLog alert signature and service to PostgresPostgreSQLPostgres
  • LogicCount signature recurrences over 30-day windowPostgreSQLPostgres
  • LogicWithin tolerance or issue exists -> exit
  • ActionOpen GitHub problem issue with recurrence timelineGitHubGitHub
  • OutputPost issue link to Slack channelSlack

What it does

Stops the same page from waking people up forever. Each PagerDuty incident is logged with its alert signature and service. When that signature recurs more than your allowed number of times in 30 days, the workflow opens a GitHub issue tagged `problem` containing the full recurrence timeline and links back to each individual incident.

When to use it

Use it when on-call keeps acknowledging the same flapping alert and the underlying defect never makes it onto an engineering backlog. Ideal for SRE and platform teams who want chronic noise converted into a tracked, prioritized fix automatically.

How it works

  1. 1A PagerDuty incident trigger fires the run.
  2. 2The incident's alert signature and service are written to a Postgres history table.
  3. 3A query counts recurrences of that signature in the last 30 days.
  4. 4If recurrences are within tolerance, the run ends.
  5. 5Over tolerance with no existing open issue, a GitHub problem issue is created with the recurrence timeline.
  6. 6A confirmation with the issue link is posted to the team's Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PagerDutyIncidents, on-call, escalations.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect GitHubRepos, issues, pull requests, actions.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.