---
title: "How do I get test results in Slack, Teams or e-mail?"
section: "Use cases"
description: "Get SmartestQA test results where your team works: Slack and Microsoft Teams messages when a pipeline completes or fails, a daily summary, WhatsApp alerts, the PDF report by e-mail after each run, and signed webhooks for any other system."
url: https://docs.smartestqa.ai/en/use-case-notifications.html
audience: [customer, admin]
updated: 2026-11-12
keywords: "slack notification test results microsoft teams notification email report after test run pipeline failed alert pipeline completed daily summary mention on failure incoming webhook workflows webhook whatsapp alerts generic webhook signed events share report pdf email to on failure always notify team test automation results chat who checks the nightly run post results to chat by hand chat webhook script in ci alert only on failure"
---
# Use cases: How do I get test results in Slack, Teams or e-mail?

SmartestQA posts pipeline results to Slack or Microsoft Teams once an Admin pastes the channel's webhook URL on the Slack or Microsoft Teams page in Integrations and picks the events. For e-mail, switch on Email Notification in the pipeline's settings in Schedule: the PDF report is mailed when a run ends, always or only on failure.

## In short

**On this page you can**

- Post a message to Slack or Teams when a pipeline completes or fails.
- Mention @here , @channel or a person on failures.
- Get one daily summary of yesterday's runs and the open tasks.
- Mail the PDF report after each run, always or only on failure.
- Send signed JSON events to any other system with a webhook.

**How to use it**

1. Create an incoming webhook for the channel in Slack, or a Workflows webhook in Teams.
2. Open Integrations , choose Slack or Microsoft Teams and click Setup .
3. Paste the webhook URL and click Test Connection .
4. Under Notification Preferences choose the events and click Save .
5. For e-mail, switch on Email Notification in the pipeline and fill Email To .

## The short answer

