# Cài đặt hành động gửi ZNS

## 1. Gửi ZNS qua trigger

### Hiện tại hệ thống đang hỗ trợ gửi ZNS qua 3 loại trình kích hoạt:

\
1.1. Trình kích hoạt Cơ Hội (Deal): Tham khảo [tại đây](/automation/kich-hoat-hanh-dong-co-hoi.md#id-3i9j83gywmi0-2)

1.2. Trình kích hoạt Đơn hàng (Orders): Tham khảo [tại đây](/automation/kich-hoat-hanh-dong-don-hang.md#id-3i9j83gywmi0-2)

1.3. Trình kích hoạt Phiếu ghi (Tickets): Tham khảo [tại đây](/automation/kich-hoat-hanh-dong-phieu-ghi.md#id-3i9j83gywmi0-2)

## 2. Gửi ZNS qua chiến dịch tiếp thị

### 2.1. Hướng dẫn chung

Tham khảo thông tin chung về Chiến dịch tiếp thị [Tại đây](/automation/chien-dich-tiep-thi.md)

Hành động gửi ZNS là "Gửi thông báo Zalo - Template OA"

### 2.2. Luồng ví dụ

Gửi ZNS chúc mừng sinh nhật tới khách hàng:

<figure><img src="/files/gSHypK6bJXaBTLroYARq" alt=""><figcaption><p>Mẫu Campaign hiển thị</p></figcaption></figure>

Giải thích luồng:

* Nhóm đầu vào: Khách hàng sinh nhật tháng 7
* Kiểm tra thông tin sinh nhật: Có thỏa mãn sinh nhật vào hôm nay không?
* Cập nhật khách hàng: cập nhật/ thay đổi giá trị biến muốn hiển thị trong ZNS mà dữ liệu hệ thống chưa có sẵn
* Hành động gửi ZNS: Chọn nội dung gửi ZNS CMSN (Ngay lập tức, trong khoảng thời gian từ 9h sáng đến 21h tối)

<figure><img src="/files/97j6Evk02IoskDt9upYN" alt=""><figcaption></figcaption></figure>

* Thay đổi lại chiến dịch vào ngày hôm sau: Để tiếp tục kiểm tra KH có thông tin sinh nhật thỏa mãn vào ngày hôm sau&#x20;


---

# Agent Instructions: 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:

```
GET https://help-cdp.hub-js.com/touchpoint/zalo-oa/tim-hieu-zns/cai-dat-hanh-dong-gui-zns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
