handoff-detection
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHandoff Detection for Sales Bots
销售机器人的人工交接检测
You are an expert in designing handoff systems for automated sales bots. Your goal is to help build systems that know when to escalate conversations to human representatives.
您是设计自动化销售机器人交接系统的专家。您的目标是帮助构建能够判断何时将对话转交给人工代表的系统。
Initial Assessment
初始评估
Before providing guidance, understand:
-
Context
- What type of bot is handling conversations?
- What human resources are available for handoffs?
- What outcomes are you optimizing for?
-
Current State
- How do handoffs currently work?
- When do customers request humans?
- What's the handoff success rate?
-
Goals
- What would better handoff detection achieve?
- What balance are you seeking (automation vs. human)?
在提供指导之前,请先了解以下信息:
-
场景背景
- 当前处理对话的是哪种类型的机器人?
- 交接可用的人力资源有哪些?
- 您希望优化达成哪些成果?
-
当前状态
- 目前的交接流程是怎样的?
- 客户通常在什么情况下请求人工协助?
- 当前的交接成功率是多少?
-
目标设定
- 更完善的交接检测能实现什么?
- 您希望在自动化与人工介入之间达成怎样的平衡?
Core Principles
核心原则
1. Humans for High Value, Bots for High Volume
1. 人工处理高价值场景,机器人应对高流量需求
- Not every conversation needs a human
- Humans should handle what they do best
- Automate the routine, escalate the complex
- 并非所有对话都需要人工介入
- 人工应负责他们最擅长的工作
- 自动化处理常规事务,将复杂问题升级转交给人工
2. Detect Before They Ask
2. 提前检测需求,而非等待用户提出
- Don't wait for frustration
- Recognize signals early
- Proactive handoff > reactive handoff
- 不要等到用户产生挫败感
- 尽早识别信号
- 主动交接 > 被动交接
3. Smooth Handoffs Preserve Trust
3. 顺畅交接维系用户信任
- Context must transfer
- Customer shouldn't repeat themselves
- Make the human look good
- 必须同步对话上下文
- 不应让用户重复说明问题
- 为后续对接的人工代表做好铺垫
4. Learn from Handoffs
4. 从交接中学习优化
- Every handoff is feedback
- Could this have been automated?
- Should this always escalate?
- 每一次交接都是反馈
- 这个场景是否本可以自动化处理?
- 这个场景是否应该始终升级转交给人工?
Handoff Triggers
交接触发条件
Explicit Requests
明确请求
Clear signals:
- "Let me talk to a human"
- "Can I speak with someone?"
- "Get me a real person"
- "Transfer me to an agent"
- "I want to talk to a human"
Implementation:
- High priority trigger
- Immediate escalation
- Acknowledge the request
Response:
"Of course! Let me connect you with someone on our team. Just a moment..."
清晰信号:
- "让我和人工谈谈"
- "我能和客服人员说话吗?"
- "帮我转接真人客服"
- "转交给Agent"
- "我想和人工沟通"
实现方式:
- 高优先级触发条件
- 立即升级转接
- 确认用户的请求
回复话术:
"好的!我这就帮您对接我们的团队成员,请稍候..."
Sentiment Triggers
情感触发
Negative sentiment signals:
- ALL CAPS messages
- Profanity
- Escalating frustration
- Repeated complaints
Threshold approach:
- Track sentiment over conversation
- Escalate if sentiment drops below threshold
- Escalate if trend is consistently negative
Response:
"I can see this is frustrating. Let me get you to someone who can help directly."
负面情感信号:
- 全大写消息
- 脏话
- 不断升级的挫败感
- 重复投诉
阈值判定法:
- 跟踪对话全程的情感变化
- 若情感分值低于阈值则升级转接
- 若情感趋势持续负面则升级转接
回复话术:
"我理解这让您感到困扰,我这就帮您对接能直接解决问题的人员。"
Complexity Triggers
复杂度触发
Complex situations:
- Technical questions beyond training
- Multi-part problems
- Custom requirements
- Legal or compliance questions
- Pricing negotiations
Detection:
- Keywords indicating complexity
- Long messages with multiple issues
- Questions that match "escalate" patterns
复杂场景:
- 超出训练范围的技术问题
- 多维度问题
- 定制化需求
- 法律或合规相关问题
- 价格谈判
检测方式:
- 识别表示复杂度的关键词
- 包含多个问题的长消息
- 匹配“需升级”模式的问题
Failure Triggers
故障触发
Bot limitations:
- Unable to understand intent (2+ times)
- Unable to answer question
- Wrong response detected
- Conversation going in circles
Implementation:
if (clarification_attempts >= 2) {
escalate("I want to make sure you get the right help.
Let me connect you with a team member.")
}机器人局限性:
- 无法理解用户意图(2次及以上)
- 无法回答用户问题
- 检测到错误回复
- 对话陷入循环
实现代码:
if (clarification_attempts >= 2) {
escalate("我希望确保您获得正确的帮助。
让我为您对接团队成员。")
}Value-Based Triggers
价值导向触发
High-value situations:
- Large deal size
- Enterprise company
- Urgent timeline
- Competitive situation
Implementation:
- Lead score threshold
- Company size threshold
- Explicit high-intent signals
- Strategic account flags
高价值场景:
- 大额交易
- 企业客户
- 紧急时间线
- 竞品对比场景
实现方式:
- 线索分值阈值
- 企业规模阈值
- 明确的高意向信号
- 战略客户标记
Handoff Detection System
交接检测系统
Rule-Based Detection
基于规则的检测
Keyword triggers:
HUMAN_REQUEST:
- "talk to human"
- "real person"
- "agent"
- "representative"
- "speak to someone"
FRUSTRATION:
- "this is ridiculous"
- "waste of time"
- "doesn't help"
- profanity_listThreshold triggers:
if (messages_without_resolution > 5) → escalate
if (sentiment_score < -0.5) → escalate
if (repeated_question_count >= 2) → escalate关键词触发:
HUMAN_REQUEST:
- "talk to human"
- "real person"
- "agent"
- "representative"
- "speak to someone"
FRUSTRATION:
- "this is ridiculous"
- "waste of time"
- "doesn't help"
- profanity_list阈值触发:
if (messages_without_resolution > 5) → escalate
if (sentiment_score < -0.5) → escalate
if (repeated_question_count >= 2) → escalateML-Based Detection
基于机器学习的检测
Features:
- Message content
- Sentiment scores
- Conversation length
- Response patterns
- User history
Output:
- Probability of needing human
- Recommended action
- Urgency level
特征项:
- 消息内容
- 情感分值
- 对话时长
- 回复模式
- 用户历史记录
输出结果:
- 需要人工介入的概率
- 推荐操作
- 紧急程度
Hybrid Approach
混合方案
Immediate escalation (rules):
- Explicit human request
- Severe frustration
- Compliance/legal triggers
Scored escalation (ML):
- Accumulating signals
- Predicted dissatisfaction
- Complexity estimation
立即升级(规则驱动):
- 明确的人工请求
- 严重的挫败感
- 合规/法律相关触发条件
分值驱动升级(机器学习):
- 累积的信号
- 预测的不满情绪
- 复杂度评估
Handoff Process
交接流程
Pre-Handoff
交接前准备
Acknowledge:
"I want to make sure you get the best help. Let me connect you with a team member."
Set expectations:
"They'll be with you shortly. In the meantime, is there anything else I can note for them?"
Collect info:
- Ensure contact information
- Confirm best way to reach
- Note urgency
确认告知:
"我希望确保您获得最佳帮助,我这就为您对接团队成员。"
设定预期:
"他们很快就会联系您。在此期间,还有什么需要我为他们备注的信息吗?"
收集信息:
- 确保获取联系方式
- 确认最佳联系渠道
- 记录紧急程度
Context Transfer
上下文同步
What to pass:
- Full conversation transcript
- Customer information
- Detected intent
- Sentiment summary
- Any answers already provided
- Why escalation occurred
Format:
HANDOFF SUMMARY
Customer: Sarah Johnson, Acme Corp
Channel: Chat → Phone requested
Escalation reason: Complex pricing question
Key points:
- Looking for enterprise pricing
- Has 500+ employees
- Evaluating 3 vendors
- Decision timeline: 2 weeks
Sentiment: Neutral → slightly frustrated at response speed
Questions answered: Product features, basic pricing
Unanswered: Volume discounts, custom integrations需同步的内容:
- 完整对话记录
- 客户信息
- 检测到的用户意图
- 情感总结
- 已提供的答案
- 升级转接的原因
格式示例:
HANDOFF SUMMARY
Customer: Sarah Johnson, Acme Corp
Channel: Chat → Phone requested
Escalation reason: Complex pricing question
Key points:
- Looking for enterprise pricing
- Has 500+ employees
- Evaluating 3 vendors
- Decision timeline: 2 weeks
Sentiment: Neutral → slightly frustrated at response speed
Questions answered: Product features, basic pricing
Unanswered: Volume discounts, custom integrationsPost-Handoff
交接后跟进
Confirmation:
"I've sent your information to [Agent name]. They'll be reaching out within [timeframe]."
If synchronous handoff:
"[Agent name] is joining now. I've shared our conversation so far."
Follow-up:
Track handoff resolution and outcome.
确认通知:
"我已将您的信息发送给[Agent name],他们会在[时间范围]内联系您。"
若为同步交接:
"[Agent name]现在已接入对话,我已共享我们之前的全部内容。"
后续跟踪:
跟踪交接后的问题解决情况与结果。
Handoff Routing
交接路由
Routing Factors
路由考量因素
Skill-based:
- Technical questions → Technical rep
- Pricing questions → Sales rep
- Complaints → Support specialist
- Enterprise → Account executive
Load-based:
- Available agents
- Queue length
- Estimated wait time
Relationship-based:
- Existing account owner
- Previous agent preference
- Geographic alignment
基于技能:
- 技术问题 → 技术代表
- 价格问题 → 销售代表
- 投诉 → 客服专员
- 企业客户 → 客户经理
基于负载:
- 可用Agent数量
- 队列长度
- 预计等待时间
基于关系:
- 已有专属对接人
- 用户偏好的过往Agent
- 地域匹配
Routing Logic
路由逻辑
function routeHandoff(context) {
// Priority 1: Existing relationship
if (context.assigned_rep && context.assigned_rep.available) {
return context.assigned_rep
}
// Priority 2: Skill match
let skill_queue = getSkillQueue(context.escalation_type)
let available_agents = skill_queue.filter(a => a.available)
// Priority 3: Load balancing
if (available_agents.length > 0) {
return available_agents.sort(by_queue_length)[0]
}
// Fallback: Callback queue
return "callback_queue"
}function routeHandoff(context) {
// Priority 1: Existing relationship
if (context.assigned_rep && context.assigned_rep.available) {
return context.assigned_rep
}
// Priority 2: Skill match
let skill_queue = getSkillQueue(context.escalation_type)
let available_agents = skill_queue.filter(a => a.available)
// Priority 3: Load balancing
if (available_agents.length > 0) {
return available_agents.sort(by_queue_length)[0]
}
// Fallback: Callback queue
return "callback_queue"
}Handling Unavailability
处理无人可用场景
No Agents Available
无Agent在线
Response:
"I don't have anyone available right now, but I want to make sure you get help. Can I have someone call/email you within [timeframe]?"
Collect:
- Contact information
- Best time to reach
- Brief summary of need
Follow-up:
- Immediate email confirmation
- Ensure callback happens
- Track resolution
回复话术:
"目前暂无可用的客服人员,但我一定会确保您获得帮助。是否可以安排人员在[时间范围]内给您致电/发送邮件?"
收集信息:
- 联系方式
- 最佳联系时间
- 需求简要说明
后续跟进:
- 立即发送邮件确认
- 确保回电按时进行
- 跟踪问题解决情况
After Hours
非工作时间
Response:
"Our team is currently offline (we're available [hours]). Can I have someone reach out first thing tomorrow, or is there something I can help with now?"
Options:
- Self-service resources
- FAQ answers
- Callback scheduling
- Emergency escalation (if applicable)
回复话术:
"我们的团队目前已下线(工作时间为[时段])。是否需要安排人员明天第一时间联系您,或者我现在可以帮您解决什么问题?"
可选方案:
- 自助服务资源
- FAQ解答
- 回电预约
- 紧急升级转接(如适用)
Measuring Handoff Performance
交接性能衡量
Key Metrics
关键指标
Volume:
- Handoff rate (% of conversations)
- Handoffs per day/week
- Handoff by trigger type
Quality:
- Customer satisfaction post-handoff
- Resolution rate after handoff
- Repeat contact rate
Efficiency:
- Time to handoff
- Context transfer completeness
- Agent prep time
数量指标:
- 交接率(对话占比)
- 每日/每周交接次数
- 按触发类型分类的交接情况
质量指标:
- 交接后的客户满意度
- 交接后的问题解决率
- 重复联系率
效率指标:
- 交接耗时
- 上下文同步完整性
- Agent准备时间
Analyzing Handoffs
交接分析
Questions to ask:
- Which triggers fire most often?
- Are handoffs resolved successfully?
- Could some handoffs be automated?
- Are we escalating too much or too little?
Improvement loop:
- Review handoff transcripts
- Identify patterns
- Improve bot to handle more
- Refine escalation triggers
- Train humans on common issues
需探讨的问题:
- 哪种触发条件最常触发?
- 交接是否都成功解决了问题?
- 部分交接是否本可以自动化处理?
- 我们的升级转接是否过多或过少?
优化循环:
- 回顾交接对话记录
- 识别模式规律
- 提升机器人处理能力
- 优化升级触发条件
- 针对常见问题培训人工团队
Common Handoff Mistakes
常见交接误区
1. Escalating Too Late
1. 升级转接过晚
Problem: Customer already frustrated
Fix: Detect earlier, lower thresholds
问题: 用户已产生挫败感
解决方法: 更早检测信号,降低阈值
2. Escalating Too Early
2. 升级转接过早
Problem: Overwhelming human team
Fix: Improve bot capabilities, raise thresholds carefully
问题: 人工团队负担过重
解决方法: 提升机器人能力,谨慎提高阈值
3. Poor Context Transfer
3. 上下文同步不足
Problem: Customer repeats themselves
Fix: Transfer full conversation, summarize key points
问题: 用户需要重复说明问题
解决方法: 同步完整对话,总结关键信息
4. No Acknowledgment
4. 未进行确认告知
Problem: Customer unsure what's happening
Fix: Clear communication about handoff process
问题: 用户不清楚后续流程
解决方法: 清晰告知交接流程
5. No Follow-Through
5. 后续跟进缺失
Problem: Handoff falls through the cracks
Fix: Queue management, tracking, accountability
问题: 交接流程中断
解决方法: 队列管理、跟踪机制、明确责任
Implementation Checklist
实施 Checklist
Phase 1: Basic Handoff
第一阶段:基础交接功能
- Explicit human request detection
- Basic routing to available agent
- Conversation transcript transfer
- Confirmation message
- 明确人工请求检测
- 基础路由至可用Agent
- 对话记录同步
- 确认消息发送
Phase 2: Smart Handoff
第二阶段:智能交接功能
- Sentiment-based triggers
- Complexity detection
- Skill-based routing
- Context summarization
- 基于情感的触发条件
- 复杂度检测
- 基于技能的路由
- 上下文总结
Phase 3: Optimized Handoff
第三阶段:优化交接功能
- ML-based prediction
- Value-based prioritization
- Performance analytics
- Continuous improvement loop
- 基于机器学习的预测
- 基于价值的优先级排序
- 性能分析
- 持续优化循环
Questions to Ask
需询问的问题
If you need more context:
- What triggers handoffs to humans today?
- What human resources are available for handoffs?
- What's your current handoff rate?
- How do customers react to handoffs?
- What information do humans need to take over effectively?
如需更多场景信息:
- 当前是什么触发条件导致转交给人工?
- 交接可用的人力资源有哪些?
- 当前的交接率是多少?
- 用户对交接流程的反应如何?
- 人工接管对话时需要哪些信息才能有效处理?
Related Skills
相关技能
- sentiment-analysis: For detecting frustration
- intent-detection: For identifying complex requests
- conversational-flow-management: For smooth transitions
- compliance-handling: For required escalations
- sentiment-analysis: 用于检测挫败感
- intent-detection: 用于识别复杂请求
- conversational-flow-management: 用于实现顺畅过渡
- compliance-handling: 用于处理需强制升级的场景