Automated pipeline that ingests sales call transcripts, extracts structured coaching insights, grades each call A through F, and verifies every product claim against a 672-document knowledge base embedded in Supabase pgvector.
Built for the sales director at a software company. Two AI stages: Gemini 2.0 Flash returns strict JSON with agency, persona, objections, competitor mentions, and rubric score. A LangChain compliance agent checks each claim against the knowledge base, returning PASS, FLAG, or REVIEW with evidence quotes.
Reps contest results via tracking codes in Slack, where a router resolves disputes. Reliability includes scheduled batch runs, two-layer deduplication, malformed-JSON repair, and two-step archiving.
Stack
n8n orchestration, Gemini 2.0 Flash, LangChain, Supabase Postgres with pgvector, OpenAI embeddings, Airtable, Google Drive, Gmail, Slack. Running in production.