# Assign Conversation

This action allows the user to redirect the control of the conversation to an agent.

<figure><img src="/files/cKCdBFMyi94tleW0eMvO" alt="" width="485"><figcaption></figcaption></figure>

### Settings

The action uses the following settings:

| Setting            | Description                                                                                                                    | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------- |
| Action             | This mode allows to specify if the agent should take over or if there is a request for an operator to step in the conversation | :no\_entry:                                          |
| Take Over Message  | This mode allows to set the text to show when the agent takes over the conversation                                            | :no\_entry:                                          |
| Pick Mode          | This mode allows to choose between different logics to choose the agent who will take over the conversation                    | :no\_entry:                                          |
| Group              | This mode allows to set the group of agents who are available                                                                  | :no\_entry:                                          |
| Selected Operators | This mode allows to set the specific agent or agents who are available                                                         | :no\_entry:                                          |

### Trigger

On Conversation Handed Over. This action will trigger any child operations once the assigned conversation is handed over to the chatbot.

### Variables

This action produces the following variables after being activated:

| Variable    | Description                                                                  |
| ----------- | ---------------------------------------------------------------------------- |
| chat\_state | It is equal to 'operator\_requested' if the selected mode is 'Request Agent' |

### Availability

Channel specific availability follows the table below:

| Channel          | Availability     |
| ---------------- | ---------------- |
| Facebook         | Fully Available. |
| WhatsApp         | Fully Available. |
| Telegram         | Fully Available. |
| Web              | Fully Available. |
| Alexa            | Fully Available. |
| Google Assistant | Fully Available. |
| Slack            | Fully Available. |
| API              | Fully Available. |

This action can be used only inside interactions and not as child of other actions.


---

# 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://docs.xenioo.com/actions-and-operations/flow/xenioo.bots.actions.base.assignconversationaction.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.
