How to Train an AI Chatbot on Your Website in an Afternoon

Guides
How to Train an AI Chatbot on Your Website in an Afternoon

Train an AI chatbot on your website in one afternoon: pick the right pages, fix conflicting facts, add missing answers, then test it on 20 real questions.

You can train an AI support agent on your website in one afternoon: list the 20 questions customers ask most, pick the pages that answer them, fix those pages so each fact is stated once and clearly, add the answers your site is missing, then test the agent on those 20 questions and fix every miss before it goes live.

Most guides stop at "add your URL and test a few questions". This one gives you the part that decides whether the answers are right: which pages to leave out, how to rewrite the ones the agent will quote, and a 20-question test with a fixed mix of question types and a fix for each kind of failure.

What "training an AI agent on your website" actually means

Website chat tools don't retrain the AI model on your site. They read your pages, store the text, and when a customer asks something, they pull the most relevant passages and write an answer from them. Three things follow from that:

  • The agent only knows what your pages say in text. If your delivery times are in a banner image or a scanned PDF menu, it can't use them.
  • Some pages never get read. Wix lists what its own AI chat can't index: hidden pages, password-protected pages, member areas and some dynamic pages, and says it may skip checkout, cart and empty or duplicate pages. Other tools have similar limits.
  • It's a snapshot. When you change a price on the site, the agent keeps the old one until the page is read again.

So the work is mostly editing, and you can do it without a developer.

The afternoon plan

Time Task What you have at the end
13:00 Read your last 50 to 100 chats, WhatsApp threads and emails A list of the 20 most common questions, in the customer's words
13:45 Go through your sitemap and pick pages An include list and an exclude list
14:30 Fix the pages the agent will quote Each key fact stated once, in plain text
15:15 Add missing answers and write short instructions Q&A pairs and 5 to 8 rules
15:45 Run the 20-question test A scored sheet
16:30 Fix the misses and test again An agent you're willing to switch on

Step 1: Write the 20 questions before you open the tool

Start with your inbox. Read your recent conversations and write down the questions that keep coming back, exactly as customers typed them: typos, short forms, Arabic, English, or both in one message. A Dubai furniture shop might end up with "do u deliver to sharjah", "كم مدة التوصيل؟" and "can I return if the colour is different".

This list tells you which pages matter, and it becomes your test in step 6. Skip it and you'll test with questions you phrase neatly yourself, so the agent will look better than it is.

Step 2: Choose which pages to include, and which to leave out

Your sitemap lists the pages of your site. If you use a CMS such as WordPress or Wix, Google notes it has probably made one for you; it usually sits at yoursite.com/sitemap.xml. Go down the list with your 20 questions next to you.

Include Leave out Why leave it out
Delivery and shipping Old promotions and expired offers The agent will quote last Eid's discount as if it still runs
Returns, refunds and exchanges Blog posts or news that mention old prices Two prices for one thing means the agent may give either
Pricing, plans and packages Careers and job ads They answer nobody's support question and add noise
Product and service pages Login, account, cart and checkout pages No useful text, and some tools skip them anyway
Opening hours, branches and contact details Tag, search-result and archive pages Duplicates of other pages
FAQ and help articles Long legal terms, unless they are the only place a policy is written Customers get legal wording instead of an answer
Booking, payment and warranty policies Pages with names or details of real customers Personal data shouldn't sit in an AI source

When in doubt, leave a page out. A missing page makes the agent say it doesn't know; an outdated one makes it give a wrong answer with confidence. If a page only half answers a question, fix it in step 3 rather than adding three more pages that each say a bit.

Step 3: Fix the pages the agent will quote

An AI agent answers from passages it pulls out of your pages, so each passage has to make sense on its own. Intercom's guide to writing content for its Fin agent is the clearest public set of rules for this, and they apply to any tool:

  • Restate the subject. "It's easier when you invite teammates" loses its meaning out of context. Name the thing in every section.
  • Put the question in the answer. A bare "No." under a question can be retrieved without the question. Write "You can use your own packaging for a return."
  • State exact numbers. Intercom's guide warns that vague words like "shortly" or "a few minutes" don't pass, and says to spell out how a total is made rather than leave the agent to add it up.
  • One topic per heading. A section that mixes guest checkout and account checkout produces mixed answers.
  • Write image content out as text. The guide says to put step-by-step text next to any image or video.

Then do the check most people skip: one fact, one place, one value. Take the five facts customers ask about most (delivery time, return window, prices, opening hours, areas you serve) and search your own site for each. If the delivery page says 2 to 4 days and an old FAQ says 3 to 5, the agent has no way to know which is current. Fix or remove the old one.

Here is a rewrite for an example Dubai shop:

