FlowsBook a callSign inCreate free accountSign up
Sales and prospecting

An AI agent for sales: the rep's assistant between finding and closing

What an AI agent for sales should do once leads exist: prepare a meeting, answer a rep's question about an account, draft a first message, and wait for approval.

Part of the guide AI employee for sales prospecting

By the xMap team · · 5 min read

An AI agent for sales is most useful in the stretch between having a lead and closing it: the rep asks it a question in plain words ("what should I know before I see Northgate Pharmacy tomorrow?") and it looks things up with the tools it has been given, answers in a few lines, and drafts the next message for the rep to approve. It does not replace the rep's judgment or send on its own. Finding leads is a different job, better done by a scheduled flow; the agent's job is to help work the leads you already have.

This is for sales managers deciding what an agent should do for their team. It covers the four jobs an agent does well, what to give it, a made-up day with a field rep in Mexico City, the mistakes that make agents unreliable, and how to build one in xMap Flows.

Four jobs an agent does well

  • Meeting preparation. Before a visit, the rep names the account. The agent pulls what is known: the business's details, what is around it, whether it is already a customer, any notes, and a short suggested angle.
  • Questions in the field. "Which of my prospects are within 1 km of where I am?" "Is there a pharmacy near this one I have not visited?" The agent answers from live place data and your own tables.
  • Drafting. A first message or a follow-up written from the facts of the account, in your tone, for the rep to edit.
  • Remembering the rep. Which district they cover, how they like answers written, which product they lead with, so they do not repeat themselves.

What to give the agent

An agent is only as good as its instructions and its tools. The instructions say who it is and what it must and must not do: "You help our field reps prepare visits to pharmacies. Answer in five lines or fewer. Never promise a price. Never send anything; draft it." The tools are the data it may use: a places search, your customer table, your CRM lookup, your company's own files such as the product sheet and the price list for reps.

Fewer, clearer tools beat many vague ones. If the agent has three ways to look up a business, it will waste steps choosing between them.

A made-up day in Mexico City

This example is made up. Lucia sells medical consumables to independent pharmacies in Mexico City. At 08:15 she writes to the agent from her phone: "Prep me for Farmacia del Parque, Coyoacan." The agent looks the pharmacy up, checks the customer table (not a customer), finds two other independent pharmacies within 500 m, reads the product sheet, and answers: the pharmacy's rating and how many reviews, that it is independent, the two neighbours worth seeing on the same trip, and a suggested opening about the consumables most often reordered.

At 13:00, after the visit, she writes: "Draft a follow-up, they wanted sample packs." The agent writes three short sentences using the pharmacy's name and the sample request. Lucia changes one word and sends it herself. The agent remembers that she covers Coyoacan and that she leads with sample packs, so the next answer starts there.

Mistakes that make sales agents unreliable

  • Letting it send. An agent that writes and sends without review will eventually say something wrong to a customer. Keep a person in the loop for anything that leaves the company.
  • No boundaries in the instructions. Say what it must never do: quote prices, promise delivery dates, discuss competitors' products.
  • Too many tools. Each tool is a choice it has to make. Start with three or four.
  • Asking it to find leads on its own every morning. That is a fixed, repeatable job; a scheduled flow does it more cheaply and more predictably.
  • Never testing it. Write ten real questions your reps ask and check the answers before the team relies on it.

Building it in xMap Flows

In xMap Flows a sales agent is a conversation flow: a way in, the agent with its tools, and a reply.

  1. Chat: the way in. Reps write in the chat page, or from WhatsApp when Chat from my WhatsApp is on.
  2. AI agent: your instructions, memory per conversation, Remember about each person on, and Look things up in your company files and tables.
  3. Tools linked to the agent's Tools port: Nearby places for what is around a place, Match with my table or CRM lookup for whether it is a customer, and Apollo for who to ask for, on your own Apollo account.
  4. Reply: sends the answer back on the same channel.

A rep's question comes in, the agent answers in a few lines, and the rep sees which tools it used. In the run you can open See how it answered to check what it looked up. If you want drafted messages to go out from the company after approval, add Outreach in a separate flow: every first message waits for a person's OK and the sequence stops when the prospect replies. The template Meeting prep chat for reps is the ready-made version of this agent. For the jobs that come before it, finding and ranking the leads, see the guide to AI employees for sales prospecting.

Questions

Can an AI agent replace a sales rep?

No. It prepares, answers and drafts; the rep decides, talks to the customer and sends. It saves the rep time between meetings.

Can reps use it from their phone?

Yes. A Chat flow can answer on its chat page or, with Chat from my WhatsApp on, from the rep's own WhatsApp.

Will it send messages to prospects on its own?

Not in the setup described here: it drafts and the rep sends. If messages should go from the company, Outreach waits for a person's approval of each first message.

How is this different from an AI agent for lead generation?

Lead generation is about finding new businesses to approach. This agent works on leads you already have: preparing visits, answering questions and drafting messages.

Templates that do this

Read next

More on sales and prospecting · Every article · Templates

Put it to work

An AI employee in xMap Flows does this on live data, on its own timetable. Start from a template or describe it in plain words.