> For the complete documentation index, see [llms.txt](https://help.zaapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.zaapi.com/th/automations/basic-automations/assign-chats-to-agents.md).

# มอบหมายแชทให้เจ้าหน้าที่

### ภาพรวม

สามารถตั้งค่าการมอบหมายเอเจนต์อัตโนมัติใน Zaapi เพื่อกระจายภาระงานของทีมเอเจนต์ทั้งหมดอย่างเท่าเทียม เมื่อได้รับแชทจากลูกค้าใหม่ ระบบอัตโนมัติจะมอบหมายแชทนั้นให้สมาชิกทีมตามตรรกะแบบวนลำดับ

สามารถใช้ระบบอัตโนมัตินี้เพื่อส่งต่อข้อความจากลูกค้าจากช่องทางที่กำหนดไปยังสมาชิกทีมที่รับผิดชอบ หรือจะตั้งค่า Automation เดียวสำหรับทั้งทีม เพื่อให้แต่ละคนโฟกัสเฉพาะอินบ็อกซ์ของตนเองก็ได้

ตรรกะการมอบหมายอัตโนมัติจะคำนึงถึงช่วงเวลาทำงานของแอดมินด้วย ดังนั้นแชทใหม่จะไม่ถูกมอบหมายให้แอดมินในช่วงที่อยู่นอกเวลาทำงาน

**ตรรกะแบบ round robin คืออะไร?**

ตรรกะแบบ round robin เป็นวิธีการกระจายแชทให้สมาชิกทีมอย่างเท่าเทียม โดยใช้การมอบหมายแบบเรียงลำดับ เช่น A, B, C, A, B, C, A, B, C และต่อเนื่องไปเรื่อย ๆ

***

### วิธีตั้งค่าการมอบหมายเอเจนต์อัตโนมัติ

1. ไปที่ส่วน "Automations" บนเว็บแอป
2. คลิกเพื่อสร้าง Automation ใหม่
3. เลือกการมอบหมายเอเจนต์อัตโนมัติ
4. เลือกช่องทางที่ต้องการใช้มอบหมายแชทใหม่ (ผู้ใช้งานส่วนใหญ่มักเลือกทุกช่องทางในส่วนนี้)
5. เลือกสมาชิกทีมรายบุคคลที่ต้องการรวมไว้ในการมอบหมายอัตโนมัติ หรือเลือกทีม ดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีสร้างทีมได้ [ที่นี่](/th/team-management/teams.md).
6. ตั้งชื่อ Automation
7. คลิกสร้าง Automation เพื่อเปิดใช้งาน

***

### ข้อจำกัดของการมอบหมายเอเจนต์อัตโนมัติ

* สามารถตั้งค่า Automation ได้เพียงหนึ่งรายการต่อหนึ่งช่องทาง
* จะไม่มีการมอบหมายแชท หากได้รับข้อความใหม่จากลูกค้านอกช่วงเวลาทำงานของเอเจนต์ทั้งหมดที่อยู่ใน Automation นี้


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.zaapi.com/th/automations/basic-automations/assign-chats-to-agents.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
