Escalation
How and when the bot automatically transfers a conversation to a human agent.
Escalation
Escalation is the process by which the bot transfers a conversation to a human agent. Trochai is designed so the bot handles routine queries while recognizing when a client needs personalized attention.
When escalation triggers
The bot escalates a conversation to a human agent in the following cases:
1. Explicit client request
When the client directly asks to speak with a person:
- "I want to talk to someone"
- "The bot isn't helping"
- "I need to speak with an agent"
- "Transfer me to a real person"
The bot classifies these messages with the "escalate" intent and transfers immediately.
2. Low classification confidence
When the bot analyzes a message and is not confident about what the client wants (confidence below 70%), it prefers not to risk giving an incorrect response and escalates automatically. This typically happens with:
- Ambiguous or very short messages
- Topics that don't fit any of the 8 intents
- Messages in unsupported languages
- Confusing or contradictory content
3. Repeated searches with no results
If the client searches for properties and the bot finds no matching results 3 consecutive times, it escalates the conversation. This indicates that the available inventory doesn't satisfy what the client is looking for, and an agent can offer alternatives or personalized solutions.
4. Visit scheduling without an agent
When the client wants to schedule a visit but:
- The conversation has no assigned agent
- The assigned agent has no available time slots in the next 7 days
In these cases, the bot escalates with a "high-intent lead" note so it gets priority.
5. AI message limit exhausted
When the organization has consumed all their monthly AI messages (and has no additional packs), the bot:
- Sends a message to the client indicating that an agent will attend to them shortly
- Escalates the conversation automatically
- Includes usage details in the escalation reason
What happens during escalation
When the bot decides to escalate, it executes the following steps automatically:
Message to the client
The bot sends a handoff message to the client:
"I'll connect you with an agent who can help you further. One moment please."
This message is sent in the language configured for the bot (Spanish or English).
Bot deactivation
The bot is deactivated only for that conversation. This means:
- The bot continues working for all other conversations
- The bot will not respond to more messages in this specific conversation
- The global bot configuration doesn't change
Conversation tagging
The conversation is tagged with "needs_attention" and metadata is recorded:
human_needed: true-- indicates human attention is neededescalation_reason-- the reason for escalation (e.g., "Low confidence", "No matching properties after multiple searches", etc.)escalated_at-- the date and time of escalation
System message
A system message visible in the conversation is inserted with the escalation reason. This helps the agent understand the context before responding.
AI summary
A conversation summary is automatically generated using artificial intelligence. This summary appears as a special internal note with a violet background and "AI Summary" badge, extracting key information: property type sought, location, budget, requirements, and the contact's interest level.
Automatic assignment
If the conversation doesn't have an assigned agent, Trochai attempts to assign one automatically using the assignment engine. If it already has an assigned agent, the agent is notified.
See Assignments for more information about how automatic assignment works.
How to identify escalated conversations
Escalated conversations are easy to spot in the inbox:
- They have the "needs_attention" tag visible in the conversation list
- The history shows a system message with the escalation reason
- The bot status appears as deactivated for that conversation
Re-enabling the bot after escalation
Once the human agent has resolved the client's situation, they can re-enable the bot for that conversation:
- Open the conversation in the inbox
- In the conversation details panel, toggle the bot switch on
- The bot will start responding to the client's messages again in that conversation
Re-enabling the bot is useful when the agent resolved the specific issue and wants the bot to continue handling routine queries from the same client.
Escalation records
Each escalation is recorded in the conversation metadata. This allows:
- Viewing history: Know how many times a conversation has been escalated and why
- Identifying patterns: If many conversations escalate for the same reason, it may indicate you need to add more properties, complete the organization context, or adjust inventory
- Measuring bot effectiveness: The percentage of conversations that don't need escalation reflects bot effectiveness
Best practices
To reduce unnecessary escalations
- Complete the organization context in Settings > Bot with frequently asked questions and your agency's policies
- Keep your inventory updated with active properties, correct prices, and complete locations
- Add amenities to your properties so semantic search is more accurate
- Create projects if you have real estate developments so the bot can mention them
To handle escalations quickly
- Review the escalation reason in the system message before responding
- Filter by the "needs_attention" tag in the inbox to see all conversations that need attention
- Assign agents to unassigned conversations as soon as possible
- Re-enable the bot when the situation is resolved to free up the agent
If you see many escalations due to "low confidence," check if your clients are asking questions the bot doesn't cover. You may need to add more information in the organization context.
Next steps
- Bot intents -- Understand the intents that lead to escalation
- Bot configuration -- Adjust the bot to reduce escalations
- Assignments -- How automatic agent assignment works