# Setting up the waiting queue by competency

This section will allow you to configure the waiting queue specific to each configured competency. To configure the waiting queue for all operators, please refer to that [section](https://docs-en.dydu.ai/livechat/dydu-livechat/dydu-livechat-setup/waiting-queues/general/setting-up-the-waiting-queue).

## Competencies

To ensure the proper functioning of the Livechat queue, one or more skills are necessary to enable its proper configuration.

1. Access the BMS, then go to **Preferences** > **Livechat Settings** > **Competencies**.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FMpSto3Qfix1XK7HXzs3p%2FCapture%20d%E2%80%99%C3%A9cran%20du%202024-09-09%2016-37-07.png?alt=media&#x26;token=9a47c0c6-9ca4-4467-b34e-3f887a6d479d" alt=""><figcaption></figcaption></figure>

2. Click on the **Add** button in the **Operator Competencies** section.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FgAABkzCWupcmW8Jwn3MS%2FCapture%20d%E2%80%99%C3%A9cran%20du%202024-09-09%2016-38-30.png?alt=media&#x26;token=17610214-0687-4bdb-ae60-b77cb742baae" alt=""><figcaption></figcaption></figure>

3. Enter the name of the competency, then save the changes.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2Fn1XVDOoOLxOaBe22ePSV%2FCapture%20d%E2%80%99%C3%A9cran%20du%202024-09-09%2016-39-12.png?alt=media&#x26;token=ba1d5176-3c6f-43c1-abcd-37dad196c202" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The priority of a competency determines the order in which conversations are assigned when the Livechat is not based on specific competencies but on the overall available operators.

The competency with the highest priority will be called first. If no operators with that competency are available, the competency with the second highest priority will be used, and so on.
{% endhint %}

4. Add the desired **operators** in the **Skills Configuration** section to associate them with one or more specific **skills**. You can also add a **language** so the **waiting queue** can be triggered in multiple **languages**.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FbobJGeUgM7ijkYjAAC3a%2FCapture%20d%E2%80%99%C3%A9cran%20du%202024-09-10%2010-37-14.png?alt=media&#x26;token=ea2257e0-9664-49e2-b71c-a1296c3ec565" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The "Translated" checkbox in operator competencies indicates that a competency is available in multiple languages.

For example, when creating a competency in a specific language space, such as French, it will appear as untranslated in other language spaces until a version in the corresponding language has been created or adapted.
{% endhint %}

Once the competencies are created, it is now necessary to configure the queue.

## Waiting queue

In this section, it will be possible to configure the capabilities of the waiting queues based on the defined competencies.

1. Go to **Preferences** > **Livechat Settings** > **Waiting Queues**.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FgHtSTjr1lTTJ0I9HA6Fo%2Fimage.png?alt=media&#x26;token=d69aa6a7-4bf1-4e3c-a210-05388f07caab" alt=""><figcaption></figcaption></figure>

2. Go to the **Waiting Queue Capacity Configuration** **for a competency** section. There, you can adjust the capacity of the waiting queue for the selected competency.
3. Select the **competency** you want to **modify**, then adjust the **waiting queue capacity** value accordingly. If your **bot** is configured with multiple **languages**, you must also choose the **language** of the relevant **competency**.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FMbUqngrt0V0U94g6JNXe%2Fimage.png?alt=media&#x26;token=e998ce72-e3bd-4d82-a531-59054350a590" alt=""><figcaption></figcaption></figure>

4. Click on **Update**
5. We can now see in the **Queue Capacity by Competency** section that the value has been updated for the modified competency.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FF378jTWaqPqAIJL32XmI%2Fimage.png?alt=media&#x26;token=36c747cf-6544-4dbb-98c2-b6d755ead0f3" alt=""><figcaption></figcaption></figure>

The queue is now set up for the competencies. However, it is essential to configure the operators' capacity to ensure optimal operation.

## Operator capacity

Operators' capacity refers to the number of conversations an operator can handle simultaneously. When a queue is set up on your bot, any excess conversations will be directed to this queue until an operator becomes available to handle them.

For example, if an operator has a capacity of 2, they can handle 2 conversations simultaneously. If a third conversation arises, it will be placed in the queue until an operator becomes available to take it on.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FlnhYQJ2J4WkSVctFU8H0%2FCapture%20d%E2%80%99%C3%A9cran%20du%202024-09-09%2017-00-15.png?alt=media&#x26;token=07996a70-c71e-450c-a35c-1f1643a79c40" alt=""><figcaption></figcaption></figure>
