Back to all articles
Applied AIRAGAI AgentsSales Enablement

Building a RAG and AI Agent Assistant That Helps Sales Teams Close Faster

Janahan Thavendran··16 min read

Deals slow down in small moments. A sales development rep goes into a first call without knowing the prospect's stack. An account manager can't answer a security question on the spot and promises to follow up. The follow-up email goes out two days later, and the CRM never gets the notes. Each delay is minor. Together they add weeks to the sales cycle.

This article walks through building an AI assistant for account managers and sales development teams that works across the three moments of every deal: before the call, during the call, and after it. It uses retrieval-augmented generation (RAG) to answer from your own product, pricing and customer knowledge, tools to read and update the CRM, and an agent to combine them. The examples come from B2B SaaS, but the same design works for insurance, wealth and PropTech sales teams.

The hardest part isn't the model. It's knowing whether the answers are right before a rep says them to a customer, which is why the article ends with the golden question set that keeps the system honest.

Step 1: Map where deals slow down

Before building anything, sit with reps and account managers and map where time is lost around each call. Each moment needs different data, a different speed, and a different level of risk.

Moment
Before the call
Where time is lost today
Reps piece together context from the CRM, emails, tickets and LinkedIn, or skip prep entirely
What the assistant does
Prepares a one-page brief: who's attending, history, open issues, likely objections and a suggested agenda
Moment
During the call
Where time is lost today
Technical, security or pricing questions get a "let me check and come back to you"
What the assistant does
Surfaces sourced answers, battlecards and pricing guardrails as the conversation happens
Moment
After the call
Where time is lost today
Notes are incomplete, the CRM isn't updated, and follow-ups go out days later
What the assistant does
Drafts the summary, updates the CRM, writes the follow-up email and creates next-step tasks

The two roles use it differently. Sales development reps need speed and personalisation for many short first calls. Account managers need depth on a few accounts they know well: usage, renewals, expansion opportunities and risks.

Step 2: Collect the data sales teams actually need

The assistant needs live records, sales knowledge, and agreed definitions. Most failed sales assistants have plenty of the first two and none of the third.

Data
CRM records
Examples
Accounts, contacts, deals, stages, activities, past emails
Used for
Briefs, deal context, CRM updates
Data
Call data
Examples
Calendar invites, call recordings and transcripts
Used for
Who's attending, live assist, summaries
Data
Customer signals
Examples
Product usage, support tickets, NPS, billing and renewal dates
Used for
Account manager briefs, expansion and risk
Data
Product knowledge
Examples
Product docs, release notes, roadmap guidance, integration lists
Used for
Answering technical questions
Data
Commercial knowledge
Examples
Pricing, packaging, discount rules, contract templates
Used for
Pricing questions within guardrails
Data
Trust and security
Examples
Security questionnaires, certifications, data residency, DPA templates
Used for
Security and procurement questions
Data
Proof
Examples
Case studies, references, ROI stories by industry
Used for
Matching stories to the prospect
Data
Competitive
Examples
Battlecards, win and loss notes
Used for
Handling competitor mentions

Definitions matter as much as data. What makes a lead qualified? When does a deal move from discovery to proposal? What counts as a stalled deal? Write these down once, so the assistant, the CRM and the Head of Sales all mean the same thing.

Get consent and handle personal data properly. Call recording and transcription need consent, and the rules differ by country. Tag personal data at ingestion, and keep prospect research to business information.

The assistant also logs its own activity from day one: every question, brief, suggestion and draft, whether the rep used it, edited it or ignored it, and what happened to the deal. This log becomes the raw material for the golden question set in Step 9.

Step 3: Design the architecture around one agent

The system has one agent in the middle. It responds to reps' questions and to calendar and call events, and reaches data only through tools: CRM tools for records, document search for sales knowledge, and action tools for anything that changes a record or reaches a customer.

