# Slack

With Slack, your bots can send various types of messages to your Slack group or contacts mainly for notification purpose for now. However, we are working on building Slack flow. So there will be more functions with Slack shortly.

### Setup Slack <a href="#setup-slack" id="setup-slack"></a>

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

To send out notifications to your Slack group or personal channel, you will need incoming webhooks first.:

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

There are 2 ways to get an incoming webhook URL:

* from Slack Incoming Webhooks App
* from your own Slack App

#### [#](broken://pages/tdeqNpIZOpn0VdqgOxDW) Get an Incoming Webhook URL from Slack Incoming Webhooks App <a href="#get-an-incoming-webhook-url-from-slack-incoming-webhooks-app" id="get-an-incoming-webhook-url-from-slack-incoming-webhooks-app"></a>

Visit [Incoming WebHooks](https://sendly-workspace.slack.com/apps/A0F7XDUAZ-incoming-webhooks?tab=more_info) (opens new window), login yourself, then:

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

click "Add to Slack".

Pick a channel you would like your bot to send notifications to, then click "Add".

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

Ta-da! Here you are the URL.

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

#### Get an Incoming Webhook URL from Your Own Slack App <a href="#get-an-incoming-webhook-url-from-your-own-slack-app" id="get-an-incoming-webhook-url-from-your-own-slack-app"></a>

Select view Slack Documentation

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

#### 2, Create your Slack App

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

#### 3, Name app and select workspace

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

#### 4, Select: Incoming Webhooks

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

#### 5, Turn On then select 'Add new webhook to workspace'

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

#### 6, App is now created!

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

#### Once you select the 'Allow' Button a new screen will display. Displaying your webhook URL 'At the bottom'

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

### Paste the webhook URL into your incoming webhook

* Add an app icon
* Name your app

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

#### Select create and your webhook will be created

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

More information click -> [Slack API (opens new window)](https://api.slack.com/messaging/webhooks)

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

A common usage for slack integration is to send slack notification. For example, to back up your bot, set a "Talk to Human" button. And when user press it, send a slack notification to a support channel or a support staff. Check how to [send slack notification](#send-slack-notification).


---

# 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/platform/introduction/integrations/slack.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.
