# Slack and Teams

An owner or admin can have Risk Register post to a Slack or Microsoft Teams channel: the organisation's weekly digest, the reviews falling due each weekday, and the proposals waiting for a decision. It is a notification only: nothing is read back from the channel, and nobody can change the register from it. Use an [AI assistant](https://riskregister.com/docs/connect-assistants.md) or the app for that.

## Plan availability

Team plan and above, and during a trial. Risk Register staff can turn it on or off for one organisation.

## Setting it up

Open **Settings > Slack and Teams** (owners and admins only).

- **Slack**: create a Slack app (or open yours), turn on **Incoming Webhooks**, add a webhook to the channel and copy its URL. It starts `https://hooks.slack.com/services/`.
- **Microsoft Teams**: in the channel, open **Workflows** and choose **Post to a channel when a webhook request is received**. Finish the workflow and copy the URL it gives you. Its host ends in `.environment.api.powerplatform.com`. The older `logic.azure.com` and Office 365 connector URLs were retired by Microsoft and are not accepted.

Paste the URL and choose **Connect**, then **Send a test message** to check it arrives. You can pause, resume, replace the URL or remove the channel there at any time. One Slack channel and one Teams channel per organisation.

## What is posted

Three kinds of post. Each channel has a switch for each under **Settings > Slack and Teams**, all on when the channel is connected. **Pause** stops all three.

### Weekly digest

Each Monday at about 07:35 UTC, a few minutes after the email digest:

- for each register (up to eight, the busiest first): reviews overdue, reviews due in the next seven days, treatment actions overdue, reviews waiting for someone and open health findings (what the register's health check says needs attention, such as a risk with no owner);
- the reference and title of the five most urgent reviews, with their register and date;
- links to each register and to My work.

A week with nothing due posts nothing.

### Reviews falling due

On weekday mornings at about 07:40 UTC: the reference, title and register of each live risk whose review falls due that day, up to ten, with a count of any more. Monday's post also covers Saturday and Sunday. A review that was already overdue is not repeated: the weekly digest counts those. A day with nothing falling due posts nothing.

### Proposals waiting

When an assistant or API key [proposes changes](https://riskregister.com/docs/drafts-and-proposals.md) to a register, a post follows within about five minutes: which registers have proposals waiting, how many, where they came from (the connected app's name, or "an API token" or "an organisation key"), and a link to each register's **Proposals** tab. Proposals made close together are grouped into one post, so an assistant proposing several times makes one message. A proposal decided or lapsed before the post is left out. What a proposal changes, and its reason, are never posted.

### What no post carries

No person's name or email address, no scores, descriptions, evidence or comments. Everyone in the channel sees the posts, whatever their access in Risk Register, so choose a channel for the people who look after your registers. The links still ask everyone to sign in, and each person sees only the registers they can read.

## The URL is a secret

Anyone holding an incoming-webhook URL can post into that channel. Risk Register:

- accepts only the services' own hosts over HTTPS, and checks the address is public before saving and before every post;
- stores the URL encrypted, and never shows it again once saved, not even to admins. The settings page and the audit log show only its host (for example `https://hooks.slack.com/…`);
- never writes it to logs.

If a URL leaks, remove or regenerate the webhook in Slack or Teams, then paste the new one.

## Delivery and failures

A failed weekly digest or reviews-due post is retried twice: five minutes after the failure, and again an hour after that. A failed proposals post is tried again each hour for a day; after that, the proposals it carried are dropped and the next post starts from new ones. The settings page shows when the channel was last posted to, or why the last post failed. A failure never affects the email digest.

## Data protection

Slack and Microsoft receive the message under your organisation's own agreement with them: you choose to connect the channel, so they act for you, not as our subprocessors. See the Privacy Policy.
