Skip to main content

How to Train an AI Sales Agent on Your Business

What to give an AI agent so it answers like your best salesperson: products, prices, policies, files, media and clear rules for when to hand over.

ReplyNinja Team9 min readUpdated
Person writing notes on paper at a desk

Key takeaways

  • An AI agent is only as good as what you teach it. Give it facts, not slogans.
  • Start with the 20 questions customers ask most, plus prices, delivery and return rules.
  • Give it a clear goal (sell, book, qualify or support) and tell it what to collect from each customer.
  • Decide when it must hand over to a person and when it should stop replying, then test it in a private chat before going live.
In this article
  1. Think of it as onboarding a new team member
  2. Before you start: create the agent
  3. Step 1: Give it your facts
  4. Step 2: Add media it can send
  5. Step 3: Give it a personality
  6. Step 4: Set the goal and what to collect
  7. Step 5: Decide when to hand over
  8. Step 6: Test before you go live
  9. Step 7: Turn it on for your accounts
  10. Keep improving it

An AI agent can answer customers at 3 AM, in their own dialect, without getting tired of the same question for the hundredth time. But only if it knows your business. An agent with no training gives vague, generic answers, and customers notice fast.

The good news: training an AI agent does not need any technical skill. It needs the same things you would give a new salesperson on their first day.

Think of it as onboarding a new team member

Imagine hiring someone to answer your chats. You would tell them:

  • what you sell and how much it costs,
  • how delivery, payment and returns work,
  • how to talk to customers,
  • what their job is: to sell, to book, to help,
  • when to call you.

An AI agent needs exactly this. Let’s go through it.

Before you start: create the agent

Open AI Agents and click Add AI Agent. Type an Agent name, for example “Sales agent”, and click Create. That’s all you need to start: ReplyNinja opens the agent’s page with everything else ready in your language, including a name customers see (you can change it), a draft of the instructions and the actions below.

The Agent name box under Add AI Agent with Sales agent typed in and a Create buttonThe Agent name box under Add AI Agent with Sales agent typed in and a Create button
Add AI Agent: type a name and click Create. Everything else is set up on the agent's page.

A new agent is Inactive, so it doesn’t answer anyone while you set it up. Fill in the steps below and click Save agent as you go: you stay on the same page.

Step 1: Give it your facts

This is the most important part. Write down, in plain language:

  • Products or services: names, short descriptions, sizes or options, prices.
  • Delivery: areas, time and cost.
  • Payment: cash on delivery, cards, transfers, deposits.
  • Policies: returns, exchanges, warranty, cancellation.
  • Business info: opening hours, branches, phone, booking rules.
  • Your top 20 questions with the answers you usually give.

You can also upload files you already have, like a price list or a menu. In ReplyNinja, Ninja AI learns from text, PDF, CSV and images. If a file is in Word or Excel, export it to PDF or CSV first.

The Knowledge base section with a price list, a delivery note, a Q&A file and two files to sendThe Knowledge base section with a price list, a delivery note, a Q&A file and two files to send
The Knowledge base on the agent's page: files and text it learns from, and files it can send.

Step 2: Add media it can send

Customers want to see the product. Add the photos, videos, voice notes and files the agent may send, with a clear title, for example “Black hoodie, front and back” or “Clinic location map”. The agent will pick the right one at the right moment in the chat.

The Add knowledge base item popup with the Train and Send optionsThe Add knowledge base item popup with the Train and Send options
Add item: choose Train to teach the agent, or Send for files it sends to customers.

Step 3: Give it a personality

Choose how your agent presents itself:

  • Name and gender, so it can talk like a real member of your team.
  • Language and dialect. A customer who writes in Egyptian Arabic should get an answer in Egyptian Arabic.
  • Tone: friendly and short for a fashion store, calm and precise for a clinic.
The Identity and Voice and language sections of an AI agentThe Identity and Voice and language sections of an AI agent
Identity and Voice & language: the name customers see, the language, dialect and tone.

Step 4: Set the goal and what to collect

An agent without a goal just answers questions. An agent with a goal moves the chat forward. Pick one:

Goal The agent should…
Sell products Recommend, answer, then collect name, phone and address
Book a meeting Find the service and time, then collect contact details
Lead qualification Ask about need, budget and timing, then mark serious leads
Customer support Solve common problems and track orders

You’ll find these and a few more (like Close deals and Order tracking) in the Conversation goal list.

The Goal and instructions section with Sell products selected and the agent instructionsThe Goal and instructions section with Sell products selected and the agent instructions
Pick the Conversation goal, then write the agent's instructions.

Then choose what it can save to the customer profile. Turn on Update contact fields and tick the fields: phone number, alternative phone, email, country, state, city and address. Update funnel stage moves the customer to the right stage (for example Interested or Qualified), and Update sentiment tracks their mood. Ninja AI also writes a short summary of each chat, so details like the product they want or their budget are there too. Your team can read a chat in five seconds.

