TICKET MANAGEMENT

Zendesk duplicate detector with embedding similarity and canonical merge

When a new Zendesk ticket arrives, it embeds the subject and body, compares against recent open tickets, and if a near-identical report is found.

CategoryTicket Management
Enginesim
Difficultyintermediate
Triggerevent
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew Zendesk ticket createdZendeskZendesk
  • ActionEmbed ticket subject + bodyHugging FaceHugging Face
  • ActionFetch recent ticket vectorsPostgreSQLPostgres
  • LogicTop similarity clears threshold?
  • ActionLink ticket to canonical + tag duplicateZendeskZendesk
  • OutputStore new vector for future matchingPostgreSQLPostgres

What it does

Catches the second, third, and fourth report of the same problem before an agent ever touches them. Every incoming Zendesk ticket is turned into a semantic embedding and compared against tickets opened in the last 14 days. When similarity crosses your threshold, the new ticket is linked to the original as a duplicate so one agent owns the fix and the requester still gets acknowledged.

When to use it

During incidents or product bugs that generate a flood of look-alike tickets across a single queue. Keyword matching misses paraphrases ("can't log in" vs "login button does nothing"); embeddings catch them.

How it works

  1. 1A new Zendesk ticket fires the trigger.
  2. 2The ticket subject and body are sent to Hugging Face for a sentence embedding.
  3. 3Recent open-ticket embeddings are pulled from Postgres and cosine similarity is computed.
  4. 4A branch checks whether the top match clears the duplicate threshold.
  5. 5If it does, the new ticket is linked to the canonical Zendesk ticket and tagged `duplicate`.
  6. 6The new embedding is written to Postgres so it can anchor future matches.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect ZendeskTickets, queues, knowledge base.
  2. 2
    Connect Hugging FaceModels, datasets, spaces — the open-source hub.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  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.