# Slack

QApilot Slack integration sends **Test Pass/Fail/Abort** notifications in real-time directly to your specified Slack channel. This ensures that you can collaborate with your teammates by sharing the test results in real time.

***

## Prerequisites

Slack Incoming Webhook URL. For more information, refer to [Incoming Webhooks](https://api.slack.com/messaging/webhooks).

***

## Steps to Integrate Slack with QApilot

1. Navigate to Settings > Integrations and enable the toggle on the Slack widget.

<figure><img src="/files/3H8n616j4JHmHm4VkTnf" alt=""><figcaption></figcaption></figure>

2. Connect to Slack to get notifications for your run instantly. Click on Add Integration to create a new account for Slack.

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

3. Enter all the details to Create a Slack integration Type.

<figure><img src="/files/5Qw1KRMFIf7kFBWZ8Pdl" alt=""><figcaption></figcaption></figure>

4. A Slack Webhook URL is a unique URL generated by Slack that allows external applications to send messages to a specific Slack channel without needing full API integration. This URL acts as an endpoint for sending data to Slack, making it a simple way to post notifications, updates, or alerts from other systems directly into Slack.

***

## Enabling Slack Notifications in the Test Plan

1. After adding the account. when you click on enable Slack. The below popup window will appear:

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

2. Click on the Yes button and it redirects to the below popup:

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

3. Please map with existing Slack to your project. Enable the option to send notifications on execution issues TestCase, Step, and Test Plan. Click on the Save button.


---

# 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.qapilot.io/detailed-documentation/project-settings/integrations/collaboration/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.