The Update contact fields action with Phone Number, City and Address tickedThe Update contact fields action with Phone Number, City and Address ticked
Update contact fields: tick what the agent may save during the chat.
Smile DentalonlineWhatsApp
How much is teeth whitening?
22:31
Hi! Whitening is 2,500 EGP and takes about one hour 😊 Would you like to book a session this week?
Auto-reply22:31
Thursday evening?
22:32
Thursday at 6 PM or 7:30 PM is available. Which one suits you, and can I have your name and phone number?
Auto-reply22:32
An agent with a booking goal.

Step 5: Decide when to hand over

Some chats need a person: an angry customer, a large or custom order, a question the agent cannot answer. Write clear rules, for example:

  • “If the customer complains or asks for a manager, hand over to the team.”
  • “If the order is over 10 pieces, hand over to sales.”
  • “If you do not know the answer, say so and hand over. Never guess.”

In ReplyNinja, the agent can assign the chat to a team member or mark it resolved based on your rules.

The Assign to moderator and Mark as resolved actions with their rulesThe Assign to moderator and Mark as resolved actions with their rules
Write when to hand over to your team, and when a chat counts as resolved.

Decide when the agent stops replying

Assigning a moderator doesn’t stop the agent by itself. Two actions decide when it steps back, so your team and the agent don’t both answer the same customer:

  • Turn off AI replies: write when the agent should stop, like your other rules. A new agent starts with three: it assigned a moderator to the chat, the customer repeats the same question more than three times, or the customer is angry, insulting or threatens to leave. The agent sends one short last message saying your team will continue, then stops replying to that customer.
  • Turn off when a person replies: when someone from your team answers the customer from the ReplyNinja inbox or the WhatsApp Business app, the agent stops replying to that customer. Messages from bots, reminders and campaigns don’t count.

Each one has its own Turn back on time: type it in hours and minutes, or tick Never (only by hand). A new agent comes back 1 hour after a person replies, and only by hand after its instructions stop it. If a person replies again while it’s off, the timer starts again.

The Turn off AI replies card with three default rules and Never ticked, and the Turn off when a person replies card set to after 1 hourThe Turn off AI replies card with three default rules and Never ticked, and the Turn off when a person replies card set to after 1 hour
Turn off AI replies and Turn off when a person replies, each with its own Turn back on time.

The chat shows a note each time: why the agent stopped and when it comes back. The customer’s panel in the inbox shows Paused until that time.

Step 6: Test before you go live

Before the agent talks to real customers, chat with it yourself. Try:

  • your top 10 questions,
  • a question that is not in the training (does it admit it does not know?),
  • a rude message,
  • a customer who wants to buy right away.

Use the Test conversation panel on the right of the agent’s page. It starts once the Knowledge base has at least one item, and it talks to a pretend customer, so nothing reaches real people. The pretend customer starts with your own name, email and phone. Click Contact fields to see what the agent saved about this test contact (city, address, stage, summary), or to change them and test a different case, like a returning customer from another city. Reset starts the chat over. The test uses the last saved version of the agent, so save your changes first. If the agent decides to turn its replies off, the test shows a note but keeps answering, so you can keep testing.

The Test conversation panel with a sample chat about a linen shirt orderThe Test conversation panel with a sample chat about a linen shirt order
The Test conversation panel: the agent's replies, and what it updated about the contact.

Fix the answers you do not like by improving the training, not by adding long lists of “never say”.

Step 7: Turn it on for your accounts

When the test looks good, switch the agent from Inactive to Active at the bottom of its page and save. Then choose where it answers: an agent only replies on the accounts where it’s the default. At the bottom of the agent’s page, the Accounts section lists your pages, Instagram accounts and WhatsApp numbers. Turn the agent on for each account you want it to answer. Each account can have one default agent. If an account already uses another agent, ReplyNinja asks before replacing it.

The Accounts section with a Facebook page, a WhatsApp number and an Instagram account linkedThe Accounts section with a Facebook page, a WhatsApp number and an Instagram account linked
Turn the agent on for each account it should answer.

You can still turn AI replies off or back on for a single chat from the inbox, at any time. Your own choice there has no timer.

Keep improving it

Once a week, read a few chats the agent handled. When a customer asked something the agent could not answer, add it to the training. After a month, your agent will know your business better than most new hires.

Next: learn how to qualify leads inside a chat, and see why reply speed decides the sale.

Frequently asked questions

Will the AI make up answers?

A well-set-up agent answers from the information you give it. Tell it clearly to say it does not know and offer a human when something is not in its knowledge. Test it with tricky questions before you turn it on.

Which files can I upload?

In ReplyNinja you can train Ninja AI with text, PDF, CSV and image files. If your price list is in Word or Excel, export it to PDF or CSV first.

Can it reply in Arabic dialects?

Yes. You choose the language and dialect, for example Egyptian or Gulf Arabic, and the agent replies the way your customers talk.

Does the AI keep replying after my team answers?

Not if you turn on Turn off when a person replies. When someone answers the customer from the inbox or the WhatsApp Business app, the agent stops replying to that customer, and comes back after the time you choose, or never.

Tags

  • Artificial Intelligence
  • Chatbot
  • How To

Written by

ReplyNinja Team

The ReplyNinja team builds the platform businesses use to capture, convert and keep customers on WhatsApp, Instagram, Messenger and Facebook. We write about what we see working for thousands of businesses.