Skip to navigation

Send Postman Monitor notifications to your Microsoft Teams channels

View as Markdown

You can set up Postman Monitors to automatically send monitor results to a Microsoft Teams channel or group chat. Each time the monitor runs, you’ll get notified in Teams. Alternatively, you can create a Microsoft Teams workflow to connect your monitors to your Teams channels. When Postman runs your monitor, you’ll get notified in the Teams channel of your choice.

Configure monitors to send notifications to Microsoft Teams

You can connect a Microsoft Teams channel or group chat when you create a new monitor or when you edit an existing monitor.

To send Postman Monitor results to Microsoft Teams from Monitors, do the following:

  1. Click Services icon Services then expand Monitors in the sidebar.

  2. Click Add icon and select Monitor from the list.

  3. When you configure your new monitor, on the Create Monitor page, click Send updates to. Then, under Communication channels, click Microsoft Teams.

  4. If you haven’t connected Microsoft Teams to Postman yet, a browser tab opens with a warning that you are being redirected to complete the authorization on the Microsoft site. Click Continue. If the app has been correctly configured in Teams, the authorization is successful and you are redirected back to Postman.

  5. In the Connect Microsoft Teams dialog, for Conversation type, select Channel or Group chat:

    • Channel - Select a Team and a Channel. The channel must be a standard channel. Other channel types aren’t supported.
    • Group chat - Select a Group chat.
  6. Under Send notifications for…, choose one of the following:

    • Every completed run - Postman sends a notification each time the monitor finishes a run.
    • Failures only (and first consequent successful run) - Postman sends a notification when a run fails, and again for the first successful run after the failures. To stop notifications after repeated failures, enter the number of consecutive failures after which Postman stops sending notifications. The default is 3.
  7. Click Connect.

  8. You’ll receive a confirmation message in the selected Microsoft Teams channel or group chat once the connection is established.

After connecting the Microsoft Teams channel or group chat, Postman sends monitor results based on the selected settings.

Create a Microsoft Teams workflow

You can use a Microsoft Teams webhook URL to connect Teams and Postman. For example, you can send Postman Monitor results to your Teams channel.

Important: Microsoft Teams plans to replace connectors with workflows. If you’ve set up connectors, follow these steps to switch to workflows. To learn more, see Retirement of Office 365 connectors within Microsoft Teams.

To create a Microsoft Teams workflow, do the following:

  1. Sign in to your Microsoft Teams account.
  2. Open an existing Teams channel or create a new one.
  3. Next to your channel, click More options > Workflows.
  4. Search for “Post to a channel when a webhook request is received” and select the workflow.
  5. (Optional) Rename your workflow or edit your connection.
  6. Click Next.
  7. (Optional) Choose a different team or channel.
  8. Click Add workflow.
  9. Copy the webhook URL and save it somewhere for later use. You’ll need it to connect Teams and Postman.

To learn more, see Use flows in Microsoft Teams.

Send Postman Monitor results to your Microsoft Teams channel

Before you can send your Postman Monitor results to one of your Microsoft Teams channels, create a Microsoft Teams workflow.

To send Postman Monitor results to a Microsoft Teams channel, do the following:

  1. From the Postman Home page, click Integrations.

  2. Search for Microsoft Teams and open the page.

  3. Next to Post monitoring results via workflows, click Add Integration.

  4. Add your integration:

    • Nickname - Enter a nickname.
    • Choose workspace - Choose the workspace with your monitor.
    • Choose monitor - Choose your monitor.
    • Workflow URL - Paste your webhook URL from the previous section.
    • Configure when monitor runs must be notified - Choose when you want to notify your Teams channel.
  5. Click Add Integration.

Postman sends your monitor results to your Microsoft Teams channel.