1. Home
  2. Blog
  3. Implementing Vector Similarity Search Inside Zoho Desk

Implementing Vector Similarity Search Inside Zoho Desk

Published · Updated · Supraflow Engineering Team · 6 min read

Keyword search in help portals fails on vocabulary mismatch. A customer writes "can't sign in"; your article says "authentication failure". No keyword overlaps, so nothing matches. Vector embeddings solve this by comparing meaning rather than characters.

Building the transformation pipeline

Configure a Zoho Desk workflow webhook on ticket creation that posts subject and description to a small service endpoint. That service calls an embedding API, receives a dense vector and stores it alongside the ticket ID in a vector index. Keep the call asynchronous so ticket creation never blocks on an external API.

Running similarity queries

Compare the new vector against your index using cosine similarity and return the top matches above a tuned threshold. Set the threshold empirically against a labelled sample of your own historical tickets — a value that works for one product's vocabulary will be wrong for another's.

Surfacing results to agents

Write matches back into a custom Desk field or render them in a Desk extension panel inside the ticket view. The agent sees the three most semantically similar resolved tickets and the linked knowledge-base article without leaving the screen.

Practical cautions

Re-embed your index when you change embedding models — mixing vectors from different models produces meaningless similarity scores. Strip signatures, disclaimers and quoted reply chains before embedding, or every ticket will look similar because every ticket shares the same footer.

Want this on your Desk instance?

We have deployed this pipeline in production.

Talk to us

More in Blog