# Subscribe and Unsubscribe to Bot

### **From Flow Builder:** <a href="#from-flow-builder" id="from-flow-builder"></a>

In Flow Builder, you'll find the subscribe and unsubscribe options under Action Step → Basic Actions.

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FSCqbReN4kxZK7uioTNNX%2FUntitled.png?alt=media&#x26;token=02d7bebd-7de7-4003-88ae-4c543e915c10" alt=""><figcaption></figcaption></figure>

* **Subscribe**: When a user subscribes to a bot, they will start receiving automated responses from the bot.
* **Unsubscribe**: When a user is unsubscribed, they will no longer receive automated responses from the bot. Messages from the user will still be visible in Live Chat, but agents won't be able to send replies to that user.

### **From Live Chat:** <a href="#from-live-chat" id="from-live-chat"></a>

Users can also subscribe or unsubscribe directly from Live Chat.

&#x20;

If the user is already subscribed, only the **Unsubscribe** option will be available.

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FG17e2vHKAWHz30adcmcN%2FUntitled.png?alt=media&#x26;token=cf4af128-fb52-4c18-8b9f-32a0c85044bb" alt=""><figcaption></figcaption></figure>

When unsubscribed, you will not be able to send any messages, even from Live Chat, and an error will be displayed indicating that the user is unsubscribed from the bot.

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2Fp1Gih71c9Gi73hDjEH7O%2FUntitled.png?alt=media&#x26;token=3d4bbd2c-e10c-4f4e-8c00-555d06653a04" alt=""><figcaption></figcaption></figure>

However, you can **subscribe the user again** directly from Live Chat.

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2F2shq16i4nOj6RQq2V3dK%2FUntitled.png?alt=media&#x26;token=fce7c2d5-c65f-4ca5-af66-8698314546a8" alt=""><figcaption></figcaption></figure>

### **From Bot Users:** <a href="#from-bot-users" id="from-bot-users"></a>

You can also subscribe or unsubscribe users through the **Bot Users** section. This action can be performed for:

* **Individual Users**: Select and apply the action to a specific user.
* **Bulk Users**: You can perform subscription or unsubscription actions for multiple users at once

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FrYOZpc1eZXA6KJ16fcXM%2FUntitled.png?alt=media&#x26;token=6b8caacc-f80f-4185-94e5-8ad31fe968a0" alt=""><figcaption></figcaption></figure>

### **Triggers:** <a href="#triggers" id="triggers"></a>

You can set triggers for when a user subscribes or unsubscribes from the bot.

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2FwxvJGsjVbWYAuGlCIsnG%2FUntitled.png?alt=media&#x26;token=f3ddc864-5e9b-4cfe-a31e-b973ac8e703d" alt=""><figcaption></figcaption></figure>

**Note:** When a user sends a message to your bot for the first time, they are automatically subscribed. If a trigger is set on the subscription, this could result in duplication during the first message exchange.

&#x20;

**Unsubscribed Users**: Once a user is unsubscribed, messages cannot be sent via the flow. However, you can still:

* Send an email, Use an action node to add tags, Update the Custom User Field (CUF) value, and run an external request.

<figure><img src="https://2144409983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHbDmB8MlZRo4hzrDiO0X%2Fuploads%2F1DP00MaKrXFz1ZwrtVCG%2FUntitled.png?alt=media&#x26;token=a637d807-0f9c-41e1-a6a1-b546636bf567" alt=""><figcaption></figcaption></figure>
