> For the complete documentation index, see [llms.txt](https://docs.antbuddy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antbuddy.com/tai-lieu-antbuddy-huong-dan-su-dung-antbuddy-docs-user-guide/quan-tri-khach-hang-antcrm-antcrm-customer-management/chat-da-kenh-conversation/thiet-lap-khac/nhan-chat/loc-nhan-or-and.md).

# Lọc nhãn OR /AND

Hướng dẫn thêm thiết lập chọn chế độ thẻ lọc OR và AND

## 1. Mục đích:&#x20;

Giúp người dùng lọc các đoạn Chat dựa trên thẻ đã chọn, bằng cách:

* Match All Tags (AND): Chỉ hiển thị các chat chứa tất cả các thẻ đã chọn.
* Match Any Tag (OR): Hiển thị các chat chứa ít nhất một trong các thẻ đã chọn.

Tính năng này hỗ trợ tìm kiếm chat theo Nhãn chính xác hoặc linh hoạt tùy theo nhu cầu của người dùng

## 2. Cách sử dụng:&#x20;

### 2.1. Lọc theo điều kiện AND

B1: Vào setting&#x20;

B2: Chọn Thiết lập chat đa kênh

B3: Chọn thiết lập khác

B4: Mở nhãn chat và chọn chế độ lọc đồng thời nhiều thẻ

B5: Chọn chế độ AND

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe3jAHLE_Pn6-90nHAF_EYGF-op3dYSnQDDviFeYDJRQCgdvetPnr4uwUedKakY07vUsS_opLRwCkvAdFgvN_uYiQPJoBrbRa-SEIzbiQJT8RblYt4I3n1sUyireSN0zfudlTjgEA?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

B6: Kiểm tra gắn nhãn&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd_GtyuL5paamB68jECSObHEErLN0NOoVDs6I7-lEN6AXSokyafgO74o8uV-xfQx9MlVGC8h1YdbAvsw-ytx_GSX-sDwow5AU7H9cCmH73Aw_KbPPf0nr15S_sPGREeu_0ojJas?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdmraJ-CqP7GFZjm8Br734SVUaxpdP9Y0LG7HoGHc--c5pX759WtAnqg9gXlRKeKMdgLqRkFvueoje1RW6XlHs3P4pv0rx7xPX4iSB3eCeaOSAlf6MsOdzRIuvCiYwkVv4hBzMpkw?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

B7: Chọn button lọc và bấm nhãn muốn tìm kiếm

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdfSJlL54N6QPrAVTYiRYxdU9dikAe9YjhmZsbt2gDR2STUSXix88uu4sm4zeyJybewfV0N69Fq_GhfPJaPNxVHdSDgxeLpq8Rk95lxtmNFN7emswLo7ehXu8NuoW4wZC9Ffl9o?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

B8: Kết quả hiển thị đúng với nhãn đã chọn kết hợp&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdiLP5P5DqaWVFH2t1E2qD9EBhN2ztIrMgQO5yZAd6oOPC2No2Bcx2W5TNdJUoXLK3OHU3WummZ4dv4Sz6MVyRZH4ShD94xtPNbAW8mTmu7_sxP-6Ra_rn80UAMxwlTapket1Pk?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

### 2.2. Lọc theo điều kiện OR

B1: Vào setting&#x20;

B2: Chọn Thiết lập chat đa kênh

B3: Chọn thiết lập khác

B4: Mở nhãn hội thoại và chọn chế độ lọc đồng thời nhiều thẻ

B5: Chọn chế độ OR

<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeGIHScbENKZWRYXu7qREjX5uEGFy1eZ4x1yE5fSW6VjJHmtCyNNt_zDlKbL5u6ARzGBgaGfiOiVUZgQ4R1hF_Ht19Q8jgCmchIIkbcmjy15l0j-vcAV8WhoGNvikpMljvBB-XlXg?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

B6: Kiểm tra gắn nhãn&#x20;

Ví dụ: gắn nhãn 19

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfEAjabIZLAslKYM1RNZRSxSbhHYiSOj8Nf-buclCoPnpyNKsjkCRLWE8Eo0mfSm3VS7sFWjvwDEjIq2KGFyBsnM-jldimOQc-FUKZtplccUZxnNgQ2L668LZiJcta7SNrGaf5BuA?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

\
B7:Chọn button lọc và bấm nhãn muốn tìm kiếm

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfJGLSJunUgYMIGcLQMygBHX6YZWr-r3AIyJ-cJrLbChNYB5NFmoN2HSL3dl1pK7QMupgDtg1UzoWmsEErZsq5O6knm7oGqdvYeO47GgQjjdvacajpiEi9cZJn8TrQWZpfx2aEP?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>

B8: Hiển thị tất cả kết quả hợp với điều kiện đã chọn&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeKHEBYSYgN69DknvBTR_ji1zNq3qmQc2kkqtL3dFgaGYSEGGciA8Wjs517XLkg8CrZ5Wm0SLRXPhf476mfsdUnz7GoFmSElcP1sY-F_lSXG7lqDXHo5j72VUzUYPk4kuaZt7zdYw?key=GEgpkma3DW1m73VN5WOlMQ" alt=""><figcaption></figcaption></figure>
