Power Automate PO Approval with Multi-Entity Policy
Validate purchase orders in Power Automate against entity-specific approval thresholds, vendor approval lists, and budget availability before routing — without maintaining complex approval matrices per entity.
Overview
This integration connects Microsoft Power Platform with Corules's policy enforcement runtime. Your existing Microsoft Power Platform workflows call Corules's REST API (or MCP server) to enforce policy constraints before any business action completes.
All policy logic stays in Corules — your Microsoft Power Platform configuration only needs to call the endpoint and route based on the ALLOW / BLOCK / ESCALATE response.
Setup steps
- 1
Import Corules Custom Connector to Power Platform
- 2
Configure entity-specific parameters in Corules admin (AU thresholds: $10k/$50k/$100k, EU: €8k/€40k/€80k)
- 3
Add Corules 'Get Constraints' action to PO creation Flow to retrieve required approver level
- 4
Route the PO to the correct approver based on returned constraint (manager / director / executive)
- 5
On approval completion, call Corules 'Validate Decision' with approver identity for audit log
Code example
The following snippet shows how to call Corules from Microsoft Power Platform. Replace YOUR_USE_CASE_ID and YOUR_API_KEY with your tenant credentials.
// Get Constraints: what approval level is required?
POST /v1/constraints
{
"use_case": "po_approval",
"actor": "{{ requestor_upn }}",
"context": {
"amount": 45000,
"currency": "AUD",
"entity": "AU",
"vendor_id": "VND-0042",
"department": "engineering",
"budget_code": "ENG-2026-Q1"
}
}
// Response:
{
"constraints": {
"required_approver_level": "director",
"vendor_status": "approved",
"budget_remaining": 112000
}
}Language: json
Frequently Asked Questions
Can thresholds be maintained in Corules rather than Power Automate?
Yes — that is the design intent. Approval thresholds live in Corules parameters, not in Flow logic. Business owners update thresholds in Corules; the Flow reads them at runtime.
Connect Microsoft Power Platform to Corules
Start free — integration templates are available on every plan.
Get started free