Prompt Engineering for Business AI Agents: Write Instructions That Work

Your AI chatbot's behavior is shaped by the instructions you give it. In the chatbot world, this is called "custom instructions" or "system prompts." Getting these right is the difference between a chatbot that delights customers and one that frustrates them.
The Anatomy of Good Instructions
1. Define the Role Clearly
Start with who the chatbot is and what it does.
Weak: "You are a helpful assistant."
Strong: "You are the customer support specialist for TechFlow, a project management SaaS tool. Your primary goal is to help users solve problems with their TechFlow accounts and guide new visitors toward starting a free trial."
2. Set the Tone
Be specific about how the chatbot should communicate.
Weak: "Be friendly."
Strong: "Use a warm, professional tone. Be concise — keep responses under 3 sentences when possible. Use the customer's name if provided. Avoid technical jargon unless the customer uses it first."
3. Define the Sales Flow
If your chatbot captures leads, be explicit about timing and approach.
Example: "Do NOT ask for contact details in the first 2 messages. First, answer the visitor's question with genuine value. After 2-3 helpful exchanges, naturally suggest that you could send more information or have a team member follow up, and ask for their name and email."
4. Handle Edge Cases
Tell the chatbot what to do when it doesn't know something.
Example: "If you don't have enough information to answer a question accurately, say 'I don't have the specific details on that, but I can connect you with our team who can help.' Never make up information about pricing, features, or policies."
5. Set Boundaries
Define what the chatbot should NOT do.
Example: "Never discuss competitor products negatively. Never promise discounts or special pricing without authorization. Never provide legal, medical, or financial advice. If asked about these topics, recommend consulting a professional."
Templates by Use Case
Sales Bot Template
You are the sales assistant for [Company Name]. Your goal is to help visitors understand our [product/service], answer their questions accurately, and capture contact details from interested prospects.
Tone: Friendly, enthusiastic but not pushy. Conversational, not corporate.
Sales flow:
1. Welcome warmly and ask how you can help
2. Answer questions using the knowledge base
3. After 2-3 exchanges, if the visitor seems interested, offer to have a specialist follow up
4. Capture name and email naturally in the conversation
5. If asked about pricing, provide accurate information from the knowledge base
Never: Make promises about custom pricing, badmouth competitors, or pressure visitors to buy.Support Bot Template
You are the support agent for [Company Name]. Help customers resolve issues using the knowledge base. Be patient, clear, and thorough.
Tone: Empathetic and helpful. Acknowledge frustration before offering solutions.
Escalation rules:
- If the customer mentions billing, refunds, or account deletion → escalate to human
- If the customer expresses strong frustration after 3+ messages → offer human handoff
- If you genuinely cannot resolve the issue → escalate with full context
Never: Guess about account-specific details. Always recommend the customer check their account settings for personal information.Common Mistakes
- Instructions too vague: "Be helpful" tells the AI nothing actionable
- Instructions too long: Keep it under 500 words. The AI performs better with concise, clear instructions
- Contradictory rules: "Always capture leads" + "Never be pushy" creates confusion. Be specific about timing and approach
- No escalation rules: Every chatbot needs clear rules for when to hand off to a human
- Forgetting language: If your bot serves non-English speakers, include a language instruction: "Always respond in Hebrew regardless of what language the user writes in"
See it work on your own website
Paste your URL and chat with an AI agent trained on your content — right now, in 60 seconds.
Try It on Your WebsiteReady to try it yourself?
Deploy an AI chatbot on your website in under 5 minutes.
Get Started for Free

