<!--
  Translated by the docs agent from content-src/es/guides/derivacion-agentes/02-configurar-destinos-permitidos-y-reglas.md
  (source_hash 949874afc0d8). If that Spanish source_hash changes, re-check this translation.
-->

Go into **AI agents**, choose the assistant you want to be able to hand off (the **source**) and scroll
down to the bottom of its record, to the **"Handoff"** section.

![The Handoff section of an agent's detail page, with the Save button, Allowed destinations showing the assistant can't hand off conversations yet, and other agents' checkboxes unchecked](/captures/derivacion-vacio.png)

## 2.1 Allowed destinations

Check the box for every assistant this agent can pass conversations to. A paused assistant can also be
checked as a destination — it shows up with the "Paused" label so you're aware.

## 2.2 Handoff rules (force it)

A rule makes the handoff happen **automatically**, without the assistant having to decide it. Tap **"Add
rule"** and fill in at least one of these criteria:

- **Keywords**: type a word and press Enter (or the "Add" button) to keep adding more.
- **Unresolved turns (threshold)**: if the conversation has gone more than a certain number of turns
  without progress.
- **When explicitly requested**: the customer directly asks to talk to that area.

Also choose the **mode** — "keeps the conversation" (the destination handles it from then on) or "consults
and returns" (the destination resolves its part and the conversation returns on its own to the source) —
and the **destination**, which can only be one of the ones checked in "Allowed destinations".

## 2.3 Saving

Tap **"Save"**, at the top right of the section. The change is active instantly — nothing needs to be
restarted.

## 2.4 Handing off to the human team on its own initiative

At the bottom of the section there's a toggle: **"Can pass the conversation to the human team on its own
initiative"**. It comes **off by default**. Turn it on if you want the assistant to be able to ask someone
on your team for help without an escalation rule forcing it — for example, facing a sensitive situation it
recognizes on the fly. This is different from the usual human-escalation rules (Manual 23): here it's the
assistant itself deciding, not an automatic condition.

![The Handoff section with the "Support Assistant" box checked under Allowed destinations, next to the unchecked "Lead Capture Paused", and the Add rule button now enabled below](/captures/derivacion-destinos-permitidos.png)

![The Handoff section with the green "Changes saved" notice, the Support Assistant destination checked and Rule 1 with the after-sales and warranty keywords already saved](/captures/derivacion-guardado-confirmacion.png)

![Rule 1 with the "after-sales" and "warranty" keywords, no Unresolved-turns threshold, Mode "Stays with the conversation", Destination "Support Assistant" and the "When explicitly requested" toggle off](/captures/derivacion-regla-palabras-clave.png)