# Sending Slack message

Sending Slack messages to your project channel or directly to people is the best way to keep your team updated on the status of test/suite/schedule runs.

{% hint style="warning" %}
Keep in mind that the "Alerts" feature is only available on paid plans.\
So any related features, such as Slack alerts, will not be available on the free plan.

More information about pricing can be found here: <https://bugbug.io/pricing/>
{% endhint %}

Before proceeding to the first step, remember to [integrate your Slack workspace with BugBug](/integrations/slack.md#connect-your-slack-workspace-with-bugbug).\
If you haven't done so yet, don't worry - BugBug will prompt you for permissions when you start creating an alert.

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

Already connected? Great! Follow the steps below.

### Set Slack message type&#x20;

In the first field, you need to specify the messaging method. We currently support two different ways to send a Slack message:

* Channel message *(most common)*&#x20;
* Direct message

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

### Choose a recipient/channel

In the next box, you need to select a channel or person to receive the messages.\
BugBug will provide you with a list of all available Slack members.

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

### Testing a Slack alert

Before creating a new Slack alert, it's possible to check how it works by clicking on the **"Trigger Alert"** button.

{% hint style="info" %}
The Slack message template is predefined for all users.\
If you need to customize the message, [create a webhook alert instead](/collaboration/alerts/sending-webhook.md).
{% 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.bugbug.io/collaboration/alerts/sending-slack-message.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.
