# Construyendo un bot con chat en vivo

Pero a veces es necesario ofrecer a los usuarios asistencia humana dependiendo de la situación.

Estos son los pasos para agregar un chat en vivo a tu chatbot:

### Paso 1: Crea tu chatbot <a href="#step-1-creating-your-chatbot" id="step-1-creating-your-chatbot"></a>

Vaya a Bot Builder -> Crear un bot -> Inbound -> Web y cree su flujo de chatbot.

### Paso 2: Agregar un bloque de acción para hablar con humanos <a href="#step-2-add-a-talk-to-human-action-block" id="step-2-add-a-talk-to-human-action-block"></a>

Ahora, agregue el bloque de acción “Hablar con humano” en el punto del flujo del chatbot donde desea transferir el chat a un agente humano.

{% hint style="info" %}
Disponible en el plan **PREMIUM** y superiores.
{% endhint %}

### Paso 3: Configura tus reglas de asignación <a href="#step-3-configure-your-assignment-rules" id="step-3-configure-your-assignment-rules"></a>

En el bloque de acción “Hablar con humano”, agregue las reglas de asignación para que el chat se asigne a sus agentes.

Obtenga más información sobre las reglas de asignación aquí 👇

{% content-ref url="../creador-de-bots/bloques-de-accion/habla-con-humanos" %}
[habla-con-humanos](https://ayuda.topleads.co/topbots/creador-de-bots/bloques-de-accion/habla-con-humanos)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ayuda.topleads.co/topbots/chat-en-vivo/construyendo-un-bot-con-chat-en-vivo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
