Microsoft Teams notifications

Configure Microsoft Teams to receive instant notifications about your PostgreSQL backup status. Get alerts for successful backups, failures and warnings directly in your Teams channels.

Setup Teams webhook

1. Open your Teams channel

Navigate to the Microsoft Teams channel where you want to receive backup notifications. Click on the three dots (•••) next to the channel name.

Open Teams channel

2. Access workflows

From the channel menu, select "Workflows" to open the Power Automate integration.

Access Workflows

3. Create new workflow

In the Workflows panel, click on "Create" or search for "Post to a channel when a webhook request is received" template.

Create new workflow

4. Select webhook template

Choose the "Post to a channel when a webhook request is received" template from the available options.

Select webhook template

5. Configure webhook

Set up the webhook by providing a name (e.g., "Postgresus Backup Notifications") and confirm the channel where notifications will be posted.

Configure webhook

6. Copy webhook URL

After creating the workflow, you'll see the HTTP POST URL. Copy this URL - you'll need it for Postgresus configuration.

Copy webhook URL

Configure in Postgresus

1. Add Teams notifier

In Postgresus, navigate to the notifiers settings and add a new Microsoft Teams notifier. Paste the webhook URL you copied from Teams.

Configure Teams in Postgresus

2. Test the notification

After configuring the webhook, test the notification to ensure it's working correctly. You should receive a test message in your selected Teams channel.

That's it! Your Microsoft Teams channel is now configured to receive PostgreSQL backup notifications from Postgresus.