> For the complete documentation index, see [llms.txt](https://tailieu.smax.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.smax.ai/module-cai-dat/block-mau.md).

# Block mẫu

{% hint style="info" %}
Hướng dẫn tạo block mẫu để gửi kịch bản Bot trong module <mark style="color:orange;">**Nhắn tin**</mark>
{% endhint %}

## 1\_ Tạo nhóm phân loại

Bước 1: Trong cài đặt <mark style="color:orange;">**Block mẫu**</mark> chọn <mark style="color:orange;">**Nhóm**</mark>

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FyMzd46G7K5qaAhRlXFWs%2Fimage.png?alt=media&amp;token=cd939168-7663-4aaa-a695-6faf5a7fb5f0" alt=""><figcaption></figcaption></figure>

Bước 2: Chọn <mark style="color:orange;">**+ Group**</mark> để tạo nhóm mới

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FxUEdJSRWTco0bvR5yncB%2Fimage.png?alt=media&amp;token=a6ff9e0e-ba4d-400d-8c0a-b5c9ebe3f265" alt=""><figcaption></figcaption></figure>

Sau đó đặt tên cho nhóm và chọn <mark style="color:orange;">**Lưu**</mark> để tạo nhóm mới

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FODBJLH1d2tX29aV8CyWh%2Fimage.png?alt=media&amp;token=65c4ff65-5cb9-468a-9236-858026f26fa1" alt=""><figcaption></figcaption></figure>

## 2\_ Tạo block mẫu mới

Bước 1: Trong cài đặt <mark style="color:orange;">**Block mẫu**</mark> chọn <mark style="color:orange;">**Thêm mới**</mark>

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2Frq02r3XmD6Paj8MGPuBI%2Fimage.png?alt=media&amp;token=300e696d-e916-453f-b559-6821a8f8a24a" alt=""><figcaption></figcaption></figure>

Bước 2: Cấu hình cho block mẫu muốn tạo

<mark style="color:orange;">**(1)**</mark> - Block: Block muốn gửi cho khách

<mark style="color:orange;">**(2)**</mark> - Mã trả lời nhanh: Nội dung gõ trong khung chat \ + mã trả lời nhanh để gửi cho khách

<mark style="color:orange;">**(3)**</mark> - Mô tả: Mô tả block mẫu

<mark style="color:orange;">**(4)**</mark> - Nhóm: Nhóm phân loại

Sau khi cấu hình xong, chọn Lưu để tạo block mẫu mới&#x20;

{% hint style="info" %}
Lưu ý: Các trường có dấu \* là bắt buộc
{% endhint %}

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FBb1nK6LnsmusmLvcEYY7%2Fimage.png?alt=media&amp;token=c183d30a-3997-47c2-8133-965770e0af90" alt=""><figcaption></figcaption></figure>

## 3\_ Chỉnh sửa block mẫu

Chọn biểu tượng di chuyển để sắp xếp lại thứ tự của block mẫu hoặc di chuyển sang nhóm khác

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2F2VNF42pPPxiFEtDOqpcS%2Fimage.png?alt=media&amp;token=3dcdd90b-7f51-4f13-ac28-63081e63a6a8" alt=""><figcaption></figcaption></figure>

Chọn biểu tượng chỉnh sửa để chỉnh sửa nội dung block mẫu

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FhVToUsIJ5eb5zSp9HEOY%2Fimage.png?alt=media&amp;token=96edd6a4-f245-4bb7-a723-4030a60f5e1c" alt=""><figcaption></figcaption></figure>

Chọn biểu tượng xóa để xóa block mẫu

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FNOt0p1rz27l8qae5O5B2%2Fimage.png?alt=media&amp;token=d339c0cd-bd1a-4232-a524-71023c582bf2" alt=""><figcaption></figcaption></figure>