One agent answers, alerts and acts through three kinds of tools
Account managers and SDRs
Ask before, during, after calls
Calendar and call events
Upcoming calls, live transcript
AI agent
Plans, calls tools, checks, answers with sources
Records
CRM tools
Read records, defined fields
CRM and customer data
Deals, contacts, usage, tickets
Sales knowledge
Document search (RAG)
Hybrid search, filtered, cited
Sales knowledge index
Docs, pricing, security, proof
Approved actions
Action tools
Every change needs approval
CRM, email and tasks
Updates, follow-ups, next steps
Logs and golden question set
Failures become tests for every release

Questions and calendar/call events → AI agent → briefs, answers and drafts back to reps. Every answer logged → logs and golden question set → tests for every release.

Assistant architecture · agent, tools and evaluation

Read tools run freely. Write tools show the rep exactly what will change and wait for a yes, and nothing reaches a customer without a person approving it. Every brief, answer and draft is logged, and the logs feed the golden question set that tests each release.

Step 4: Build the RAG pipeline for sales knowledge

RAG retrieves the most relevant passages from your documents and gives them to the language model, so answers come from your own product docs, pricing and security material rather than the model's general knowledge. It is the right tool for "do we support SSO with Okta?" and the wrong tool for "when does this customer's contract renew?" Records come from the CRM tools instead.

  1. Ingest: connect the knowledge base, sales enablement content, security portal and shared drives, and re-sync on a schedule. Keep each document's owner, product, plan tier, region and last-updated date.
  2. Chunk by meaning: split product docs by feature, security questionnaires by question, pricing by plan, case studies by industry and outcome. A chunk should answer one question on its own.
  3. Embed and index: store chunks in a vector database, with keyword search alongside. Hybrid search catches exact terms like integration names, certifications and plan names that embeddings can miss.
  4. Retrieve, filter and rerank: filter by product version, plan, region and date first, so a rep never quotes a retired feature, an old price or a certification the company no longer holds. Then rerank the top results.
  5. Answer with citations: every answer links to its source, so the rep can check it before saying it and share it with the customer afterwards. If the sources don't contain the answer, the assistant says so and offers to route the question to a solutions engineer.

Mark some content as internal only. Discount rules, win and loss notes and roadmap guidance can help a rep, but must never be pasted into a customer email.

Step 5: Before the call: a brief the rep actually reads

The agent watches the calendar. A set time before each customer call, often 30 minutes, it builds a one-page brief and sends it where the rep already works: the CRM, email or Slack.

For an account manager, the brief covers:

  • Who's attending, their role, and what they said or asked last time.
  • Account health: product usage trends, open support tickets, renewal date and contract value.
  • Open opportunities and where each one stands.
  • Risks: a drop in usage, an unresolved escalation, a new decision-maker.
  • A suggested agenda and two or three questions to ask.

For a sales development rep, it covers:

  • The company's industry, size and likely use case, from business information only.
  • Any past touchpoints: emails, website visits, earlier conversations.
  • How the company fits the ideal customer profile, and the most relevant case study.
  • Likely objections and a short, personalised opening.

Keep it to what fits on one screen. A brief that takes ten minutes to read gets skipped. Every fact links to its source in the CRM or knowledge base, so the rep can check anything that looks off.

Step 6: During the call: answers in seconds, not days

During the call, the assistant listens to the live transcript and watches for moments where a rep would otherwise say "let me get back to you."

What the customer says
A technical question ("Do you integrate with Salesforce?")
What the rep sees
A short answer with a link to the source doc
What the customer says
A security or compliance question ("Are you SOC 2 certified?")
What the rep sees
The current answer from the security library, with the document to share
What the customer says
A competitor's name
What the rep sees
The relevant battlecard: key differences and how to respond
What the customer says
A pricing question or discount request
What the rep sees
List price and what the rep is allowed to offer, with approval rules for anything beyond
What the customer says
An objection ("It's too expensive," "We're not ready")
What the rep sees
Questions to understand it, and a relevant customer story
What the customer says
A buying signal (timeline, budget, decision-maker named)
What the rep sees
A prompt to confirm it and capture it as a next step

