# Setup Queue, Workflow, and SLA

## How to setup up Queue, Workflow Auto Assign, and SLA Target

{% embed url="<https://www.loom.com/share/64d8fca3ee0845ce8ca59b242e3df5a7?sid=03449579-d8f7-4653-ad86-3672fcd7b4f2>" %}

### 1. Introduction

This guide provides step-by-step instructions on how to set up a queue, configure workflow automation, and establish Service Level Agreements (SLA) in klink.cloud.

***

### 2. Setting Up a Queue

A queue is a group of team members who handle customer conversations from various channels and regions. Follow these steps to set up a queue:

#### Steps:

1. **Navigate to Queue Settings**
   * Go to **Settings**.
   * Click on **Queue Settings**.

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FsdH8BykAFG2slK87DyJo%2FScreenshot%202025-03-17%20at%2011.36.58.png?alt=media&#x26;token=707e3efe-1d83-4777-b772-047e5fc60fea" alt=""><figcaption></figcaption></figure>

2. **Create a New Queue**

* Click **Create Queue**.
* Enter a **Queue Name** (e.g., Tech Support, Sales Support, Local Support).
* Assign a **Queue Manager** (e.g., Team Lead for the support team).
* Add team members to the queue.

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2F7eKm5FkC55cCYRo2TY8e%2FScreenshot%202025-03-17%20at%2011.10.09.png?alt=media&#x26;token=7a5d4322-be0c-42e0-8d1e-b165883d41b2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2Fv04m1FAHLHXBTmfY6TF6%2FScreenshot%202025-03-17%20at%2011.11.42.png?alt=media&#x26;token=abc751d6-e0be-4be8-9dbe-a51dc11b4513" alt=""><figcaption></figcaption></figure>

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FO6VjqTc6z2prd6HwsTRh%2FScreenshot%202025-03-17%20at%2011.18.07.png?alt=media&#x26;token=136afbe8-da26-45fa-bfc6-4dae2a6d8567" alt=""><figcaption></figcaption></figure>

3. **Set Up Auto Assignment**

* Configure **Automatic Assignment** based on agent availability.
* Set the **maximum number of cases per agent** (e.g., 10 or 15 cases per agent).

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FZgOxrIlqcUPSeBAvYBL0%2FScreenshot%202025-03-17%20at%2011.20.34.png?alt=media&#x26;token=da68b02f-fb33-44d2-9502-6ece14972aae" alt=""><figcaption></figcaption></figure>

4. **Create Queues for Different Purposes**

* Example:
  * **Tech Support Queue** for handling technical inquiries.
  * **Sales Queue** for handling pricing, quotations, and demos.
  * **Localized Queue** (e.g., Thai Support) for specific languages or regions.

***

### 3. Configuring Workflow Automation

Workflow automation routes conversations to the appropriate queue based on predefined rules.

#### Steps:

1. **Go to Workflow Automation**
   * Navigate to **Settings**.
   * Click on **Workflow Automation**.

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FtlUAtOUC4lTKGUvZGGHB%2FScreenshot%202025-03-17%20at%2011.42.07.png?alt=media&#x26;token=72fe7ab4-6092-4f20-8dec-858b85ce1e5c" alt=""><figcaption></figcaption></figure>

2. **Create a New Workflow**

* Click **Create Workflow**.
* Name the workflow (e.g., Tech Support Workflow).
* Set the **Trigger Condition** (e.g., when a customer sends a message).

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FKeiRDnJpjjFGwWZjgCd9%2FScreenshot%202025-03-17%20at%2011.43.30.png?alt=media&#x26;token=aaf3d2ec-38c5-4ba4-b4c3-4daa16f89d02" alt=""><figcaption></figcaption></figure>

3. **Define Workflow Rules**

* Choose conditions based on message type, issue category, or channel.
* Example conditions:
  * If a message is received via **Telegram**, route to the **Tech Support Queue**.
  * If a conversation is about **pricing**, route to the **Sales Queue**.

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FfTxAK55zwm4SBHbeaccH%2FScreenshot%202025-03-17%20at%2011.47.07.png?alt=media&#x26;token=fc9c48c8-20b3-4784-9eb9-8cd3298e58ea" alt=""><figcaption></figcaption></figure>

4. **Assign to a Queue**

* Under **Assign Agent**, select **Queue Assignment**.
* Choose the appropriate queue (e.g., Tech Support Queue).

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FQPYwMSGAdeX5ItOE8O3V%2FScreenshot%202025-03-17%20at%2010.56.41.png?alt=media&#x26;token=5701b076-92b5-4239-8b96-1c3e2ad814b5" alt=""><figcaption></figcaption></figure>

5. **Enable and Save the Workflow**

* Click **Enable** and **Save** the workflow.

Now, all incoming messages matching the criteria will be automatically routed to the designated queue.

***

### 4. Setting Up SLA (Service Level Agreement)

SLAs define response and resolution times for customer inquiries.

#### Steps:

1. **Go to SLA Settings**
   * Navigate to **Settings**.
   * Click on **SLA Setting**.
2.

```
<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2Fsf0eeEA0JWpBEu6Dr5IR%2FScreenshot%202025-03-17%20at%2011.29.55.png?alt=media&#x26;token=e60f279c-9b21-4783-839b-4ebedf6a071d" alt=""><figcaption></figcaption></figure>
```

3. **Create a New SLA**
   * Click **Create SLA**.
   * Name the SLA (e.g., Tech Support SLA).
   * Define **Target Conditions** (e.g., for a specific channel like Telegram).

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FzOKmMLbIKcpJ6nQV3Yyw%2FScreenshot%202025-03-17%20at%2011.54.42.png?alt=media&#x26;token=eae28087-7c87-443f-8f3b-818bcd1457e2" alt=""><figcaption></figcaption></figure>

4. **Set SLA Targets**

* **First Response Time**: Set the maximum time for the first reply (e.g., 5 minutes).
* **Resolution Time**: Define the timeframe for resolving the issue (e.g., 1 hour).

<figure><img src="https://420146782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqwHJh6YA4uvzfFRLnoR%2Fuploads%2FhJHLmleo6nHDYxDaV25R%2FScreenshot%202025-03-17%20at%2012.03.11.png?alt=media&#x26;token=ae25ed17-8d73-4116-ac06-dc6e10852308" alt=""><figcaption></figcaption></figure>

5. **Save and Apply the SLA**

* Click **Save**.
* The SLA will now be enforced for all relevant conversations.

***

### 5. Testing and Monitoring

To test the setup:

1. Send a message from a customer account (e.g., via Telegram).
2. Check if the message is routed to the correct queue.
3. Ensure that an agent is assigned automatically.
4. Verify SLA compliance in the conversation logs.
5. Review the case details (e.g., response time, resolution time).

***

### 6. Conclusion

By following these steps, you can efficiently manage queues, automate workflows, and ensure SLA compliance in klink.cloud. If you need further assistance, reach out to support or sign up for a free trial.
