Microsoft Power Automate enables you to automate workflows between your favorite apps and services to get notifications, synchronize files, collect data, and more. It offers over 140 services with predefined flows that you can implement.
You can configure Microsoft Power Automate with Postman to monitor run results and view team and collection-specific activity feeds. You can also back up your Postman Collections and use a Microsoft Power Automate Webhook URL.
You can view your configured integrations on the Browse Integrations page. You can also view integrations that have been configured for a monitor or collection by opening the monitor or collection and selecting the information icon in the right sidebar. Learn more about viewing or editing integrations.
Sign in to Microsoft Power Automate, select My Flows, then select Create from blank.
Search for "request" in the search bar. Select the Triggers tab, then select Request / Response - Request.
Enter the JSON schema for the integration type you're creating. For details, see Example JSON schemas.
Select New Step > Add an Action and configure your specific service. For this demo, connect your Postman Monitor to the Microsoft Power Automate mobile app. On every monitor run, you'll receive an in-app notification in the Microsoft Power Automate mobile app. Select Notifications from the list of services and choose the Send me a mobile notification action.
You can customize the text notifications by choosing your wording and adding content derived from your Postman Monitor run results.
Select Create Flow.
To get the generated webhook URL, select Request. Copy this webhook and save it for later.
From the Home page, select Integrations.
Select Browse All Integrations.
Search for and select Microsoft Power Automate.
There are four available Microsoft Power Automate integrations:
It's important to back up your Postman Collections for safekeeping. Microsoft Power Automate helps you do this with services like Box (a cloud-based storage solution), but you can also use it to back up to your custom DB2 instance.
To back up a collection in Microsoft Power Automate, do the following:
Enter the following in the Add Integration window:
Select Add Integration.
Postman often checks your collection for changes. If Postman identifies changes when it checks your collection, the changes automatically send to Microsoft Power Automate.
In the Postman activity feed, you can view changes your teammates make to your Postman Collection. Integrating with Microsoft Power Automate enables you to send these updates to email services like Outlook, Gmail, or a custom SMTP service. You can also set up Twilio to text you when updates are made to your feed.
To send a collection activity feed to Microsoft Power Automate, do the following:
Enter the following in the Add Integration window:
Select Add Integration.
Postman Monitors enable you to run your collections on a schedule with no manual intervention. With the Microsoft Power Automate integration, you can use those results by connecting to other available services.
To send monitor run results to Microsoft Power Automate, do the following:
Enter the following in the Add Integration window:
Select Add Integration.
Your integration has been set up. Whenever a monitor runs, you will get a notification on your Microsoft Power Automate mobile app.
In the Postman activity feed, you can track changes made to your collections and within your team. Integrating with Microsoft Power Automate enables you to send these updates to email services like Outlook, Gmail, or a custom SMTP service. You also have the option to set up Twilio to text you when updates are made to your feed.
To send a team activity feed to Microsoft Power Automate, do the following:
Enter the following in the Add Integration window:
Select Add Integration.
Use these example JSON schemas to help you create your Microsoft Power Automate webhook URL.
Use this example JSON schema to help you create an integration that backs up a collection.
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {},
"id": "http://example.com/example.json",
"properties": {
"collection": {
"id": "/properties/collection",
"properties": {},
"type": "object"
}
},
"type": "object"
}
Use this example JSON schema to help you create integrations that post collection activity and post team activity.
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {},
"id": "http://example.com/example.json",
"properties": {
"action": {
"id": "/properties/action",
"type": "string"
},
"collection_name": {
"id": "/properties/collection_name",
"type": "string"
},
"collection_uid": {
"id": "/properties/collection_uid",
"type": "string"
},
"message": {
"id": "/properties/message",
"type": "string"
},
"model": {
"id": "/properties/model",
"type": "string"
},
"model_name": {
"id": "/properties/model_name",
"type": "string"
},
"model_uid": {
"id": "/properties/model_uid",
"type": "string"
},
"user_id": {
"id": "/properties/user_id",
"type": "string"
},
"user_name": {
"id": "/properties/user_name",
"type": "string"
}
},
"type": "object"
}
Use this example JSON schema to help you create an integration that posts monitoring results.
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {},
"id": "http://example.com/example.json",
"properties": {
"collection_name": {
"id": "/properties/collection_name",
"type": "string"
},
"collection_uid": {
"id": "/properties/collection_uid",
"type": "string"
},
"environment_name": {
"id": "/properties/environment_name",
"type": "string"
},
"environment_uid": {
"id": "/properties/environment_uid",
"type": "string"
},
"metrics": {
"id": "/properties/metrics",
"properties": {
"errors": {
"id": "/properties/metrics/properties/errors",
"type": "integer"
},
"failedTests": {
"id": "/properties/metrics/properties/failedTests",
"type": "integer"
},
"passedTests": {
"id": "/properties/metrics/properties/passedTests",
"type": "integer"
},
"requestCount": {
"id": "/properties/metrics/properties/requestCount",
"type": "integer"
},
"totalLatency": {
"id": "/properties/metrics/properties/totalLatency",
"type": "integer"
},
"warnings": {
"id": "/properties/metrics/properties/warnings",
"type": "integer"
}
},
"type": "object"
},
"monitor_name": {
"id": "/properties/monitor_name",
"type": "string"
},
"monitor_uid": {
"id": "/properties/monitor_uid",
"type": "string"
},
"user_id": {
"id": "/properties/user_id",
"type": "string"
},
"user_name": {
"id": "/properties/user_name",
"type": "string"
}
},
"type": "object"
}
Last modified: 2024/07/01