Before: Delivery: 2-4 days. Free over 300.

After: We deliver anywhere in the UAE in 2 to 4 working days after you order. Delivery is free on orders over AED 300; below that it costs AED 25. Orders placed on Friday are sent on Saturday.

The second version answers "how long", "how much" and "what about Friday" from one passage.

Step 4: Add the answers your website doesn't give

Some answers live only in your team's heads or saved WhatsApp replies: whether you deliver to Al Ain, if the clinic has parking, what happens when a courier misses you. Intercom suggests going through your team's saved replies for exactly this. Add them as short question-and-answer pairs, one fact per pair, written like the "after" example above. Most tools let you add these next to your website pages; Wix, for example, calls them knowledge rules.

Step 5: Write five to eight instructions

Knowledge tells the agent what is true. Instructions tell it how to behave. Keep them short and specific:

  1. Answer in the language the customer writes in.
  2. Keep answers under four sentences unless the customer asks for detail.
  3. If the answer isn't in our content, say so and offer a teammate.
  4. Never promise a discount, refund or delivery date that our content doesn't state.
  5. Hand the chat to a person when the customer asks, is upset, or the question is about money on their account.

The last rule deserves more than one line. Our guide to AI-to-human handoff rules covers when and how to pass a chat on.

Step 6: Test the agent with 20 real questions

Use the list from step 1, but make sure the 20 cover these six kinds of question. A test made only of your top questions tells you the easy part works.

Questions Type Example A pass looks like
8 Your most common questions, as customers typed them "do u deliver to sharjah" Correct and complete
3 The same questions, reworded, misspelled or in Arabizi "kam el tawseel la dubai" Same answer as the original
2 Asked in your second language "هل يمكنني إرجاع الطلب؟" Correct, in that language
3 A follow-up to an earlier answer "and on Friday?" Uses the context of the chat
2 Cases that must go to a person "I was charged twice" Offers a teammate, doesn't guess
2 Questions your content doesn't answer "do you sell gift cards?" (when you don't say) Says it doesn't know and offers help

Score each answer as right, right but incomplete, wrong, or should have handed off. Set your bar before you start. A sensible one: no wrong answers on prices, refunds or delivery, and every handoff case handed off. Then fix by the type of failure:

What went wrong Usual cause Fix
Wrong number or policy Two pages disagree, or an old page is included Fix the conflict; remove the old page
"I don't know" when your site has the answer The fact is in an image or PDF scan, or on a page the tool couldn't read Write it as text on a readable page, or add a Q&A pair
Vague answer The passage needs other paragraphs to make sense Restate the subject and the numbers in that section
Answered a question it should have passed on Instructions too loose Add a specific handoff rule
Made something up for a question you don't cover No "say you don't know" rule, or a page that hints at it Add the rule; check for pages that suggest the product exists
Wrong language Language setting or plan limit Check the language rule and what your plan supports

Fix, reload the sources, and run all 20 again. If the second round still gets prices, refunds or delivery wrong, keep the agent off and fix those pages first.

Step 7: Keep the agent current after launch

Re-read your sources every time a price, policy or opening hour changes, before customers notice. During Ramadan or a holiday, update the hours page first and the agent second. For the first two weeks, read every conversation the agent had; each question it couldn't answer is a page to fix or a Q&A pair to add. If many of your customers write in Arabic, our guide to Arabic customer support covers dialect and right-to-left issues worth testing.

Doing this in Emplorium

In Emplorium, Aura answers from the sources you give her: knowledge base articles, PDFs, website pages and Q&A pairs. She hands the conversation to a teammate in the same inbox that holds your web chat, WhatsApp, Messenger and Telegram. The pricing page lists what each plan allows: the Free plan takes up to 10 links as AI sources and 25 knowledge base articles, and Aura answers in Arabic and English. Starter, at $19 a month billed annually, allows unlimited links and answers in other languages too.

That's enough to run this afternoon's test on your own site. Start on the Free plan.

FAQ

How long does it take to train an AI chatbot on my website?

Loading the pages takes minutes in most tools. The work that makes answers correct (choosing pages, fixing conflicting facts, testing 20 questions) fits in an afternoon for a small business site.

Does the AI retrain itself when I update my website?

Not by itself in most tools. The agent works from the copy of your pages it read last, so re-sync or re-add the page after every change to prices, policies or hours.

Should I add every page on my website?

No. Add the pages that answer customer questions and leave out old promotions, blog posts with outdated prices, careers, account and checkout pages. Fewer, accurate pages give better answers.

Can an AI agent read PDFs and images on my site?

Many tools accept PDFs as a separate source, but text in images, banners and scanned documents is usually lost. Write any key fact as plain text on a page.

Everything You Need
One Seamless Platform