> ## Documentation Index
> Fetch the complete documentation index at: https://crossword.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Escalation and handoff

> Set when an Agent passes a conversation to another Agent or to a person on your team. The full context goes with it, so the shopper never repeats anything.

Escalation and handoff decide when an Agent passes a conversation on. An Agent hands off to another Agent when the shopper's need moves outside its job, and to a human on your team when no Agent can resolve it. In both cases the conversation passes with its context, so the shopper never repeats themselves.

## Agent-to-Agent handoff

Each Agent lists the situations it hands off in and the Agent it hands off to. When the situation arises, the conversation moves to that Agent with everything said so far and the shopper's [customer memory](https://crossword.ai/docs/agents/customer-memory.md).

Typical reasons to hand off to another Agent:

* **The shopper's goal changes.** A shopper browsing opens a product and has questions about it.
* **The topic moves outside the job.** A shopper on a product page asks about shipping.
* **The problem is solved.** A shopper whose issue is resolved is ready to shop again.

The shopper sees one conversation. The new Agent picks up where the last one stopped, in the same brand voice.

## Human handoff

Some conversations need a person. An Agent brings in a human from your team when it cannot resolve the issue, or when its [fallback behavior](https://crossword.ai/docs/agents/guardrails-and-fallback.md) says to.

A human handoff arrives ready to act on. Before handing off, the Agent collects:

* the shopper's name
* their email
* the order number
* the problem, in the shopper's words

Your team sees the conversation so far and these details together. The shopper does not start again.

While the shopper waits, the widget shows the handoff state, such as waiting for a person or a person has joined. Read [Conversation states](https://crossword.ai/docs/components/widget/overview.md).

## Global and Agent escalation rules

Global escalation rules live in [Global settings](https://crossword.ai/docs/global/overview.md) and apply to every Agent. They set how context passes on every handoff, and what a human handoff must collect. Each Agent's own escalation and handoff list adds its specific routes.

## Example

A gummy supplement store routes conversations between its three Agents and its team like this.

```mermaid theme={null}
flowchart TB
  PD["Product Discovery Agent"]
  QA["Product Q&A Agent"]
  BS["Brand and Support Agent"]
  H["Human on your team<br/><small>arrives with name, email, order number, problem</small>"]
  PD -- "opens a product" --> QA
  PD -- "brand or order question" --> BS
  QA -- "wants a different product" --> PD
  QA -- "order or shipping question" --> BS
  QA -. "detail it does not have" .-> H
  BS -- "ready to shop" --> PD
  BS -- "cannot resolve" --> H
```

| From | To | When |
| - | - | - |
| Product Discovery | Product Q\&A | The shopper opens a product |
| Product Discovery | Brand and Support | The shopper asks a brand or order question |
| Product Q\&A | Product Discovery | The shopper wants a different product |
| Product Q\&A | Brand and Support | The shopper asks an order or shipping question |
| Product Q\&A | Human on your team | The shopper accepts the offer to connect with the team |
| Brand and Support | Human on your team | The Agent cannot resolve the issue |
| Brand and Support | Product Discovery | The shopper is ready to shop |

## Related

> [card] [Customer memory](https://crossword.ai/docs/agents/customer-memory.md)

> [card] [Guardrails and fallback](https://crossword.ai/docs/agents/guardrails-and-fallback.md)

> [card] [Conversation states](https://crossword.ai/docs/components/widget/overview.md)

> [card] [Intent routing](https://crossword.ai/docs/global/intent-routing.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.