# Hướng dẫn sử dụng Biểu đồ (Flow Builder)

Chuyển sang chế độ Biểu đồ- Flow Builder, bạn chọn  **Biểu đồ**&#x20;

<figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2FefjOdmyfNeUJCKfEAYq1%2Fimage.png?alt=media&#x26;token=8a2240c0-7399-4888-a8e0-204a5e7c9c62" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/eadtcJtMvCckbn5MOWOX/image.png" alt=""><figcaption></figcaption></figure>

### Các công cụ trong Builder

1. **Phóng to, thu nhỏ**

Ngoài việc chọn vào công cụ Phóng to, Thu nhỏ trên thanh công cụ, bạn có thể lăn chuột để phóng to và thu nhỏ Board theo vị trí khoảng cách mong muốn<br>

<figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2F2YmbtddaXRbtEaXKWGxo%2Fimage.png?alt=media&#x26;token=03c0d13e-6a17-4b5e-bd9c-e713a035d748" alt=""><figcaption></figcaption></figure>

2. **Khoá thao tác**

Khoá các thao tác làm thay đổi vị trí của hành động và trigger trên Board.<br>

<figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2FXTqqBtHKiES4q5TyLv5F%2Fimage.png?alt=media&#x26;token=3530f386-2614-4604-b4e4-6ca9a318f4ae" alt=""><figcaption></figcaption></figure>

3. **Vừa khung hình**

Công cụ giúp bạn thay đổi kích thước của board hợp lý hơn.<br>

<figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2FrBzohFGo9RtiKlO2u5mO%2Fimage.png?alt=media&#x26;token=0acc4c22-8a08-4fa3-9ec7-278ee33f93bb" alt=""><figcaption></figcaption></figure>

2. **Sắp xếp tự động**

Công cụ tự động làm đẹp Flow.<br>

<figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2FKummKRykOT506w0pxPbc%2Fimage.png?alt=media&#x26;token=f74aba32-3a51-4717-8c46-5da055282582" alt=""><figcaption></figcaption></figure>

### Thêm Trigger, hành động vào Flow

1. Chọn **+ Thêm mới,** sau đó tìm chọn Trigger, hành động mong muốn

   <figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2FNkUK3DbPqeizZwikCwWq%2Fimage.png?alt=media&#x26;token=d58e0f8b-f5e7-4215-8d32-c9839bd4e816" alt=""><figcaption></figcaption></figure>
2. Kéo thả các hành động vào Board.

<br>

<figure><img src="https://1206056511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMhzSb2lqVdrrRcaVOf97%2Fuploads%2FwiT5mYz4B94jWGidCcUx%2Fth%C3%AAm%20m%E1%BB%9Bi%20trigger.gif?alt=media&#x26;token=7fa61e73-ca8f-4113-b1d2-30684cfd858f" alt=""><figcaption></figcaption></figure>

Nối các hành động lại thành chuỗi.

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/2a3ihBhzIYwJ7gBMV3uf/Recording%202023-12-19%20.gif" alt=""><figcaption></figcaption></figure>

### Xoá Trigger, hành động trong Flow

1. Di chuyển con trỏ chuột vào Trigger hoặc Hành động muốn xoá
2. Chọn vào icon thùng rác để xoá
3. Xác nhận hành động xoá.

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/3hkaLTdQW2RxFHx7cfBo/delete%20node.gif" alt=""><figcaption></figcaption></figure>

**Lưu ý**: Hành động được nối với trigger sẽ không thể xoá. Để xoá hành động đó, hay nối trigger với hành động khác.

### Nhân bản hành động

Di chuyển con trỏ chuột vào hành động muốn nhân bản. Sau đó chọn vào icon nhân bản

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/Gp6ObIEdKAVshattGfuh/2023-11-06_13-56-28.gif" alt=""><figcaption></figcaption></figure>

Hành động mới sẽ có nội dung giống hệt tin nhắn được nhân bản và ở trạng thái chưa nối với bất kỳ hành động nào khác.

### Thêm/xoá liên kết giữa các hành động

**Thêm liên kết** giữa các hành động<br>

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/jAusv6tCNK49aAR6omsW/n%E1%BB%91i%20node.gif" alt=""><figcaption></figcaption></figure>

2. **Xoá liên kết**

Di chuyển con trỏ chuột vào các nút thông tin hoặc đường trên đường liên kết. Sau đó chọn vào icon thùng rác để xoá liên kết.

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/oxfnmHslVftZfdMZfBH5/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/MhzSb2lqVdrrRcaVOf97/blobs/Is8D2LgOM5do37tGv1Wj/image.png" alt=""><figcaption></figcaption></figure>
