These three JSON files are ready-to-use request bodies for the Decionis “Evaluate a governed decision before execution” action (POST /v1/power-automate/policy-check). They mirror the three finance actions Microsoft reviewers asked about.
A customer refund above the sample policy threshold — typically returns escalate.
A vendor payment with an unmatched vendor record — typically returns escalate or block.
A small in-policy discount — typically returns allow with continue_flow: true.
<YOUR_DECIONIS_ORG_ID> in each file. Installing Decionis in Microsoft Teams provisions the workspace automatically from your Microsoft Entra ID sign-in; the Org ID is shown (with a copy button) when you enable Power Automate in the Decionis tab → Settings.decision:write scope — provisioned and shown once when you toggle Enable Power Automate in the Decionis tab → Settings (or rotate it in the workspace console).curl -sS -X POST https://api.decionis.com/v1/power-automate/policy-check \
-H "Authorization: Bearer $DECIONIS_API_KEY" \
-H "Content-Type: application/json" \
-d @refund-approval.json | jq '{verdict, continue_flow, risk, reason, dossier_id, verification_url}'You get back a verdict (allow / block / escalate / delay), the boolean continue_flow your flow branches on, a dossier_id, and a public verification_url. The verdict reflects your org’s policy, not the payload — a small in-policy discount typically returns allow; a large refund or an unmatched vendor payment typically returns escalate or block.
continue_flow equal to true — on No, stop or route to approval; on Yes, continue your existing automation.Open the Decionis app in Teams → Dossiers tab. The action you just gated appears with its verdict, risk, and a link to the signed Decision Dossier. Actions your policy escalates also post an interactive Approve/Reject card into the connected team channel. That is the full loop: your Power Automate flow initiated the action, Decionis gated it, and the result is surfaced in Teams.