Teach the AI from your website and documents
You already have the answers. They sit on your delivery page, inside a price list PDF you send on WhatsApp, and in the head of the one staff member who has been with you longest. The problem is that customers ask at ten at night, or while that person is off, or twenty times a day about the same thing.
Chatly's AI agent answers from your own knowledge, and only from that. It does not make things up from the wider internet. So the quality of its answers depends almost entirely on what you teach it. This guide walks through how to do that properly, from crawling your website to testing in the playground before a single customer sees a reply.
What the AI actually learns from
There are two sources of knowledge:
- Your website. Chatly crawls your pages and reads the content. It is sitemap aware, so it uses your sitemap to find pages, and it respects robots.txt, so pages you have blocked from crawlers stay out.
- Files you upload. PDFs, CSVs and plain text. This is where you put the things that are not on your website, or are buried in places a crawler handles poorly.
When the AI answers, it shows the source it used. When it is not confident, it hands the conversation to a human instead of guessing. And every question it could not answer is logged so you can review it later. Those three behaviours matter more than anything else here, because they let you see what it knows and fix what it does not.
| Source | Good for | How it stays current |
|---|---|---|
| Website crawl | Policies, product pages, FAQs, opening hours, location details | Re-crawled weekly |
| PDF upload | Brochures, course outlines, terms, price lists you already share | Upload a new version when it changes |
| CSV upload | Structured lists such as delivery areas, branch details, product specs | Upload a new version when it changes |
| Text upload | Answers that live only in your team's heads | Edit and upload again |
Step one: crawl your website
Start with the website, because it is usually the most complete and the most public record of how your business works. If you have not set up a workspace yet, create a free one. AI answers and knowledge are included on the Free plan.
Before you start the crawl, spend ten minutes on your own site:
- Check your sitemap exists and is current. Because the crawler is sitemap aware, a tidy sitemap helps it find the pages that matter. If you use a common website builder or CMS, a sitemap is often generated for you.
- Look at robots.txt. If an important page is blocked there, the crawler will skip it. That is by design. Decide whether the block is intentional.
- Read your key pages as a customer would. Delivery, returns, payment, opening hours, admission requirements, booking. If the answer is vague on the page, it will be vague in the chat.
That last point catches most people. A delivery page that says "we deliver nationwide, contact us for details" teaches the AI to say exactly that. If you want it to explain which areas get next-day delivery and which take longer, the page has to say so.
Step two: upload what is not on the website
Most small businesses run half their operation outside the website. The school has a fees and uniform PDF that parents receive on WhatsApp. The clinic has a list of which tests need fasting. The online shop knows that orders placed after a certain time go out the next working day, but nobody wrote it down.
This is what uploads are for.
PDFs
Upload the documents you already send customers again and again. A PDF that is mostly text works best. If a document is a scanned image of a printed page, consider typing the important parts into a text file instead, so the content is readable.
CSVs
CSVs suit information that is naturally a list or a table. A few examples:
- Delivery areas with the expected delivery window for each
- Branches with address, phone number and opening hours
- Products with size, material and care instructions
Use clear column headings. "Area" and "Delivery time" will serve you better than "Col A" and "Notes 2".
Text files
This is the most underused option, and often the most valuable. Sit with your most experienced support person and write down the answers they give every day. Write them as plain questions and answers:
Q: Can I pay on delivery?A: Pay on delivery is available in the areas listed on our delivery page. For other areas, payment is by transfer before dispatch.
Short, factual, no marketing language. You are writing for the AI to quote back to a customer, so write the way you want your support to sound.
Why did the AI not answer a question my website clearly covers?
This is the question I hear most after a team switches it on. Usually it is one of these:
- The page was not crawled. It might be blocked in robots.txt, missing from the sitemap, or newer than the last crawl.
- The answer is not really on the page. It is implied, or split across three paragraphs, or hidden in an image. Customers ask "do you deliver to Ibadan?" and the page only lists "South West". A person can work that out. Spell it out anyway.
- The customer used different words. Your page says "dispatch". The customer says "when will my thing reach me". Adding a short text file with common phrasings in question form often helps.
- The AI was not confident, so it handed off. That is the safe behaviour. A handoff to a human is better than a wrong answer about money or medicine.
The unanswered questions log is how you find these. Read it regularly, then fix the source: edit the web page, or upload a text file with the missing answer.
Step three: test in the playground before going live
The playground lets you ask the AI questions and see its answers before customers do. Use it properly. Do not just ask the easy questions you know are covered.
Write a test list of twenty or so real questions. Pull them from your WhatsApp chats, Instagram DMs and email. Include the awkward ones:
- Questions with spelling mistakes or pidgin phrasing
- Questions that mix two topics, such as "how much is delivery and can I return it"
- Questions you do not want answered by a bot at all, such as a complaint about a faulty order
For each answer, check two things. Is it correct? And does the source it shows make sense? If the AI quotes an old promotion page for a question about current delivery times, that page needs updating or removing from your site.
When an answer is wrong, resist the urge to fix it in your head and move on. Fix the source, then ask again.
Keeping the knowledge fresh
Your website is re-crawled weekly, so changes you make there will be picked up without you doing anything. That is a good reason to keep the website as your main source of truth where you can.
Uploaded files are different. If your fees change or you add a new branch, upload the new version. Make it someone's job. On a small team, I have found it works best when whoever changes the price list is also the person who updates the file in Chatly, in the same sitting.
A simple weekly habit helps:
- Read the unanswered questions log.
- Group them. Five people asking about weekend delivery is one gap, not five.
- Fix the gap on the website or in a text file.
- Retest those questions in the playground.
What software cannot fix
The AI can only be as clear as your policies. If your team gives three different answers about refunds, the AI will reflect that confusion or hand off every time. Agree the answer first, then write it down.
It also will not replace judgement. An angry customer, a medical worry, a parent chasing a child's results: these need a person. The handoff exists for this. Make sure someone is actually there to pick up, and set your welcome message so customers know what to expect when nobody is online.
If the widget is not on your site yet, start with adding live chat to your website, then come back to this. You can see the rest of what the workspace does on the features page.
Try Chatly free. Live chat, a shared inbox and AI answers from your own content, ready the same afternoon.
Create your workspace