Slack

The Postman to Slack integration enables you to send many Postman notifications to a Slack channel, including the results of a Postman monitor run, notifications received in the Postman notification center, or activity in your Team Activity Feed.

Configuring Postman with Slack

  1. From the Home page select Integrations.

  2. Select Browse All Integrations.

  3. Search for and select Slack.

  4. On the Slack integration details, there are three available integrations:

  5. After you select the integration type, a browser window asking you to log in to Slack opens. If you are not signed in to a Slack workplace, enter your workspace URL and sign in with your email and password or SSO.

    This window may be blocked by your pop-up blocker.

  6. On the Permission request page:

    • Postman will request permission from Slack to view content and information about you. Select the level of security from the list.
    • The Receive Postman Notification integration will configure a Slack bot. Verify that the actions it asks permission for are acceptable in your Slack workplace.
    • For other integrations, 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.

Send your monitor run results to Slack

Before beginning, you must create a monitor. For more information, see setting up a monitor.

  1. After completing the above steps, enter the following in the Add integration screen:

    • Nickname - A nickname for your integration.
    • Workspace - The workspace that contains your monitor.
    • Monitor - The monitor which will send its results to Slack.
    • Slack Webhook URL - The webhook URL. This field will be pre-filled from the authorization process.
    • Slack Channel - The channel where the integration will post. This field will be pre-filled from the authorization process.
    • Advanced Options - Select the Advanced Options link to specify if you want notifications for all completed monitor runs, or notifications for three failed monitor runs and then the first successful monitor run.
  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 in Slack

For the Receive Postman Notification integration, after completing the above steps, 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, then selecting Notification Preferences.

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 de-select the boxes next to each item. Select Update Preferences to save changes.

Add an activity feed to Slack

For the Post team activity integration, after completing the above steps, your integration will be configured. Your team's activity feed will send updates to the specified channel, as shown below.

configured_slack

Last modified: 2022/01/21