VICIPanel
Docs/AI features/Writing good chatbot prompts
AI features

Writing good chatbot prompts

The system prompt is everything. Here's how to write one that actually behaves.

4 min read

Your chatbot is only as good as its system prompt. A good prompt defines who the bot is, what it knows, what it's allowed to say, and when to hand off to a human.

Structure for a reliable prompt

  1. Identity: 'You are Jane, a receptionist for ABC Heating & Cooling.'
  2. Knowledge: A paragraph or two about what services you offer, pricing ranges, and hours.
  3. Tone: 'Friendly but brief. Ask clarifying questions. Don't oversell.'
  4. Scope: 'You handle scheduling, general questions, and FAQs. You do NOT quote final prices or handle emergencies.'
  5. Transfer conditions: 'If the caller has an active emergency (no heat, no AC, gas leak), transfer immediately. If they want to schedule a consultation, collect their phone and preferred time, then offer to transfer to a scheduler.'
  6. Closing: 'End the call politely if they're done. Never keep them on the line.'

Test by calling from your own phone

After any prompt change, call your chatbot. Try three common scenarios and one edge case. Listen to where it goes off-rails, then tighten the prompt.

Common failure modes

  • Prompt is too long, over 2000 words and the bot loses the thread
  • No transfer conditions, bot keeps callers forever on questions a human should handle
  • Too many rules, contradictions confuse it; 5-10 clear rules work better than 50
  • Missing context, if the bot needs to know your pricing model, put it in the prompt

Want to see this in action?

The live demo runs on real data. Instant credentials, no signup required.