Three design rules make this usable:

  • Fast or not at all. Suggestions must arrive within a few seconds. A late answer is a distraction.
  • Quiet by default. Show a small card the rep can glance at, never a stream of text. Only surface something when confidence is high.
  • The rep decides. The assistant suggests; the rep chooses what to say. In regulated sales, such as insurance and wealth, suggestions must stay within approved wording and never promise returns or cover the documents don't support.

Start with the questions reps escalate most often. In most teams, a small set of technical, security and pricing questions makes up most of the follow-ups.

Step 7: After the call: follow up while the customer still remembers

Momentum is easiest to lose in the hours after a call. The assistant uses the transcript to do the admin, so the rep only reviews and approves.

  1. Summary: what was discussed, what the customer cares about, and what was agreed, in a few lines.
  2. CRM update: fills in the deal fields your team uses, such as pain points, decision-makers, budget, timeline and next step, and proposes a stage change if the evidence supports it. The rep approves each change.
  3. Follow-up email: a draft that recaps the call, answers any open questions with sourced links, and confirms the next step. The rep edits and sends it.
  4. Tasks: creates tasks for the rep and for others, such as a solutions engineer for a technical deep-dive or legal for contract review.
  5. Open questions: anything the assistant couldn't answer goes to the right expert, and the answer is added to the knowledge base so the next rep gets it instantly.
  6. Deal risk flags: a competitor mentioned, a new decision-maker, budget concerns, or no clear next step.

The aim is a follow-up that goes out the same day, and a CRM that reflects reality without the rep typing it.

Step 8: Keep the Head of Sales updated automatically

Every brief, call and follow-up produces data the Head of Sales would otherwise have to chase in pipeline reviews. Automation turns it into updates they don't have to ask for.

A weekly pipeline brief. What moved, what stalled and why, written from call evidence rather than rep opinion. Each brief is generated by the same agent, using the same tools, so its facts match the CRM.

Section
Deals at risk
What it shows
No next step booked, champion gone quiet, competitor mentioned, pricing pushback
Section
Deals moving
What it shows
Stage changes backed by evidence from calls, such as budget confirmed or decision-maker engaged
Section
Accounts to watch
What it shows
Customers with falling usage or open escalations ahead of renewal
Section
Common objections
What it shows
The objections and competitors coming up most often this week
Section
Knowledge gaps
What it shows
Questions reps couldn't answer, grouped by topic and routed to product, security or enablement
Section
Coaching signals
What it shows
Calls with no clear next step, or where the rep talked most of the time

Real-time alerts for high-value deals. When a large deal shows a risk signal, the account owner hears first. It escalates to the Head of Sales only if it isn't addressed or the deal is above an agreed size.

Fight alert fatigue on purpose. Track which alerts are opened, acted on or dismissed. An alert type that is mostly ignored gets tuned or removed.

Keep the tone factual, not surveillance. Reps should see the same insights about their own deals before their manager does, so the assistant feels like support rather than monitoring.

Step 9: Build a golden question set

A golden set is a list of real sales questions and tasks with answers that experts have verified. It's how you know whether a change to a prompt, model, tool or document makes the assistant better or worse. Without it, every change is a guess, and a wrong answer said confidently on a call costs more than no answer at all.

Where the questions come from:

  • Call transcripts: the questions customers ask most often, and the ones reps couldn't answer.
  • Solutions engineers, security and product teams: what reps escalate to them every week.
  • The assistant's own logs, especially suggestions reps ignored, edited heavily or flagged as wrong.
  • Incidents: every wrong answer that reached a customer becomes a permanent test.
  • Deliberately hard cases: retired features, discontinued plans, roadmap questions, and requests outside the rep's discount authority.

What each entry holds: the question or task, the moment (before, during or after the call), the user's role, the expected answer or the facts it must contain, the sources that should be cited, and who verified it.

Cover every type of question:

