# Send Notification

This action allows your bot to send notification through various channels, including

* Email
* Slack
* SMS
* Phone Call
* WhatsApp
* Telegram
* Viber
* Live Agent

It's all in the "Notification" of your Action step.

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

### Email Notification <a href="#email-notification" id="email-notification"></a>

To send an email notification, you will need to setup your email integration first. Check [how to setup email integration](broken://pages/f6DXZKrVhTHPj9Hup1Ey)?

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

Unlike "Send Email" step, email notification only supports text message type. Check "[Send Email](#email-notification)" step in "Email Integration" page if you need more message types like images, buttons, files, etc.

Put the sender's address at "Email Profile" and the receiver's address at "To Email".

### Slack Notification <a href="#slack-notification" id="slack-notification"></a>

Similarly, to send a slack notification, you will need to setup your slack integration first. Check how to setup slack integration?

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

In the pop-up window,

1. choose a Webhook
2. choose a default channel or name another one
3. pick a message type, add as many as needed
4. for example, "Section" type, put your message at area 4 and add photo or field value if needed
5. use the "Test" button to send the message for test and adjust accordingly
6. once finished, click "Save".

### SMS Notification <a href="#sms-notification" id="sms-notification"></a>

Setup a sender number before you make a SMS notification. Check how to add [phone number](broken://pages/8p02bVCFUboAdi9TULEO#whatsapp-sms-voice-bot)?

You can use the "generate random text" operation with text variable to get a random security code and send out for verification purpose.

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

Choose a sender and receiver, put message and here you go!

### Make Phone Call <a href="#make-phone-call" id="make-phone-call"></a>

Same as SMS notification, a phone number is needed to make a phone call. Check how to add phone number?

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

Moreover, you must make a voice flow connected to this phone number otherwise your voice bot don't know what to say.

### Ref Payload <a href="#ref-payload" id="ref-payload"></a>

**Ref payload** is used to passing on a message to the voice bot.

For example, set the payload to "support" here in the notification action and in your voice flow:

<figure><img src="/files/2BmW4MlWGUFH1FZ83TAT" alt=""><figcaption></figcaption></figure>

Goto the **Start Step** in your **Main Flow** and save the ref payload in a custom field.

{% hint style="info" %}
You can pass on a JSON variable in the ref payload but base64 encode and decode are needed before and after this. See base64 operations in **Set Custom Field**.
{% endhint %}


---

# 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/send-notification.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.
