The AI bot of 2026 is a vastly different product from the chatbot of 2020. Frontier models from Anthropic, OpenAI, Google and Meta's open-source ecosystem can hold a multi-turn, persona-consistent conversation, retrieve facts from a knowledge base, and execute tools. The hard part is no longer "can the model respond"; it is "should the model respond, with what persona, anchored in what facts, with what escalation."
This guide is the operational playbook for that. The prompt templates work in CRM Solid out of the box and transfer cleanly to any other tool that exposes a system-prompt + RAG + tool-use surface.
Step 1: Define what the bot handles and what it escalates
Scope-creep is the most common reason AI bots fail in production. Be specific:
# The bot handles
1. Pricing-page-level FAQs ("how much does the Pro plan cost",
"is there a yearly discount")
2. Feature-overview questions ("does the panel do X")
3. Demo scheduling (offers calendar link, confirms time, sends ICS)
4. Initial qualification (asks Need / Budget / Timeline / Channel)
5. Status check-ins ("when does my trial end")
6. Light objection handling (timing, budget, "we already use X")
7. Trial-extension requests (escalates if > standard offer)
8. Onboarding pointer questions ("how do I import contacts")
# The bot DOES NOT handle (always escalates)
1. Discount or contract negotiation
2. Anything involving compliance docs (DPA, SOC 2)
3. Security architecture questions ("where is data stored")
4. Custom integration requests
5. Legal questions (terms, refunds, account ownership disputes)
6. Complaints or hostile messages
7. Confirmed-decision-maker conversations
8. Anything where the user explicitly asks for a humanWrite your version. Resist adding "and anything else useful"; that is how bots end up answering questions they have no authority to answer.
Step 2: Write the persona system prompt
The persona is the first ~200 words of your system prompt. It shapes everything downstream. A working template:
You are Maya, a friendly and professional customer success rep at
CRM Solid (https://crmsolid.com). CRM Solid is an omnichannel AI CRM
unifying Telegram, X, WhatsApp, Instagram, email, and live chat;
designed for sales teams who run outbound on social DMs.
## Voice
- Warm but not gushy. Skip "Certainly!" and "I'd be happy to!".
- Plain English. No corporate jargon ("synergy", "leverage", "deep dive").
- Brief by default. Default response length: 1-3 short sentences.
- Match the user's tone. If they are casual, you are casual; formal,
formal.
- No emojis unless the user uses them first.
- Sign off only when ending a conversation, never mid-thread.
## Behavior
- Ask clarifying questions before answering vague queries.
- When you do not know, say "I don't know; let me get someone who does"
and trigger handoff.
- Never invent product features, prices, SLAs, or capabilities.
- Always offer the demo as the natural next step after qualification.
## Three example responses (mimic this style)
User: "how much is the pro plan?"
You: "Pro is $99/month, flat. Want me to send the side-by-side with
the other plans?"
User: "do you integrate with hubspot?"
You: "We have a HubSpot CSV import and a webhook integration;
2-way sync is on the roadmap. Want me to share the import guide?"
User: "this is too expensive."
You: "Fair. What budget were you thinking? If we're in the same ballpark
I can probably get you a fit; if not I'll point you to alternatives
that might match better."
End of persona.Step 3: Build a product knowledge base (RAG)
Retrieval-Augmented Generation (RAG) means the bot retrieves relevant chunks of your product documentation before each response, then composes an answer using those chunks as ground truth. This is the single most effective hallucination-prevention technique available.
In CRM Solid, go to AI > Knowledge base:
- Upload your pricing page (HTML or markdown).
- Upload your FAQ.
- Upload feature pages (one document per feature).
- Upload your common-objections doc (if you have one; write one if not).
- Upload your terms of service and DPA; these never get quoted directly, but the bot can reference them when escalating compliance questions.
CRM Solid chunks documents into 500-token passages, embeds them, and stores in a vector index. At inference time, the bot retrieves the top 5 chunks most relevant to the user's current message and includes them in the context window.
The system prompt directive that wires this in:
## Knowledge base
Before answering a product question, you will receive a CONTEXT block
containing relevant product documentation. Base your answer ONLY on
the provided CONTEXT plus your persona. If the CONTEXT does not contain
the answer, say "I'm not sure; let me get a human on this" and trigger
handoff. Do not invent facts.Keep the KB lean. Under 500 documents total. Above that, retrieval quality drops, latency rises, and your cost-per-message rises. Quality KB > comprehensive KB.
Step 4: Define handoff rules
Handoff is when the bot stops and routes the conversation to a human. Get this wrong and the bot either over-handles (frustrating users) or over-escalates (defeating its purpose).
The six hard handoff triggers every bot should have:
1. Explicit request
Trigger: user message contains "human", "agent", "person",
"real person", "speak to someone"
Action: immediate handoff with summary to human
2. Pricing-discount negotiation
Trigger: keywords "discount", "deal", "lower price", "cheaper",
"promo", custom pricing language
Action: acknowledge, escalate to AE
3. Complaint or hostility
Trigger: NLI classifier returns label "complaint" or "hostile"
with confidence > 0.7
Action: apologize, escalate immediately, do not auto-reply further
4. Decision-maker confirmed
Trigger: user mentions joining a call as CEO/CTO/VP-level, or
"I'll loop in my [decision maker title]"
Action: acknowledge, route to senior rep
5. Stalled progression
Trigger: > 3 consecutive bot turns without user advancing
(no demo booked, no new info, no question answered)
Action: pause bot, ping human reviewer
6. Compliance / legal language
Trigger: keywords "DPA", "GDPR", "SOC 2", "contract terms", "refund"
Action: redirect to docs, escalate to compliance ownerConfigure each as a rule in Settings > AI > Handoff. CRM Solid auto-generates a 1-sentence summary of the conversation when a handoff fires, so the receiving human has full context within seconds.
Step 5: Set guardrails for sensitive topics
Beyond the handoff triggers, the bot needs guardrails: things it will never say, even if asked. Add these to the system prompt:
## Guardrails (the bot must never)
1. Quote a specific price not present in the CONTEXT block.
2. Promise a feature delivery date, SLA, or uptime number.
3. Give medical, legal, tax, or financial advice. Always say
"I am not the right resource for that" and escalate.
4. Acknowledge competitors disparagingly. If asked to compare,
say "Both tools have strengths; let me point you to our
comparison page" and provide the link.
5. Confirm or deny security/compliance certifications without
the CONTEXT block stating it.
6. Process payment information or credit card numbers.
7. Make claims about ROI, payback period, or revenue impact
without numeric backing from the CONTEXT block.
8. Use absolute language: "always", "never", "every customer",
"guaranteed". Soften to "most", "typically", "in our experience".Test each guardrail by deliberately trying to trigger a violation. If the bot complies in your test, the guardrail is too soft; rewrite it.
Step 6: Test on 20 historical transcripts before going live
Budget: 60 minutes. Pull 20 real historical conversations from your inbox. For each, replay the user-side messages through the bot and inspect every response.
What to look for:
- Persona consistency: Does it sound like Maya? Does it use the voice rules?
- Factual accuracy: Does it match the real answer (or escalate when it cannot)?
- Handoff timing: Does it escalate on the right turns?
- Guardrail compliance: Does it refuse the cases your guardrails cover?
- Conversation length: Are responses concise (1-3 sentences) or rambling?
- Tone match: Does it match casual users casually and formal users formally?
Annotate each transcript with pass/fail and one note. Fix the system prompt for any failures. Retest. Repeat until 18-19 out of 20 pass. Then you can ship.
Step 7: Launch at 10% inbound volume
Never ship a fresh bot to 100% of inbound. The fail modes you missed in transcript testing only emerge under real volume.
In Settings > AI > Routing:
- Set bot enrollment to 10% of inbound (random sampling).
- Enable disclosure mode: every bot message prefixed with "(automated assistant)" until you have enough data to know the bot is good.
- Set CSAT survey to trigger after every bot conversation ends.
- Set the weekly review meeting.
Watch for 7 days. Targets:
- Handoff rate: 30-50% (sweet spot).
- CSAT: ≥ 4.0 / 5.0.
- Median time-to-resolution: < 24 hours for first response.
- Downstream conversion: ≥ 80% of the rate for human-handled (the bot can be slightly worse for now).
If all four targets are met, raise to 25%. After another week, to 50%. Eventually to whatever maximum makes sense for your volume.
Step 8: Weekly refinement and quarterly persona refresh
Budget: 30 minutes per week. Every Friday, open AI > Transcripts. Read 10 random conversations. Note:
- One thing the bot did well.
- One thing it did poorly.
- One specific change to the system prompt or KB.
Apply the one change. One change per week, every week, builds a bot that improves materially every quarter. Five changes per week builds a bot that flip-flops and never stabilizes.
Quarterly, do a deeper review:
- Does the persona still match your product voice? (Brand voice drifts; persona must keep up.)
- Are there new common questions the KB does not cover? Add docs.
- Are handoff triggers still firing on the right cases? Adjust.
- Have the four metrics improved, plateaued, or regressed? Plan accordingly.
A well-maintained AI sales bot does 6-12 months of useful work. A poorly-maintained one degrades silently because users stop responding before they complain. The weekly review is non-negotiable.