TICKET MANAGEMENT
Duplicate-Spike Detector that Escalates Clustered Tickets to PagerDuty
Watches a Postgres ticket stream and, when many near-identical tickets land in a short window, treats the burst as one incident: it picks a canonical ticket, links the siblings.
How it runs
The automated pipeline, trigger to output.
- TriggerTicket webhook receivedHTTP webhook
- ActionEmbed ticket + count recent siblings in windowPostgres
- LogicGate on spike threshold within rolling window
- ActionElect canonical ticket + write incident summaryOpenAI
- ActionRecord canonical-to-sibling linksPostgres
- OutputEscalate clustered incident to PagerDutyPagerDuty
What it does
This workflow turns a sudden burst of duplicate tickets into a single actionable incident. A webhook feeds new tickets in real time; when the rate of near-identical tickets spikes past a threshold inside a rolling window, the workflow declares a cluster, elects a canonical ticket, links the siblings, and escalates to on-call so a flood of separate reports becomes one page instead of many.
When to use it
When duplicate volume itself is the signal — an outage that generates dozens of identical tickets in minutes. Use it to collapse that noise into one incident and reach on-call fast, rather than letting agents triage the same report repeatedly.
How it works
- 1A ticket webhook fires on each new ticket.
- 2OpenAI embeds the ticket and a Postgres window query counts recent near-identical siblings.
- 3A logic gate checks whether the cluster size and similarity cross the spike threshold within the rolling window.
- 4OpenAI elects a canonical ticket and writes an incident summary spanning the cluster.
- 5Postgres records the canonical-to-sibling links for the cluster.
- 6PagerDuty receives a single escalation carrying the canonical ticket and cluster size.
Set it up
What you configure once, before turning it on.
- 1Connect HTTP webhookTrigger any URL on agent actions.
- 2Connect OpenAIModels, embeddings, files.
- 3Connect PostgresAny Postgres URL — query, write, migrate.
- 4Connect PagerDutyIncidents, on-call, escalations.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Ticket Management workflows
Deduplicate Discord bug reports against existing Linear issues
Before creating anything, searches Linear for issues matching a new Discord bug report; if a duplicate exists it comments and links the report there, otherwise it opens a fresh…
Weekly reopen-by-agent coaching digest
Aggregates each agent's solved-then-reopened tickets for the week, identifies the most common reopen reason per agent, and emails a private coaching digest to the support manager.
Promote a Discord message to a Linear issue via an emoji reaction
When a moderator adds a designated emoji reaction to any Discord message, an LLM converts that message into a structured Linear issue and threads the link back.
Enrich Discord bug reports with Sentry errors before filing in Linear
Takes a Discord bug report, has an LLM pull out likely error signatures, searches Sentry for matching events.
Route Discord bug reports by severity to Linear or PagerDuty
Classifies each Discord bug report by severity using an LLM, then files normal bugs as Linear issues while escalating critical outages to a PagerDuty incident so on-call gets…
Triage Discord bug threads into structured Linear issues with repro checklists
Watches a Discord bug-report channel, uses an LLM to extract a clean title, severity, and step-by-step reproduction checklist from the messy thread.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
