Simple Chat
Guide · Answer quality · 11 min read

How to Write Chatbot Instructions and a Knowledge Base That Actually Work

Instructions are how your bot behaves; the knowledge base is what it knows. Keep them separate, write each one well, and your bot answers like someone who works there.

Updated 11 min read

Let the optimizer write the first draft

Jot down a few rough notes about your bot and the built-in prompt optimizer turns them into clean instructions you can fine-tune. 50 credits free, no credit card.

Frequently asked questions

What's the difference between the chatbot instructions and the knowledge base?

Instructions are how the bot behaves — its role, tone, the topics it covers, and what to do when it's stuck. The knowledge base is what the bot knows — your hours, prices, policies, products, and FAQs. Keep them separate: instructions stay short and rarely change, while the knowledge base holds your facts and gets updated whenever something changes. Putting facts in the instructions makes them long and hard to maintain.

What should I write in the chatbot instructions?

Answer four questions in plain language: who the bot is (its role and whose business it represents), how it should sound (the tone), what it covers (the topics it's there for), and what it should do when it doesn't know (say so honestly and offer to pass the visitor to a person). Keep it to about half a page — roughly 2,000 characters. If you're stuck, write rough notes and run them through the built-in prompt optimizer.

How do I add my business information to the chatbot?

Put it in the knowledge base. Add your hours, prices, policies, and the questions customers ask most, under short headings with one fact per line. You can type it straight in or upload a document — the knowledge base accepts PDF, DOCX, XLSX, CSV, TXT, and Markdown files, up to 5 MB each, and reads the text out of them. You can combine sources: paste your hours, upload your price list, paste your policies.

Can I upload a PDF or document instead of typing everything?

Yes. The knowledge base accepts PDF, DOCX, XLSX, CSV, TXT, and Markdown files up to 5 MB each, and extracts the text for the bot to use. An existing FAQ document, price list, or service brochure can go in as-is. That said, don't upload your whole website — a focused page of clean facts works better than fifty pages of marketing copy the bot has to search through.

How do I stop the chatbot from making up answers?

Two things. First, add a clear fallback rule to the instructions: tell the bot that when it doesn't know, it should say so plainly and never guess — then offer to pass the question to a person via the "Talk to a human" option. Second, make sure the real answers are actually in the knowledge base; a bot guesses when it has nothing solid to draw on. A bot that says "I'm not sure, let me pass you to someone" is far better than one that invents a price.

How long should the instructions be, and how much knowledge does the bot need?

Keep instructions short — about half a page, or roughly 2,000 characters. A focused, sharp brief beats a long one the bot only half-follows. The knowledge base can be as long as it needs to be, but most small businesses cover around 90% of real questions with a single well-organized page of facts. Start with the questions you already answer most often and grow it from there as you read real conversations.

Build a bot that knows your business

Pick a template with instructions and a knowledge base already written for your trade, then make it yours. 50 credits free, no credit card.