Skip to main content
Skip to main content
Raya - Customer Service

Escalation Policy

Configure when and how Raya hands conversations to human teammates using prompt-based escalation policies and pre-built templates.

5 min readUpdated 2026-02-28

What Is the Escalation Policy?

The Escalation Policy tells Raya when to hand a conversation to a human teammate. Instead of rigid topic-matching rules, you write a natural language prompt that describes your escalation criteria — or choose from pre-built templates. Raya follows these instructions across all channels (chat, email, WhatsApp, social). Each channel (Chat, Email, Phone) has its own separate escalation policy, so you can customize the behavior per channel.

How It Works

Raya evaluates every incoming message against your escalation policy prompt. Here is the flow:

  1. 1

    Analyze the conversation

    Raya reads the customer's message in the context of the full conversation — she considers the topic, sentiment, and intent using natural language understanding.

  2. 2

    Evaluate against your policy

    Raya checks whether the conversation matches the criteria described in your escalation policy prompt. For example, if your policy says "escalate billing disputes over $500," Raya identifies when that situation arises.

  3. 3

    Escalate when matched

    When Raya determines a conversation should be escalated, she creates a support ticket, forwards the conversation to the designated team, and informs the customer. The ticket includes the full conversation history and Raya's assessment.

Pre-Built Templates

Instead of writing your escalation policy from scratch, choose from pre-built templates. Each template covers a common support scenario and includes priority levels, trigger conditions, and customer communication guidelines. You can use a template as-is or customize it to match your workflow.

TemplateCategoryBest For
General SupportSupportDefault escalation for questions Raya cannot answer
Technical / Product IssuesTechnicalBug reports, outages, platform errors
Billing & RefundsFinancePayment disputes, refund requests, invoice questions
VIP / Enterprise SupportVIPHigh-value accounts requiring priority handling
Complaints & Escalation RequestsComplaintsCustomer complaints, requests to speak to a manager
Privacy & SecurityComplianceData deletion requests, account access reports, GDPR

Writing a Custom Policy

You can write your own escalation policy in plain language. Describe the situations where Raya should escalate, the priority levels to assign, and how she should communicate with the customer. Here is what a good policy includes:\n\n- Trigger conditions: What situations should cause an escalation (e.g., "customer has been waiting more than 48 hours," "legal threat mentioned")\n- Priority levels: How to categorize urgency (P0 for critical, P1 for high, P2 for standard)\n- Customer communication: What Raya should tell the customer when escalating\n- Ticket details: What information to include in the escalation ticket (conversation context, customer identifiers)

Per-Channel Configuration

Each channel has its own escalation policy. Navigate to your teammate's settings and select the channel (Chat, Email, or Phone) to configure its escalation policy separately. This lets you apply different escalation criteria for different channels — for example, stricter escalation for phone calls and more flexible rules for chat.

Help Desk Ticket Sync

When Raya escalates, the ticket automatically syncs to your connected help desk (Freshdesk, Zendesk, or Intercom). Priority levels from the escalation policy map to your help desk's priority system. For setup instructions, see the Help Desk Integrations article.

Frequently Asked Questions

Can I use a template and customize it?
Yes. Select a template to pre-fill the policy prompt, then edit it to match your specific needs. You can add, remove, or modify any part of the template.
What happens if no escalation criteria are met?
Raya handles the conversation herself using the knowledge base and her instructions. She only escalates when the conversation matches the criteria in your policy.
Can Raya escalate a conversation to Adam for sales follow-up?
Yes. Raya supports auto-handoff to Adam. When she detects a sales opportunity (purchase intent, pricing questions, upgrade interest), she can route the conversation to Adam for sales follow-up. Include this in your escalation policy prompt.

Related Articles

Ready to try Raya?

Start free — no credit card required.

Explore Raya

Still need help?

Our team is here to help you get the most out of Teammates.ai.

Contact our team
Teammates.ai: Escalation Policy | Help Center