> For the complete documentation index, see [llms.txt](https://docs.wonderchat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wonderchat.io/setup-guides/human-handover-for-your-chatbots/ai-chatbot-handover-to-human-support-via-email.md). Agents can also search and read this documentation through its [MCP server](https://docs.wonderchat.io/~gitbook/mcp).

# AI Chatbot Handover to Human Support via Email

A Guide on How to Handover AI Chatbot Conversations to Human Support via Email

Your agent won't be able to answer everything. Human handover lets a visitor leave their details and a message for your team. Every handover becomes a ticket in your [Inbox](https://docs.wonderchat.io/setup-guides/inbox-feature.md), where your team can reply. Your team also gets an email alert for each one.

***

## Step 1: Open the Handover tab

1. Go to **Agents** and click **Edit** on your agent's card.
2. In the settings sidebar, open **Handover** (in the **Engagement** group).
3. Turn on **Enable Human Handover**.

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-3dddb8dc1fad711b52ccb0a0fb3211ad5960bdb3%2Fhandover-settings.png?alt=media" alt="The Handover tab with Enable Human Handover, Handover Behavior and Automatic Triggering"><figcaption><p>The Handover tab</p></figcaption></figure>

Once it's on, an email icon appears in the chat window. Visitors click it to open the handover form and leave their details, or to start a workflow you choose (see **Leave a message button** below).

***

## Step 2: Set how handover behaves

These settings are in the **Handover Behavior** section.

| Setting                                                  | What it does                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Leave a message button**                               | What the email icon in the chat header does. **Open the message form** (the default) shows the handover form. **Start workflow: \[name]** starts one of your [workflows](https://docs.wonderchat.io/setup-guides/adding-chatbot-workflows/set-up-chatbot-workflows.md) instead, for example a lead form that sends to your CRM. It runs exactly as if the visitor had asked for it in the conversation. |
| **Button text**                                          | Shown when the button starts a workflow. The icon's label, also sent as the visitor's message when they click it (for example "Contact"). Leave it empty to use "Leave a message". Translate it under **Profile** → **Languages** → your language → **Handover**.                                                                                                                                       |
| **Ask "Did this answer your question?" after answering** | After each answer, the agent asks if it helped. If the visitor picks **No**, the handover form opens. If they pick **Yes**, the agent offers more help or closes the conversation.                                                                                                                                                                                                                      |
| **Two-way email handover**                               | Keeps each handover open as a ticket. The customer's email replies come back onto the ticket, and your team replies from the Inbox.                                                                                                                                                                                                                                                                     |
| **Enable human handover after \[X] messages**            | The email icon only appears once the visitor has sent this many messages.                                                                                                                                                                                                                                                                                                                               |
| **Message for requesting human handover**                | The message that invites the visitor to leave their details.                                                                                                                                                                                                                                                                                                                                            |
| **Message for human support escalation success**         | The message the visitor sees after they submit the form.                                                                                                                                                                                                                                                                                                                                                |
| **Handover emails**                                      | The addresses that get an email alert for each handover. Click **Add Email Address** to add more than one. If you leave this empty, the alert goes to the agent's owner.                                                                                                                                                                                                                                |
| **Send full chat history with handover form**            | Includes the whole conversation in the alert email.                                                                                                                                                                                                                                                                                                                                                     |
| **Acknowledgement email**                                | Moved to the Inbox: **Ticket settings → Follow-ups → Acknowledge new tickets**. One message covers handovers and email tickets; see [Follow-ups](https://docs.wonderchat.io/setup-guides/inbox-feature.md#follow-ups).                                                                                                                                                                                  |

### Handover tickets and email alerts

Every handover lands in the [Inbox](https://docs.wonderchat.io/setup-guides/inbox-feature.md) as a ticket, with the visitor's details and the conversation. The email to your **Handover emails** addresses is an alert, so your team knows a ticket is waiting.

With **Two-way email handover** on, the whole conversation stays on the ticket:

* Your team replies from the Inbox, and the customer gets the reply by email.
* When the customer replies to that email, their reply is added to the same ticket.
* A teammate can also reply straight to the alert email. The reply goes to the customer and is added to the ticket.

With it off, replying to the alert email writes to the customer directly from your own mailbox, and that reply isn't added to the ticket.

***

## Step 3: Trigger handover automatically

The **Automatic Triggering** section opens the handover form for the visitor, without them clicking the email icon.

Under **Triggering conditions**, turn on any of these. The form shows when any one of them is met:

* **When user asks to escalate his request to a human**
* **After user has sent \[X] messages**
* **After chatbot fails to answer \[X] times in a row**

**Delay automatic triggering until handover is enabled** makes automatic triggers wait until the visitor has sent the number of messages set in **Enable human handover after \[X] messages**, and a condition is met. When it's off, the form shows as soon as any condition is met.

### Custom conditions

{% hint style="info" %}
Custom conditions are available on the **Scale** plan and above.
{% endhint %}

Click **Add Trigger** to add your own condition:

* **If user says**: matches when the visitor's message contains your text (not case-sensitive), for example "human support".
* **Custom prompt**: describe the situation and the AI decides when it applies, for example "When the user asks about product X".

***

## Step 4: Add fields to the handover form

{% hint style="info" %}
Custom form fields are available on the **Scale** plan and above.
{% endhint %}

In **Custom Form Fields**, click **Add Field** to collect more from the visitor. Type the question, pick a field type and choose whether it's **Required**. Drag fields to reorder them.

| Field type                | What the visitor sees                                                                                                                      |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **Dropdown**              | A list of options. Each option can route the handover to its own email addresses.                                                          |
| **Short answer**          | A one-line text box.                                                                                                                       |
| **Number**                | A number box.                                                                                                                              |
| **Phone number**          | A phone number box.                                                                                                                        |
| **Email**                 | An email box.                                                                                                                              |
| **Paragraph**             | A larger text box.                                                                                                                         |
| **Confirmation Checkbox** | A checkbox with your own label, for example "I confirm".                                                                                   |
| **File Upload**           | An upload button. You can change its text.                                                                                                 |
| **Time slot booking**     | Bookable time slots. Set the slot length, available times, booking window, blocked dates and **Slot display** (Auto, Buttons or Dropdown). |

For more on time slots, see [Custom lead fields and appointment booking](https://docs.wonderchat.io/setup-guides/collecting-leads-with-your-chatbot/custom-lead-fields-and-appointment-booking.md).

When you're done, click **Save**.

***

## Step 5: Answer handovers in the Inbox

Open **Inbox** from the left sidebar to see and reply to handover tickets. See the [Inbox guide](https://docs.wonderchat.io/setup-guides/inbox-feature.md) for replying, assigning and closing tickets.

To send handover alerts to Slack, Microsoft Teams or a webhook as well, use the **Human handover requested** event in the agent's **Notifications** tab. See [Notification Settings](https://docs.wonderchat.io/setup-guides/setting-up-your-chatbot/how-to-customize-your-notification-settings-for-your-chatbot.md).

***

If you have any more questions, feel free to reach out to us at <mark style="color:purple;">**<support@wonderchat.io>**</mark>
