# Automatically Add Customers to Unsubscribe List

Automatically identify customer unsubscribe intentions through YCloud Chatbot, allowing customers to unsubscribe and automatically add them to the unsubscribe list, avoiding direct complaints to WhatsApp. This will effectively prevent your WhatsApp account from being banned.

Example:

When a customer's message to unsubscribe is received, the Chatbot automatically asks the customer if they confirm they want to unsubscribe, and for those who confirm a second time, adds them to the unsubscribe list.

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2F7nx4paUwLAcUGziYzkmd%2Fimage.png?alt=media&#x26;token=655b76be-a52b-49a7-be09-c17355eb91cd" alt=""><figcaption></figcaption></figure>

## Step 1: Log in to your YCloud account and create a Chatbot Flow

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2FuxNsTUot22vTgUKJLSzS%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_e14b84bb-d55e-4eff-8225-5e0228f64e28.jpg?alt=media&#x26;token=8312e8f9-9238-4f84-91c2-b6f7a03773ef" alt=""><figcaption></figcaption></figure>

## Step 2: Add unsubscribe trigger keywords

{% hint style="info" %}
Recommendation: Set multiple unsubscribe keywords and choose "Containing" rather than "Exact matching". This way, any keyword in the list will trigger the Chatbot. After setting up, click the save button.
{% endhint %}

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2F7xzMi1DGtBvABEt6DfTN%2Fimage.png?alt=media&#x26;token=098f7cbf-fa35-4214-afb0-8f67d1c11413" alt=""><figcaption></figcaption></figure>

## Step 3: Confirm customer's unsubscribe intention (optional)

{% hint style="warning" %}
Strongly recommend adding this step to avoid customers mistakenly entering the unsubscribe list. You can choose to use the "Ask a question" component to ask the customer: "Please confirm if you want to unsubscribe from messages?"
{% endhint %}

Detailed steps:

1. Select the "Ask a question" component

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2F65J7UyZXBCggBhRv0aFZ%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_029d54a3-5b72-4932-ac6a-20391a58b8db.jpg?alt=media&#x26;token=70dbc230-3387-438b-bb1a-fcdcb587091b" alt=""><figcaption></figcaption></figure>

2. Choose the Buttons message format

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2FFNMjiMm9Z1pdJfHiRTLx%2F%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_c1952858-e095-407c-847e-717e93d36c2f.jpg?alt=media&#x26;token=f92d1681-e915-4c4f-a767-d6be02dcbdd1" alt=""><figcaption></figcaption></figure>

3. Set the inquiry content: "Please confirm if you want to unsubscribe from WhatsApp?"

* Set two options for the Button
  * OPT-OUT
  * Hand slip
* After setting up, click Save

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2FDdfdeN8zzHU5upskvuVB%2Fimage.png?alt=media&#x26;token=56cd1ae0-8ded-4002-abe9-c14326f90778" alt=""><figcaption></figcaption></figure>

4. Connect the Keyword trigger to the Ask a question component after setting up

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2FZV4jFydZ4WtxIVFDQtlf%2Fimage.png?alt=media&#x26;token=97f0d204-555c-40ce-807a-75e314b79c63" alt=""><figcaption></figcaption></figure>

## Step 4: Add to Unsubscribe List

1. Add the Unsubscribe component

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2Fi0nyQjJLA7XNNIWVR6FS%2Fimage.png?alt=media&#x26;token=0181ed26-f580-4cb6-bf30-660562b486c6" alt=""><figcaption></figcaption></figure>

2. You can choose whether to automatically reply with a successful unsubscribe message. If needed, click the Auto-reply switch on the right and enter the auto-reply content below, then select Save to save.

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2Fs1YQSZNWYsTf7CQ5bhdJ%2Fimage.png?alt=media&#x26;token=cb4f6ec8-a080-4bd2-af56-2b39d249c318" alt=""><figcaption></figcaption></figure>

3. Connect the "OPT-OUT" button from the Ask a question component to the Unsubscribe component

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2FVHiBnVoq8XoWdO4D8tcp%2Fimage.png?alt=media&#x26;token=37c9731a-14b7-4844-8830-ebdc523d0681" alt=""><figcaption></figcaption></figure>

## Step 5: Add a Send messages text (optional)

Add a Send messages text component and connect it to the "No, I clicked by mistake" button

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2FwDuiyWw8cUODnD5zhYR3%2Fimage.png?alt=media&#x26;token=77222d1e-f5ff-4cd0-a77e-53e83479bb25" alt=""><figcaption></figcaption></figure>

## Step 6: Save and activate the Chatbot

After editing the Chatbot flow, click Save in the upper right corner, and in the pop-up window, click Active > Save to instantly activate the unsubscribe Chatbot. When a customer triggers the unsubscribe keyword, the Chatbot will automatically add this phone to the unsubscribe list and display it in the Contact > Unsubscribe list.

<figure><img src="https://3466127247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSIAnjLP6KQY5rvyuaq5K%2Fuploads%2F1K62nwiiZ61hN2FxMw53%2Fimage.png?alt=media&#x26;token=a1f3a13d-ed51-445f-9b54-d23b5973d9d3" alt=""><figcaption></figcaption></figure>
