> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testdino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack Webhook Integration for Playwright

> Send test run notifications to a Slack channel via incoming webhook.

<iframe className="w-full rounded-lg h-[500px]" src="https://www.youtube.com/embed/1OGY1AuIAPs" title="Slack video" frameBorder="0" allow="accelerometer;  clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; embedding" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen />

## What a Slack message contains

<Warning>
  **Warning**

  The Slack Webhook integration is available on the TestDino **Pro**, **Team**, and **Enterprise** plans.
</Warning>

* Overall status - passed, failed, flaky, or skipped.
* The counts and success rate for passed, failed, flaky, and skipped.
* Duration, environment, and branch.
* Author and commit message.
* **View test run** button linking to evidence.
  <img src="https://tdstorageus.blob.core.windows.net/public/docs/integrations/communication/webhook/slack-message.webp" alt="Slack webhook message showing test run summary with status, pass rate, and link to TestDino report" style={{ maxWidth:"70%" }} />

## Set up the Webhook

### 1. Create an incoming webhook in Slack

1. Go to [api.slack.com/apps ↗](https://api.slack.com/apps) and click **Create New App** (or select an existing app)
2. Choose **From scratch**, name your app (e.g., "TestDino Notifications"), and select your Slack workspace
3. In the app settings, go to **Incoming Webhooks** and toggle **Activate Incoming Webhooks** to On
4. Click **Add New Webhook to Workspace**
5. Select the channel where you want TestDino notifications to appear and click **Allow**
6. Copy the generated webhook URL (starts with `https://hooks.slack.com/services/...`)

<Note>
  **Note**

  Each webhook URL is tied to a single channel. To send notifications to a different channel, create a new webhook.
</Note>

### 2. Paste the webhook URL in TestDino

In TestDino, go to **Settings → Integrations → Slack Webhook** and paste the webhook URL and click **Connect**.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/integrations/communication/webhook/integration-slackwebhook-unconnected.webp" alt="TestDino Slack Webhook integration card showing URL input field and Connect button" style={{ maxWidth:"50%" }} />

### 3. Verify connection

After connecting, the card shows the webhook URL, connection status, and options to sync, test, or disconnect. Use **Test** to send a sample message and verify it lands in the correct channel.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/integrations/communication/webhook/integration-slackwebhook-connected.webp" alt="Slack Webhook integration card showing connected status with webhook URL and disconnect option" style={{ maxWidth:"50%" }} />

## Troubleshooting

<AccordionGroup>
  <Accordion title="No messages appearing in Slack" icon="comment-slash">
    * Verify the webhook URL is correct and the webhook is still active in your Slack workspace
    * Check that the **Active** toggle is enabled on the Slack Webhook card in TestDino
    * Confirm a test run has completed after connecting
  </Accordion>

  <Accordion title="Webhook URL rejected" icon="link-slash">
    * Ensure the URL starts with `https://hooks.slack.com/services/`
    * Verify the incoming webhook has not been deleted or disabled in Slack
  </Accordion>

  <Accordion title="Messages going to wrong channel" icon="hashtag">
    * The webhook sends to whichever channel it was configured for in Slack. To change the channel, create a new webhook in Slack and update the URL in TestDino
    * Slack webhooks do not support environment-based routing. Use the [Slack App](/integrations/slack-playwright-test-alerts) for per-environment channel mapping
  </Accordion>
</AccordionGroup>
