CXFinder
<- back to stuff i built
sales intelligence

CXFinder

A Slack bot that searches a customer research sheet with plain-English queries and semantic ranking.

tldr

A Slack-native research search engine that turns plain-English questions into structured filters, semantic retrieval, and a final relevance-ranked answer.

the problem

A carefully researched customer sheet is valuable only if a salesperson can find the right company quickly. Exact keyword search fails when the query uses different language from the research notes.

what it is

A Slack bot that searches a customer research sheet with plain-English queries and semantic ranking.

why it is useful

It turns a spreadsheet of researched companies into a usable internal search engine for sales and growth teams.

architecture

A Slack Bolt service loads Google Sheets rows, builds an in-memory embedding index, extracts intent with GPT-4o-mini, applies structured filters, ranks candidates by cosine similarity, and reranks the top 15 with GPT-4o before replying with Slack Block Kit cards.

how it works

  1. A salesperson asks a natural-language question in Slack.
  2. The bot extracts geography, company type, industry, and other structured intent.
  3. Filters reduce the candidate set, embeddings rank semantic similarity, and a GPT reranker reviews the top matches.
  4. The result is returned as Slack cards with enough context to decide whether a company is relevant.

implementation notes

  • Supports natural-language filters for geography, company type, and industry.
  • Resolves company domains and uses their homepages to ground similarity searches.
  • Uses a strict second-pass reranker to drop weak or invented matches.
  • Caches sheet data and embeddings in memory so repeated Slack searches are fast.

engineering decisions

  • Combines symbolic filtering with semantic retrieval instead of asking an LLM to search the entire sheet blindly.
  • Caches sheet rows and embeddings in memory so repeated searches are fast.
  • Uses a strict second pass to remove weak or invented matches before replying.

stack

Node.jsSlack BoltOpenAI embeddingsGPT-4oGoogle SheetsRailway