Integrate Postman with Slack

The Postman to Slack integration enables you to send Postman notifications to a Slack channel. You can send the results of a Postman monitor run, notifications received in the Postman notification center, or activity in your team activity feed.

Contents

Configure Postman with Slack

  1. From the Home page, select Integrations.

  2. Select Browse All Integrations.

  3. Search for and select Slack.

  4. There are three available Slack integrations. Select Add Integration next to the integration you want to add:

  5. After you select the integration type, a browser tab opens asking you to sign in to Slack. If you aren't signed in to a Slack workspace, enter your workspace URL and sign in with your email and password or SSO. If you're already signed in to a Slack workspace, select Continue.

    If someone on your team created an installed app for Slack, a message and green checkmark let you know you're already authenticated with your Slack workspace. You don't need to sign in or review permissions. If you want to connect to a different Slack workspace, select the link.

  6. On the Permission request page:

    • Postman will request permission from Slack to view content and information about you, and to perform actions in Slack.
    • For the Post team activity integration, select the Slack channel where the integration will post its messages. Note that you can't change this channel after you set it up. If you need to change channels later, delete the integration and create a new one.
  7. Select Allow.

    configure Slack
  8. Return to Postman, and complete the steps in the relevant section below for your integration type.

You can view your configured integrations on the Browse Integrations page. You can also view integrations that have been configured for a monitor by opening the monitor and selecting the information icon Information icon in the right sidebar. Learn more about viewing or editing integrations.

Post monitoring results

This integration works with collection-based monitors. Before you begin, make sure you've created at least one collection-based monitor.

  1. Enter the following on the Add integration window:

    • Nickname - A nickname for your integration.
    • Workspace - The workspace that contains your monitor.
    • Monitor - The collection-based monitor which will send its results to Slack.
    • Channel name - The channel where the integration will post. This field will be pre-filled from the authorization process.
    • Configure when monitor runs must be notified - Specify if you want notifications for all completed monitor runs, or notifications for three failed monitor runs and then the first successful monitor run.
    • Add Slack for your team - Check this box to enable members of your team to access channels from your organization’s Slack workspace within Postman.
  2. Select Add Integration.

The following is an example of a set of monitor results when sent to Slack:

configured_slack_example

Receive Postman notifications

For the Receive Postman notifications integration, after allowing Slack permissions, your integration will be configured.

After adding the integration, you can specify which notifications are sent to Slack. Update your notification preferences by selecting your avatar in the upper-right corner > Settings > Notifications.

Update notification preferences

In the Slack column, you can opt in to or out of notifications such as security, usage, monitors, and comments. Select or clear the checkboxes next to each item. Select Update Preferences to save changes.

You can't receive notifications in Slack when team members modify pull requests. You can receive notifications in Slack when you're mentioned in pull request comments. Select I’m mentioned in a comment in the On Slack column. To learn more about adding comments to pull requests, see Adding comments.

Post team activity

For the Post team activity integration, after allowing Slack permissions, your integration will be configured. Your team's activity feed will send updates to the specified channel.

configured_slack

Last modified: 2023/10/25