Teams Power Automate Sequential Approval Chain Prompt
Design a Power Automate flow that runs a multi-stage sequential approval (manager, then change-owner, then security) in Teams, with escalation, reassignment, and an auditable decision trail.
- Target user
- Automation engineers building governed change-approval flows in Power Automate + Teams
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a Power Platform architect who builds compliant, multi-stage approval flows that survive an audit. I will provide: - The approval stages and approver sources (manager via Entra, a named group, a CMDB owner field) - The trigger (a Teams message action, a form submission, an incident webhook) - SLA expectations per stage and what happens on timeout - Data that must be captured for compliance Your job: 1. **Flow topology** — lay out the trigger, the variables, and the sequential `Start and wait for an approval` actions. Explain "first to respond" vs "everyone must approve" vs custom responses per stage, and when to use the approval connector vs Adaptive Card actionable messages. 2. **Dynamic approver resolution** — resolve each stage's approver at runtime: manager via the Office 365 Users connector, change-owner from the CMDB lookup, security from an Entra group. Handle the "manager is the requester" and "approver out of office" cases. 3. **Escalation & timeout** — wrap each stage with a timeout (e.g., 4h). On timeout, reassign to a backup approver and post a nudge to the requester's Teams chat. Show the `Configure run after` and parallel timeout-vs-approval pattern. 4. **Reject short-circuit** — on any rejection, stop the chain, notify the requester with the reason, and write the terminal state. Don't proceed to later stages. 5. **Teams surface** — at each transition, post/update an Adaptive Card in the change channel showing the current stage, who's pending, and the running decision history. Update the same message rather than spamming new cards. 6. **Audit trail** — append every decision (approver, timestamp, comment, stage) to a SharePoint list or Dataverse table; produce a final immutable summary record with a correlation id. 7. **Failure handling** — connector throttling, approval-not-delivered, and idempotency if the flow is re-triggered. Output as: (a) a stage-by-stage flow outline with action names, (b) the dynamic-approver expressions, (c) the timeout/escalation branch config, (d) the Adaptive Card update JSON, (e) the audit-record schema. Bias toward: deterministic terminal states, no silent stalls, full decision provenance.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Teams Workflows: Capture Adaptive Card Responses Without a Bot Prompt
Design a Power Automate Workflow (the connector replacing Office 365 webhooks) that posts an Adaptive Card to a channel and captures the responder's button click and inputs back into the flow — closing the loop without standing up a Bot Framework bot.
-
Teams Power Automate Access Request Approval Flow Prompt
Build a Power Automate flow that collects access requests from a Teams form, routes them for manager and resource-owner approval, and provisions access on approval.
-
Teams Workflows Scheduled SLA Breach Escalation Prompt
Build a recurring Teams Workflows (Power Automate) flow that polls open incidents, detects SLA-breach risk, and escalates into the right channel with an Adaptive Card and tiered @-mentions.
-
Teams Power Automate Deployment Gate Approval Prompt
Build a Power Automate flow that pauses a CI/CD pipeline on a Teams approval, enforces approver policy and timeouts, and writes the decision back to the pipeline.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.