Microsoft Power Automate
Microsoft Power Automate is a desktop and cloud automation tool.
Trigger an Instant Cloud Flow from PixieBrix
💲 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
Returning a Response to PixieBrix
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 hereSet the Body to the response you want to return:
Other Cloud Flow API Operations
🛡️ These APIs require authenticating with Microsoft Dataverse/Power Automate
See Microsoft’s Work with Cloud Flows using Code documentation
Running Desktop Flows from PixieBrix
Running From Instant Cloud Flows
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
Running Directly using a Run URL
📚 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
Triggering directly via API
🛡️ These APIs require authenticating with Microsoft Dataverse/Power Automate
See Microsoft’s Trigger a desktop flow run developer documentation
Last updated