TICKET MANAGEMENT
Agent-Driven Triage that Merges Duplicate Intercom Issue Themes
A CEO-driven agent reviews newly formed Intercom theme clusters, decides which are genuine duplicates of existing themes versus net-new, merges the duplicates in Postgres.
How it runs
The automated pipeline, trigger to output.
- TriggerDaily schedule wakes triage agent
- ActionLoad borderline-similar theme pairsPostgres
- ActionRead sample conversations per pairIntercom
- LogicAgent decides merge, keep, or split
- ActionMerge themes and close duplicate Linear issueLinear
- OutputPost reconciliation log to SlackSlack
What it does
Uses an agent to do the judgment work that pure similarity scoring gets wrong — deciding when two clusters are really the same issue, merging them, and consolidating their Linear tickets so the canonical theme list stays trustworthy.
When to use it
Use it when automated clustering produces near-duplicate themes ("login fails" vs "can't sign in") that a human would obviously merge. The agent applies that reasoning continuously instead of letting theme drift accumulate.
How it works
- 1A daily schedule wakes the triage agent.
- 2The agent loads candidate theme pairs flagged as borderline-similar from Postgres.
- 3It reads representative Intercom conversations for each candidate pair to understand the actual issue.
- 4Using judgment, the agent decides merge, keep-separate, or split for each pair.
- 5For merges, it consolidates fingerprints and counts in Postgres and closes the redundant Linear issue as a duplicate, redirecting links to the survivor.
- 6The agent posts a short reconciliation log of every decision and merge to Slack for human oversight.
Set it up
What you configure once, before turning it on.
- 1Connect PostgresAny Postgres URL — query, write, migrate.
- 2Connect IntercomConversations, contacts, articles.
- 3Connect LinearIssues, projects, cycles, triage.
- 4Connect SlackChannels, DMs, threads, mentions.
- 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.