Type
Product fact
Example
Does the Pro plan include API access?
A good answer must
Cite the current plan page
Type
Security
Example
Do you store data in the EU?
A good answer must
Quote the current security documentation
Type
Integration
Example
Can we sync with HubSpot both ways?
A good answer must
Be precise about what is and isn't supported
Type
Competitive
Example
How are we different from a named competitor?
A good answer must
Use the current battlecard, stay factual
Type
Pricing
Example
Can I offer 20% off for a two-year deal?
A good answer must
State the rule and the approval needed
Type
Account context
Example
When does this customer's contract renew?
A good answer must
Read the right CRM record
Type
Brief quality
Example
Prepare a brief for tomorrow's call with this account
A good answer must
Include attendees, risks and open tickets, with nothing invented
Type
Summary and CRM
Example
Summarise this call and update the deal
A good answer must
Capture next steps and fields correctly, flag uncertain ones
Type
Follow-up draft
Example
Draft the follow-up email for this call
A good answer must
Recap accurately, answer open questions with sources, no internal content
Type
Roadmap
Example
When will feature X launch?
A good answer must
Use approved roadmap wording, make no commitments
Type
Out of scope
Example
Will this deal close this quarter?
A good answer must
Give evidence, not a prediction stated as fact

Start with 50 to 100 well-chosen questions rather than hundreds of easy ones. Grow the set every week from real calls.

Step 10: Evaluate every change and learn from failures

Run the golden set automatically on every change to the prompt, model, tools or documents, and block releases that make it worse. Score each answer on separate dimensions, because a single overall score hides where the problem is.

  • Retrieval: did it find the right document, plan and record?
  • Correctness: are the facts, prices and dates right?
  • Grounding: is every claim backed by a cited source, with nothing invented?
  • Safety: did it keep internal content out of customer drafts, stay within discount rules, and avoid roadmap promises?
  • Speed: did live suggestions arrive within a few seconds, and briefs before the call?

Use code checks where possible (was the right record read, is the price in the draft the current one), a model-based grader for wording and grounding, and experienced reps or solutions engineers for a sample every week. Calibrate the model-based grader against human judgements before trusting it.

In production, watch how reps use it: suggestions shown and used, briefs opened, drafts sent with few edits, CRM changes accepted or rejected. Every failure goes into a weekly review and is sorted by cause:

Cause
Missing or outdated document
Typical fix
Add or update the source, fix the sync
Cause
Wrong document retrieved
Typical fix
Better chunking, metadata filters, reranking
Cause
Wrong CRM record or field
Typical fix
Clearer field definitions, better record matching
Cause
Suggestion too slow or noisy
Typical fix
Raise the confidence bar, shorten the card
Cause
Unsupported claim
Typical fix
Stricter grounding, refuse when evidence is missing
Cause
Draft needed heavy edits
Typical fix
Better examples of good follow-ups, learn from rep edits

The failed case then joins the golden set, so the same mistake can never quietly come back.

Step 11: Measure whether deals close faster

Measure the assistant by what happens to deals, not by how many questions it answers.

Moment
Before the call
What to measure
Prep time per call, share of calls with a brief opened
Moment
During the call
What to measure
Questions answered on the call instead of followed up later, escalations to solutions engineers
Moment
After the call
What to measure
Time from call end to follow-up sent, CRM fields completed, next steps booked
Moment
Deal outcomes
What to measure
Sales cycle length, stage-to-stage conversion, win rate, expansion and renewal rate
Moment
Team
What to measure
Ramp time for new reps, forecast accuracy, time the Head of Sales spends in pipeline reviews
Moment
Trust
What to measure
Suggestions used, drafts sent with few edits, golden questions passed

Compare reps or teams with and without the assistant over the same period where you can, rather than relying on before-and-after numbers that mix in seasonality, pricing changes and pipeline quality.

What it comes down to

Deals rarely slip because of one big mistake. They slip because of a missing answer, a late follow-up, an empty CRM field. An assistant that removes those small delays before, during and after every call gives reps back the time and momentum that close deals.

RAG and agents make it easy to build something that sounds right. Making one that is right in front of a customer takes current sources, approval before anything reaches them, and a golden question set that grows from every mistake. That set is the real asset: it captures what your customers ask and what a good answer looks like, and it outlasts every model you put behind it.