Chat and e-mail are set in two different places. **Slack, Microsoft Teams and WhatsApp** are set per project in **Configuration** › [**Integrations**](https://docs.smartestqa.ai/en/integrations.html#catalogue), by an Admin: you paste the channel’s webhook URL, test it, and switch events on or off under [**Notification Preferences**](https://docs.smartestqa.ai/en/integrations-notifications.html#events). By default a run that ends posts either **Pipeline Completed** (every test case passed) or **Pipeline Failed** (at least one failed or did not run), never both.

**E-mail** is set in the pipeline’s settings in Schedule: with [**Email Notification**](https://docs.smartestqa.ai/en/project-settings-test-management.html#email) on, SmartestQA sends one e-mail with the PDF report when the run ends, to the addresses in **Email To** and **Email CC**. For a single report, [**Share Report**](https://docs.smartestqa.ai/en/report-summary.html#share-report) in Report mails the PDF to one address. For any other system, a [**Generic Webhook**](https://docs.smartestqa.ai/en/integrations-webhooks.html#set-up) sends signed JSON events.

## The problem this solves

Many teams learn about a red nightly run when someone opens the test tool. Often one person checks each morning and posts a line in the team chat, or forwards a screenshot. When that person is away, nobody looks, and a failure surfaces late. Other teams add a script to the end of a CI job that posts to a chat webhook. That works for the runs that job starts, and someone has to maintain it.

What is missing is a result that arrives where the team already reads, without a person in between. Different readers also need different things: the channel needs a short line when something is red, a manager needs the report.

## An example

This is an illustration, not a customer story. A team tests a food delivery app with a nightly regression pipeline and reads a Slack channel called `#qa-alerts`.

1. An Admin opens **Integrations** › **Slack**, clicks **Setup**, pastes the channel’s webhook URL and clicks **Test Connection**. The channel receives “SmartestQA Slack integration test successful!”.
2. Under [**Notification Preferences**](https://docs.smartestqa.ai/en/integrations-notifications.html#events) the Admin turns **Pipeline Completed** off, keeps **Pipeline Failed** on, sets [**Mention on Failure**](https://docs.smartestqa.ai/en/integrations-notifications.html#mentions) to `@here` and clicks **Save**.
3. In the pipeline’s settings in Schedule a tester switches on [**Email Notification**](https://docs.smartestqa.ai/en/project-settings-test-management.html#email), chooses **On Failure** and enters the QA lead and the product owner in **Email To**, separated by a semicolon.
4. The night run ends with 3 failed test cases. The channel gets one **Pipeline Failed** message with the first error and a last line `CC: @here`. The two recipients each get the e-mail with the PDF report.
5. The next night every test case passes. The channel stays quiet because **Pipeline Completed** is off, and no e-mail is sent because the mode is **On Failure**.
6. A developer from another team asks for the failed run. The tester opens it in Report, clicks [**Share Report**](https://docs.smartestqa.ai/en/report-summary.html#share-report), types the address and clicks **Send**: “Email sent successfully!”. The developer needs no SmartestQA account.

The morning check is gone: a red run reaches the channel and two inboxes by itself, and a green night sends nothing.

## By hand, with your own script, and with SmartestQA

| Question | A person posts the result | Your own script posts to a chat webhook | SmartestQA |
| --- | --- | --- | --- |
| Who sends the result? | Whoever checked the run | The script at the end of the CI job | SmartestQA, when the run ends |
| Can it report failures only? | Yes, if the person remembers to look | Yes, if you code the condition | Yes: turn **Pipeline Completed** off and keep **Pipeline Failed** on; for e-mail choose **On Failure** |
| What is in the message? | What the person types | What the script builds from the result files | Completed: total, passed, failed, pass rate and duration. Failed: the first error. E-mail: the PDF report |
| Can it call someone’s attention? | Yes, by typing a mention | Yes, if coded | A mention adds a last line `CC: value` to Pipeline Failed and Critical Task messages |
| Is there a daily overview? | Only if someone compiles it | A second script on a timer | [**Send Daily Summary**](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary), once a day at the [**Summary Time**](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary) hour; skipped when the channel already got a message that day |
| Can people outside the tool get the report? | Yes, as a forwarded file or screenshot | Only what the script attaches | Yes: the PDF goes to **Email To** and **Email CC**, or to one address with [**Share Report**](https://docs.smartestqa.ai/en/report-summary.html#share-report) |

## Steps

1. **Create the webhook in Slack or Teams**

   Slack: create a new application in your Slack workspace, turn on Incoming Webhooks and add a webhook for the channel. The URL starts with `https://hooks.slack.com/services/`. Teams: open Workflows, choose the template Send webhook alerts to a channel, select the team and channel, save, and copy the webhook URL from the workflow’s details. See [Slack](https://docs.smartestqa.ai/en/integrations-notifications.html#slack) and [Microsoft Teams](https://docs.smartestqa.ai/en/integrations-notifications.html#teams).
2. **Enter it in SmartestQA**

   Select the project, open **Integrations** › **Slack** and click **Setup**. Under **Webhook Settings** paste the Webhook URL and, for your own reference, a **Channel Name (optional)** such as `#qa-alerts`. For Teams open **Integrations** › **Microsoft Teams**, click **Setup** and paste the Teams Webhook URL.
3. **Test the connection**

   Click **Test Connection**.

   Slack shows **Success!** and the channel receives “SmartestQA Slack integration test successful!”. The Teams channel receives a card “SmartestQA connected”.
4. **Choose the events and the mention**

   Under [**Notification Preferences**](https://docs.smartestqa.ai/en/integrations-notifications.html#events) turn the events on or off. Pick a [**Summary Time**](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary) (whole hours, 00:00 to 23:00) if you use the daily summary. In Slack set [**Mention on Failure**](https://docs.smartestqa.ai/en/integrations-notifications.html#mentions) to **None**, `@here` or `@channel`; in Teams type an email or a name in **Mention (Email or name)**. Click **Save**. See [Which events send a message](https://docs.smartestqa.ai/en/integrations-notifications.html#events).

   The page shows Active. [**Send Test Message**](https://docs.smartestqa.ai/en/integrations-notifications.html#slack) posts a test with the saved webhook at any time.
5. **Switch on the e-mail report**

   In Schedule, open the pipeline’s settings and switch on [**Email Notification**](https://docs.smartestqa.ai/en/project-settings-test-management.html#email). Choose **Always** or **On Failure** (only runs with at least one failed case). Fill **Email To** and **Email CC**, with several addresses separated by semicolons. With an empty **Email To**, nothing is sent. See [E-mail notifications](https://docs.smartestqa.ai/en/schedule-settings.html#email).
6. **Run the pipeline**

   Start a run or wait for the schedule. When the run ends, the channel gets the message and the recipients get one e-mail with the PDF report. See [Run, stop & follow](https://docs.smartestqa.ai/en/schedule-runs.html).
7. **Send one report to one person**

   In Report, open a finished run and click [**Share Report**](https://docs.smartestqa.ai/en/report-summary.html#share-report). Type the recipient in **Email** and click **Send**. The recipient does not need a SmartestQA account; everything is in the PDF. See [Share a report by email](https://docs.smartestqa.ai/en/report-summary.html#share-report).

   “Email sent successfully!”

## Which event sends a message

Slack, Teams and WhatsApp share the same switches. Source: [Which events send a message](https://docs.smartestqa.ai/en/integrations-notifications.html#events).

| Switch | Sent when | Slack / Teams default | WhatsApp default |
| --- | --- | --- | --- |
| **Pipeline Started** | A pipeline run starts. | Off | Off |
| **Pipeline Completed** | A run ends and every test case passed. The message shows total, passed, failed, pass rate and duration. | On | On, but skipped while **Finished runs: only when a test failed** is on |
| **Pipeline Failed** | A run ends and at least one test case failed or did not run. The message shows the first error. | On | On |
| **Test Failed** | Saved with the settings, but this version sends no separate message per failed test. Failed tests are reported by Pipeline Failed. | On | Off |
| **Task Created** | A task with any severity other than Critical is created. | On | Off |
| **Critical Task** | A task with severity Critical is created. | On | Off |
| [**Send Daily Summary**](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary) | Once a day at the [**Summary Time**](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary) hour. | Off | On |

## Which channel for what

| Channel | Where you set it | What arrives |
| --- | --- | --- |
| Slack | **Integrations** › **Slack** | Pipeline, task and daily summary messages in one channel. |
| Microsoft Teams | **Integrations** › **Microsoft Teams** | The same messages, as Adaptive Cards, through a Workflows webhook. |
| WhatsApp Business | **Integrations** › **WhatsApp Business** | Failures and the daily summary to up to 20 phones, with templates Meta has approved. |
| E-mail after each run | [**Email Notification**](https://docs.smartestqa.ai/en/project-settings-test-management.html#email) in the pipeline, or as a project default | The PDF report, **Always** or **On Failure**, to **Email To** and **Email CC**. |
| E-mail by hand | [**Share Report**](https://docs.smartestqa.ai/en/report-summary.html#share-report) in Report | A short e-mail with the PDF, to one address per send. |
| Generic Webhook | **Integrations** › [**Generic Webhook**](https://docs.smartestqa.ai/en/integrations-webhooks.html#set-up) | Signed JSON events to any HTTP endpoint: pipeline started, completed, failed, defect created, deploy received. |

## Watch it

The video is an overview of the Integrations screen: the catalogue, the category row, the **Active** filter and what the Jira, Xray, Zephyr Scale, Slack, Confluence and Generic Webhook cards do. It does not show a Slack set-up.

Video: [Integrations](https://docs.smartestqa.ai/media/videos/INT-01.mp4) (0:46)

What SmartestQA connects to, and where to start.

Video transcript: Integrations lists everything SmartestQA can connect to. The category row narrows it: defect trackers, test management, notifications, documentation, monitoring, identity and CI/CD. Active shows what is already connected. Nothing is connected in this project yet, so the list is empty. Jira syncs tasks with issues. Xray and Zephyr Scale sync test cases and run results. Slack sends test and task notifications. Confluence publishes reports. Generic Webhook sends signed events to any system, and starts pipelines from outside. A card marked Ready can be set up: open it and follow its steps.

## What you get

- **One message per run.** A run sends either Completed or Failed, never both. Completed shows total, passed, failed, pass rate and duration; Failed shows the first error.
- **A mention when it is red.** With a mention set, SmartestQA adds a last line `CC: value` to Pipeline Failed and Critical Task messages. Completed, Started, Task Created and daily summary messages carry no mention.
- **A daily summary.** One message per day with the tests run yesterday, passed, failed and rate, and the open tasks, at the hour of [**Summary Time**](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary).
- **The PDF report by e-mail.** One e-mail per run, when the run ends. Automatic e-mails are always in English.
- **No test data in chat.** Chat and WhatsApp messages carry pipeline names, counts and error text, never test data values.
- **Signed events for everything else.** Up to 20 webhooks per project. Each delivery is an HTTP POST with a JSON body and an HMAC-SHA256 signature, retried after 1 s, 5 s and 30 s, up to 4 attempts.

## Questions and answers

### Q: Who can connect Slack or Teams to SmartestQA?

A Company Admin. Integrations is under **Configuration** › [**Integrations**](https://docs.smartestqa.ai/en/integrations.html#catalogue) and Users do not see the menu item. An integration belongs to one project, so select the project first. See [Integrations](https://docs.smartestqa.ai/en/integrations.html).

_Audience: customer, admin_

### Q: Can I get a message only when tests fail?

Yes. On the Slack or Microsoft Teams page turn **Pipeline Completed** off and keep **Pipeline Failed** on. For e-mail, choose **On Failure**: only runs with at least one failed case send the report. See [Which events send a message](https://docs.smartestqa.ai/en/integrations-notifications.html#events).

_Audience: customer, admin_

### Q: Why did no message arrive after a pipeline?

Check that the page shows Active, that the event’s switch is on and that [**Send Test Message**](https://docs.smartestqa.ai/en/integrations-notifications.html#slack) reaches the channel. [**Integration Active**](https://docs.smartestqa.ai/en/integrations.html#concepts) off turns all messages off without losing the webhook. See [No message after a pipeline](https://docs.smartestqa.ai/en/integrations-troubleshooting.html#fix-no-notification).

_Audience: customer, admin_

### Q: Why did the daily summary not arrive?

The summary is skipped when the channel already received a message of any kind that day. If a pipeline message went to the channel at 07:00 and the summary is set for 09:00, that day’s summary is skipped. Pick an hour before the first run of the day. See [The daily summary](https://docs.smartestqa.ai/en/integrations-notifications.html#daily-summary).

_Audience: customer, admin_

### Q: Does it work with the old Office 365 connector URL in Teams?

Use a Workflows webhook. If you paste an address of the retired Office 365 connector type, the dialog and the page warn that messages may no longer arrive. See [“This is an old Office 365 connector URL…”](https://docs.smartestqa.ai/en/integrations-troubleshooting.html#fix-teams-legacy)

_Audience: customer, admin_

### Q: Can the report go to several people by e-mail?

Yes, with the pipeline’s automatic e-mail: enter several addresses separated by semicolons in **Email To** and **Email CC**. [**Share Report**](https://docs.smartestqa.ai/en/report-summary.html#share-report) takes one address, so send once per address. See [Automatic emails after each run](https://docs.smartestqa.ai/en/report-summary.html#email-after-run).

_Audience: customer, admin_

### Q: Does the person who gets the report need a SmartestQA account?

No. The e-mail carries the report as a PDF, and everything is in the PDF. There is no public link to a report: a report address only works for people with access to the project. See [Share a report by email](https://docs.smartestqa.ai/en/report-summary.html#share-report).

_Audience: customer, admin_

### Q: Can I set the e-mail once for the whole project?

You can set a project default under **Project Panel** › [**Test Management**](https://docs.smartestqa.ai/en/project-settings-test-management.html), Email Notification. It is used when a pipeline’s own copy has no value. Changing the project does not change existing pipelines, so open each pipeline in Schedule to change it. See [Email Notification](https://docs.smartestqa.ai/en/project-settings-test-management.html#email).

_Audience: customer, admin_

### Q: Can SmartestQA send test results to WhatsApp?

Yes, through WhatsApp Business, to up to 20 numbers. You need a business number, a permanent access token and four approved templates. Messages carry only the project and pipeline names, counts and a report link. See [WhatsApp Business](https://docs.smartestqa.ai/en/integrations-notifications.html#whatsapp).

_Audience: customer, admin_

### Q: Can I send results to a system that is not Slack or Teams?

Yes. Under **Integrations** › [**Generic Webhook**](https://docs.smartestqa.ai/en/integrations-webhooks.html#set-up) click [**Add webhook**](https://docs.smartestqa.ai/en/integrations-webhooks.html#set-up), enter the **Payload URL** and tick the events. Pipeline completed and Pipeline failed are preselected. Webhooks fire whether or not Slack or Teams are set up. See [Add a webhook](https://docs.smartestqa.ai/en/integrations-webhooks.html#set-up).

_Audience: customer, admin_

## Read more

- [Slack, Teams and WhatsApp](https://docs.smartestqa.ai/en/integrations-notifications.html): set-up, events, the daily summary and mentions.
- [Webhooks](https://docs.smartestqa.ai/en/integrations-webhooks.html): events, the request, the signature, retries and limits.
- [E-mail notifications](https://docs.smartestqa.ai/en/schedule-settings.html#email): the pipeline’s report e-mail.
- [Run summary, export & share](https://docs.smartestqa.ai/en/report-summary.html): Export PDF and Share Report.
- [Integrations](https://docs.smartestqa.ai/en/integrations.html): the catalogue and how credentials are handled.
- [Task notifications](https://docs.smartestqa.ai/en/tasks-from-runs.html#notifications): who hears about a new or critical task.
- [How do I build, run and schedule a regression suite?](https://docs.smartestqa.ai/en/use-case-regression.html): the runs that send the results.
