AI Chatbot Design: How to Write the Instructions That Shape Every Answer Your Bot Gives
AI chatbot design is mostly invisible. Visitors see the answers, but behind each one sits a short set of instructions telling the bot who it is, what it covers, how it should sound, where it must stop, and how to format a reply. Write those instructions well and a good bot becomes a great one. This guide shows how, with a template you can fill in.
⚡ In short
- Instructions and knowledge are different: knowledge is what the bot knows, instructions are how it behaves.
- Six parts make good instructions: role, scope, tone, limits, format and examples.
- Be specific and short. ‘Answer in 2–3 sentences, number first’ beats ‘be concise’.
- Test instructions against real questions and refine weekly.

Instructions vs knowledge
Two different jobs
When people set up an AI chatbot, they usually focus on knowledge: the facts about prices, delivery, hours and products. That’s essential, and our knowledge audit guide covers it. But knowledge alone doesn’t decide how the bot behaves. Two bots with identical knowledge can feel completely different: one gives short, friendly answers and hands complaints to a person; the other writes long paragraphs, apologises constantly and tries to handle everything itself.
The difference is the instructions. Instructions describe behaviour: the bot’s role, what topics it should and shouldn’t handle, the voice it uses, how long answers should be, and what to do when it’s unsure. Most AI chat tools have a place for this, sometimes called guidance, rules, a prompt or a persona.
Good AI chatbot design treats these instructions as a small, carefully written document. It’s usually less than a page long, but it shapes every single answer. The rest of this guide breaks it into six parts.
Part 1 · Role
Tell the bot who it is and who it serves
Start with one or two sentences that set the scene. The bot should know which business it represents, who it’s talking to, and what it’s there to do.
Weak
“You are a helpful assistant.”
Strong
“You are the website assistant for Crumb & Co, a bakery in Bengaluru that takes custom cake orders. You talk to visitors who are deciding whether to order. Your job is to answer their questions about cakes, prices, delivery and ordering, and to help them place an order or reach our team.”
Why it works
The strong version tells the bot the business, the audience, and the goal. Everything else, tone, scope and limits, makes more sense in that context. A role also helps the bot decide what to do with unexpected questions: if someone asks about something unrelated, the bot knows it’s there to help with cakes, not general chat.
Part 2 · Scope
What the bot covers, and what it doesn’t
Scope lists the topics the bot should handle and the ones it should leave alone. Without it, AI bots tend to answer everything, including questions they shouldn’t.
In scope
List the topics: “Cake flavours, sizes and prices; custom cake notice periods; delivery areas and charges; payment methods; how to order; opening hours and location.”
Out of scope
List what to avoid: “Don’t give nutritional or allergy guarantees. Don’t discuss competitors. Don’t answer general questions unrelated to the bakery. Don’t promise discounts or delivery times that aren’t in the knowledge.”
What to do with out-of-scope questions
Tell the bot how to respond: “For allergy questions, say our kitchen uses nuts, gluten and dairy and offer a call from the team. For anything else outside the bakery, politely say you can only help with Crumb & Co orders.”
Clear scope is the single most effective protection against wrong or awkward answers.
Part 3 · Tone
Describe the voice in specific, testable terms
Test your tone instructions
Read three bot answers aloud. Do they sound like your best team member? If not, find the specific words that feel off and add them to the “avoid” list. Our guide to chatbot personality helps you choose a voice in the first place.
Part 4 · Limits
Where the bot must stop and hand over
Limits are the instructions that protect your customers and your business. They tell the bot when not to answer, and what to do instead.
Always include
– Uncertainty: “If the knowledge doesn’t cover the question, say you’re not sure and offer to pass it to the team. Never guess prices, dates or policies.” – Sensitive topics: “Don’t give medical, legal or financial advice. Offer a call from the team.” – Complaints and refunds: “Acknowledge the problem, collect the order number, and hand over. Don’t argue or promise refunds.” – Personal data: “Never ask for passwords, OTPs, card numbers or ID numbers.” – Requests for a person: “If the visitor asks for a person, hand over immediately during opening hours, or collect contact details if the team is offline.”
Why spell it out
AI models are designed to be helpful, which means they’ll try to answer almost anything. Limits redirect that helpfulness to the right place: a quick, honest handover. The error moments guide has more examples of good handover wording.
Part 5 · Format
How answers should look on a phone
Format instructions make answers scannable and consistent.
Instructions that work
– “Answer in 2–3 short sentences.” – “Put the key fact (price, time, yes/no) in the first sentence.” – “Use a short list only when giving 3 or more options.” – “End with one next step or question when it helps, such as ‘Want me to check delivery to your area?’” – “Don’t use headings or long paragraphs.” – “Reply in the language the visitor writes in, using simple words.”
Fact first, both questions answered, one next step.
Part 6 · Examples
Show, don’t just tell
A few examples of ideal answers teach the bot more than paragraphs of description. Include three to five short question-and-answer pairs covering your most common situations: a simple factual question, a two-part question, a question that needs a handover, and a complaint.
Example pair: factual
Visitor: “do u have eggless” Ideal answer: “Yes! Most of our cakes can be made eggless at no extra cost. Which flavour are you thinking of?”
Example pair: handover
Visitor: “my cake was damaged when it arrived” Ideal answer: “I’m sorry, that’s disappointing. Could you share your order number and a photo? I’ll pass it to our team right away so they can sort it out today.”
Tips
– Use real questions from your chat history, typos included. – Keep examples consistent with your tone and format instructions. – Update examples when you change policies, so they don’t teach outdated facts.
Template
Fill-in-the-blanks instructions
Copy each block into your bot’s guidance, replacing the brackets.
Common mistakes
Instruction mistakes that quietly hurt answers
Most problems with bot behaviour trace back to a handful of instruction mistakes. If your bot feels off, check for these first.
Contradictions
“Be concise” in one place and “explain fully so customers understand” in another. The bot has to pick, and it won’t always pick the same way. Read your instructions as a whole and remove conflicts.
Instructions that are really knowledge
“Delivery takes 3–5 days” belongs in knowledge, not instructions. When facts live in instructions, they’re easy to forget when you update your knowledge, and the two drift apart.
Too many rules
Thirty rules are hard to follow consistently. Keep the instructions to what matters, and put rare edge cases in handover rules instead.
Negative-only instructions
“Don’t be rude, don’t be long, don’t be formal” tells the bot what to avoid without saying what to do. Pair each “don’t” with a “do”: “Don’t write paragraphs; answer in 2–3 sentences.”
Never revisiting them
Instructions written on launch day reflect what you expected. After a month of real conversations, you’ll know what visitors actually need. Good AI chatbot design means coming back to the instructions with that evidence.
Testing and refining
Instructions are never finished
After writing your instructions, test them with twenty real questions from your chat history or inbox: easy ones, hard ones, rude ones, off-topic ones. For each answer, ask: is it accurate, in scope, in the right tone, the right length, and does it end in the right place?
When an answer is wrong, decide whether the problem is knowledge (a missing or wrong fact) or instructions (the right fact, but wrong behaviour). Fix the right layer. A bot that quotes the right price in a 200-word essay needs a format instruction, not more knowledge.
A weekly habit
Read a sample of conversations each week and adjust one instruction at a time. Small, tested changes are better than big rewrites. LiveChatBot’s AI Agent lets you combine knowledge with guidance, and the free keyword bot uses your saved replies when AI replies aren’t in use, so your saved replies should follow the same tone and format rules. Start free on livechatbot.in. Good AI chatbot design is a page of clear instructions, tested against real questions, improved a little every week.
Frequently asked questions
What is AI chatbot design?
It’s the work of deciding how a bot behaves: its role, scope, tone, limits, answer format and examples, plus the knowledge it answers from and how it hands over to people.
How long should bot instructions be?
Usually under a page. Short, specific instructions are easier for the bot to follow and for you to maintain.
What’s the difference between instructions and knowledge?
Knowledge is the facts the bot answers from. Instructions describe how it behaves: tone, length, scope and when to hand over.
Why does my bot write such long answers?
It probably lacks format instructions. Add ‘Answer in 2–3 short sentences, key fact first’ and an example or two.
Should I give the bot example answers?
Yes. Three to five ideal question-and-answer pairs teach tone and format more effectively than descriptions alone.
Keep reading
Related guides
AI Chatbot Builder Walkthrough: Build a Booking Assistant Without Code, Block by Block
AI Chat Software Due Diligence: A Security and Privacy Checklist Before You Sign Up
AI Chat for Website Speed and SEO: Will a Chat Widget Slow Your Site or Hurt Your Rankings?
Write your bot’s instructions this week
Use the template, test against twenty real questions, and refine. Free on livechatbot.in.