# Mattermost reminders for pull request reviews

> Nudge reminds the reviewer responsible for each GitHub, Gitea or Forgejo pull request in their Mattermost DMs until it's reviewed. Connect with a Mattermost bot token.

Nudge reminds the one person responsible for each pull request, in their Mattermost DMs, until they review it. It works with GitHub, Gitea and Forgejo, and with self-hosted Mattermost. Mattermost support is in beta.

## What reviewers get in Mattermost

-   **A direct message from your Nudge bot when they're assigned**, with the pull request, its size, CI status and a link to review.
-   **Follow-up nudges on a schedule**, inside working hours, until they approve or request changes, or the pull request is merged or closed.
-   **A post per pull request in the repository's channel**, with reviews and comments threaded under it, and a daily digest of what's waiting.
-   **Nudge's status icons** for CI and review state, added to your server as custom emoji.

The schedule, escalation and reviewer pools are the same as on Slack. See [Nudges and escalation](https://nudgepr.dev/docs/nudges).

## Connecting Mattermost

1.  A system admin adds a bot account under Integrations → Bot Accounts and copies its access token.
2.  They add the bot to the team Nudge should use.
3.  In Nudge, open **Connections**, choose **Mattermost**, and paste the server URL and the token.

Full steps are in [Connecting Mattermost](https://nudgepr.dev/docs/connect-mattermost), and the [Mattermost announcement](https://nudgepr.dev/blog/mattermost-support) covers why we built it.

## Questions

Does Nudge work with Mattermost?

Yes, in beta. Add a bot account in Mattermost and paste its access token into Nudge's Connections page. Reviewers get DMs from the bot, and each repository's channel gets a post per pull request and a daily digest.

Does it work with self-hosted Mattermost?

Yes. Your server must be reachable from the internet, so Nudge can post as the bot.

How are reviewers matched to Mattermost users?

By email: the reviewer's email from the git host, or the email of the Nudge member they're linked to. The bot needs to see email addresses: give it the System Admin role or turn on Show Email Address. Anyone left unmatched can be linked by hand on Connections.

Can we use Slack and Mattermost together?

Each Nudge workspace sends reminders through one chat tool, Slack or Mattermost. Pricing is the same either way: Free for 1 repository, 1 reviewer pool and up to 4 reviewers, then Pro per reviewer.
