Escalations
Even the best AI can’t solve every customer issue. Escalations ensure customers get human help when needed, seamlessly transferring conversations from AI to your support team. Proper escalation configuration is critical for maintaining customer trust and satisfaction when AI reaches its limits.Why Escalations Matter
Escalations serve as your safety net, ensuring:- Customer satisfaction - Users don’t get stuck in frustrating AI loops
- Issue resolution - Complex or sensitive matters reach qualified humans
- Trust building - Showing customers there’s always a human available builds confidence
- Continuous improvement - Escalated conversations reveal where AI needs enhancement
- Graceful degradation - AI admits limits rather than providing incorrect information
Types of Escalations
botBrains offers two escalation mechanisms with different user experiences:Offer Handoff
User-controlled escalation where the AI drafts an email for the user to review and send. How it works:- AI determines escalation is appropriate
- AI composes email with subject and body
- User reviews the draft
- User can edit the content
- User approves and sends, or cancels
- General support questions AI can’t answer
- Non-urgent escalations
- When user should control the handoff
- Situations where user may want to add context
Escalate to Human
Automatic escalation that transfers the conversation immediately without user approval. How it works:- AI determines immediate escalation is needed
- Conversation is marked as “escalated”
- Support team is notified
- User is informed escalation has occurred
- High-priority issues requiring immediate attention
- Compliance or security concerns
- Situations where AI should not continue interacting
- Premium customer tier automatic routing
Configuring Email Handoffs
Email handoffs require configuration to function properly.Setting Up Support Email
Navigate to Settings → Handoffs to configure: Project Name- Displayed to customers during handoff
- Included in handoff email subject
- Should be clear and recognizable
- Email address where handoff messages are sent
- Must be monitored regularly
- Can be individual email or team inbox
How Email Handoffs Work
When a user approves a handoff:- Email is sent to configured support_email
-
Email contains:
- Subject line (AI-generated or user-edited)
- Customer’s question/issue
- Conversation context
- User’s email address
- Link to conversation (if integrated)
- User receives confirmation that handoff was sent
- Conversation is marked with “escalated” status
Handoff Email Format
Handoff emails include: Subject:Customers can edit the handoff email before sending, allowing them to add additional context or clarify their issue.
Enabling Escalation Tools
Configure escalation tools in your AI’s behavior settings.Step-by-Step Setup
1. Navigate to Behavior Go to Behavior → Guidance in your project 2. Create or Edit Guidance Choose guidance rules where escalation applies 3. Add Tool Instructions Reference escalation tools in instructions:- Offer Handoff for user-controlled escalation
- Escalate to Human for automatic escalation
Tool Configuration Examples
Customer Support AssistantWhen to Escalate
Teach your AI the right escalation triggers.Always Escalate For
Out of Scope- Legal advice
- Medical recommendations
- Financial guidance
- Situations requiring professional expertise
- Suspected account compromise
- Data breach reports
- Password reset issues (after reasonable attempts)
- Unauthorized access concerns
- Enterprise customer issues
- Large order problems
- Revenue-impacting bugs
- Contract negotiations
- User expresses strong frustration
- Repeated failed attempts to resolve
- User explicitly requests human help
- Complaints about service quality
- Refund requests (depending on policy)
- Terms of service questions
- Data deletion requests (GDPR, CCPA)
- Accessibility accommodations
Don’t Escalate For
Simple Questions- Information available in knowledge base
- Common how-to questions
- Standard product features
- User hasn’t tried suggested solution yet
- AI has relevant knowledge to share
- Issue can be resolved with existing tools
- User preference without attempting AI assistance
- “I want to talk to a human” as first message (try helping first)
Gray Areas - Use Judgment
Configure specific guidance for: Billing QuestionsIntegration-Specific Escalations
Escalations work differently depending on your deployment channel.Zendesk Integration
When integrated with Zendesk: Private Mode (Agent Assist)- Escalations alert the agent handling the ticket
- Agent can choose to take over or continue with AI assist
- Escalation appears as internal note
- Escalation creates internal note for agents
- Ticket status can be updated
- Triggers can route to specific teams
Salesforce Integration
When integrated with Salesforce: Escalations:- Update Case status to “Escalated”
- Assign Case to queue or user
- Add note to Case history
- Trigger Salesforce workflow rules
Website Widget
For website deployments: Email Handoff Flow:- Widget prompts for user email (if not provided)
- User reviews and approves handoff
- Email sent to support_email
- User sees confirmation message
Slack Integration
For Slack deployments: Escalations:- Message posted to designated escalation channel
- Thread context included
- Support team can respond in thread
- Original user notified
Optimizing Escalation Experience
Writing Effective Handoff Messages
When AI generates handoff emails, clarity matters: Good Handoff:Guidance for Better Handoffs
Instruct your AI to create helpful handoff messages:Setting Escalation Expectations
Prepare users for what happens next:Monitoring and Improving Escalations
Track escalation patterns to improve your AI.Key Metrics
Escalation Rate- Percentage of conversations that escalate
- Target: 5-15% for most use cases
- Too high: AI needs better knowledge or guidance
- Too low: May indicate users giving up instead of escalating
- How many messages before escalation
- Very quick escalations suggest AI should escalate earlier
- Long conversations before escalation suggest persistent issues
- Which topics escalate most frequently
- Reveals knowledge gaps or complex scenarios
- Guides knowledge base improvements
- Were escalated issues resolved?
- Did escalation lead to satisfaction?
- Validates escalation was appropriate
Analyzing Escalations
Navigate to Analyze → Conversations and filter by: Status: Escalated- Review all escalated conversations
- Look for patterns in questions
- Identify unnecessary escalations
- See when tools were invoked
- Analyze AI’s reasoning for escalation
- Verify appropriateness
Improving Based on Escalations
Pattern: Same question always escalates- Solution: Add knowledge snippet for this question
- Example: If “How do I export my data?” always escalates, create detailed export guide
- Solution: Update guidance to try harder before escalating
- Example: “Attempt 2-3 troubleshooting steps before offering handoff”
- Solution: Add explicit escalation triggers to guidance
- Example: “If user mentions ‘billing dispute’, immediately offer handoff”
- Solution: Add knowledge about these topics or make AI decline gracefully
- Example: “For medical questions, politely explain we cannot provide medical advice and suggest consulting healthcare professional”
Best Practices
For All Escalations
Be Proactive
Offer escalation before users get frustrated. If AI attempts 2-3 solutions without success, escalate rather than continuing indefinitely.
Explain Why
Always tell users why escalation is happening: “This requires specific account access that I don’t have” or “This is a billing matter best handled by our finance team.”
Set Expectations
Inform users about response times, who will contact them, and what information they’ll need to provide.
Preserve Context
Ensure handoff messages include conversation history so support teams don’t ask users to repeat themselves.
Follow Up
If possible, update users when their escalation has been received and is being processed.
For Email Handoffs Specifically
- Monitor support_email inbox regularly
- Set up email rules to route handoffs appropriately
- Track response times to handoff emails
- Include handoff emails in your support SLAs
- Consider using shared inbox tools for team visibility
For Enterprise Deployments
- Create VIP escalation paths for high-value customers
- Use
escalate_to_humanfor enterprise tier - Route enterprise escalations to dedicated support staff
- Implement faster SLAs for enterprise handoffs
- Track enterprise escalation metrics separately
Troubleshooting
Handoff Emails Not Received
Check:- Support email address is correct in Settings → Handoffs
- Email isn’t caught by spam filters
- Email server allows emails from botBrains domain
- Test with a personal email to verify delivery
AI Escalates Too Often
Solutions:- Review guidance instructions - may be too cautious
- Add more knowledge sources to reduce gaps
- Update tool descriptions to clarify when to use
- Check audience targeting - wrong guidance may be active
AI Never Escalates
Solutions:- Verify escalation tools are enabled in Behavior → Tools
- Check guidance has tools in allowed_tools list
- Add explicit escalation examples to instructions
- Test with questions that should trigger escalation
Users Decline Handoffs
Investigate:- Are users frustrated with AI before handoff offered?
- Is handoff offer appearing too early?
- Are users uncertain about response times?
- Review conversation flow leading to handoff offer
Next Steps
Now that you understand escalations:- Deploy Your AI - Make your configured AI available to users
- Monitor Conversations - Track escalation patterns
- Review Metrics - Measure escalation rates and impact
- Improve Answers - Reduce unnecessary escalations