Microsoft Power Automate
Last updated
Last updated
Microsoft Power Automate is a desktop and cloud automation tool.
💲 Using request/response steps in Power Automate requires a Premium Power Automate Account
Create an Instant cloud flow
Select “When an HTTP request is received” as the trigger
Expand the “When an HTTP request is received” step
Set “Who can trigger the flow” to Anyone
Save the flow
Copy the URL in HTTP POST URL
In the PixieBrix Page Editor, add the HTTP Request brick
Set the following configuration fields:
URL: the URL from the HTTP POST URL field above
Method: POST
(Power Automate defaults to POST)
JSON Data: the request body
Add a “Response” step to the flow
Set the Status Code field to 200
to indicate a successful request/response. Information on HTTP status codes is available here
Set the Body to the response you want to return:
🛡️ These APIs require authenticating with Microsoft Dataverse/Power Automate
See Microsoft’s Work with Cloud Flows using Code documentation
See Section “Trigger an Instant Cloud Flow from PixieBrix” above
Add a “Run a flow built with Power Automate for desktop” step to the flow
📚 For detailed documentation, see Microsoft’s Run desktop flows via URL or desktop shortcuts documentation
Find the Run URL in the Flow’s Properties
Copy the Run URL from the properties blade:
In PixieBrix, add an “Open a tab” brick
Paste the copied URL into the URL field
Optional: you can disable the browser confirmation when opening custom URL schemes: Integrate with Desktop Apps via Custom URL Schemes
🛡️ These APIs require authenticating with Microsoft Dataverse/Power Automate
See Microsoft’s Trigger a desktop flow run developer documentation