# Set SMS Opt-in & Opt-Out

### Set SMS Opt-in <a href="#set-sms-opt-in" id="set-sms-opt-in"></a>

If you need to send an SMS to a user using the chatbot, be sure to set up this action before the Send SMS node.

<figure><img src="/files/6jQynpdfu9cUddYgvezF" alt=""><figcaption></figcaption></figure>

### Set SMS Opt-out <a href="#set-sms-opt-out" id="set-sms-opt-out"></a>

To make sure a user doesn’t receive any SMS from the bot, use this action.

<figure><img src="/files/wuy9IryjDoFx1RtQJPFc" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The email or SMS will not send out if the user isn’t opt-on for SMS & Email.
{% endhint %}

### **Bulk Action** <a href="#bulk-action" id="bulk-action"></a>

To configure SMS Opt-in or Opt-out for users in bulk, follow these steps:

1. Go to **Bot -> Bot Users**.
2. Check the box next to the user(s) you want to configure.
3. Click on **Bulk Action**.
4. Select **Set SMS Opt-In** or **Set SMS Opt-Out**.

<figure><img src="/files/m6E13urEavaQVppD2v1i" alt=""><figcaption></figcaption></figure>

This configuration will include or exclude the user from SMS notifications sent by the bot. If SMS Opt-in is not enabled, the system will avoid sending SMS to that user.


---

# 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://docs.rapidbott.com/help-center/flow-builder/steps/set-sms-opt-in-and-opt-out.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.
