# Assign Agent to Customer's Chat

We'll illustrate how to streamline the process of assigning an agent to manage customer inquiries without manual intervention. With the "<mark style="color:green;">**Assign Agent**</mark>" action feature in DoubleTick Bot, you can effortlessly configure automatic agent assignment triggered by customer actions such as clicking on designated buttons or typing predefined keywords. Let's dive in 👇

### **The Assign Agent action consists of three components**:

* **Manual Agent Selection**: You can choose a specific agent from the dropdown list by clicking the search button. This allows you to assign particular chats to a specific agent. Simply select the agent's name whom you wish to assign the chats to.

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FT406WgvIllIwFzd3m2j1%2FUntitled%20design%20(71).gif?alt=media&#x26;token=22ec55c6-4082-4dcd-b96a-3eb9a16fc34e" alt=""><figcaption></figcaption></figure>

* **Random Agent Selection**: This option enables the system to randomly assign chats to available agents. It distributes the workload evenly among team members.

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FluVBIPgrgJihlgFxLMmL%2FUntitled%20design%20(73).gif?alt=media&#x26;token=ed6b1eef-9257-4b47-bbe7-a42c054aed90" alt=""><figcaption></figcaption></figure>

* **Re-assign if already assigned Checkbox**: By checking this box, you allow the system to re-assign chats even if they are already assigned to an agent.

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2Fecx8Kxi0vX1q44IzhCQQ%2FUntitled%20design%20(72).gif?alt=media&#x26;token=bd79c918-408a-48ab-af7e-dacb7468e0b7" alt=""><figcaption></figcaption></figure>

### **Example Scenario:**

* **Customer Query:** A customer clicks on the "**Support**" button in the chat interface, indicating a need for assistance.
* **Automatic Assignment:** The chatbot triggers the "**Assign Agent**" action, randomly assigning the inquiry to an available agent or directing it to a designated expert based on predefined criteria.
* **Agent Response:** The assigned agent promptly engages with the customer, addressing their query and providing timely assistance, thus ensuring a positive customer experience.

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FMTUFWLOXKRDejuvzTG1o%2FUntitled%20design%20(75).gif?alt=media&#x26;token=a679dc54-6eeb-45d2-b47d-6140ecc4695b" alt=""><figcaption></figcaption></figure>
