Power automate workflow patterns
Design or modify Microsoft Power Automate cloud-flow architectures using proven workflow patterns. Use when building flows, choosing triggers/actions, structuring branches/scopes, adding SharePoint/Outlook/Dataverse automation, handling retries and errors, or translating n8n-style workflow routines into Power Automate without reinventing the process.
ByWals.pro teamPower Platform consultancy @ Wals.pro- name:
- power-automate-workflow-patterns
- description:
- Design or modify Microsoft Power Automate cloud-flow architectures using proven workflow patterns. Use when building flows, choosing triggers/actions, structuring branches/scopes, adding SharePoint/Outlook/Dataverse automation, handling retries and errors, or translating n8n-style workflow routines into Power Automate without reinventing the process.
Power Automate Workflow Patterns
Use this before designing or restructuring a Power Automate cloud flow. It adapts n8n-style workflow discipline to Power Automate concepts.
Pattern Workflow
- Pick the pattern from
references/cloud-flow-patterns.md. - Identify trigger, data source, transformation, action, and observability points.
- Keep solution-aware flows versioned through local artifacts.
- Use
power-automate-action-configurationfor connector payloads. - Use
power-automate-expression-syntaxfor conditions and dynamic content. - Use
power-automate-api-clientfor pull/diff/deploy/verify. - Use
power-automate-referenceto confirm trigger/actiontypevalues and keep expressions inside the real WDL function namespace.
Design Rules
- Prefer small, explicit branches over dense nested expressions.
- Use scopes to group transactional steps and error handling.
- Make connector boundaries visible: SharePoint lookup, Outlook send/draft, Dataverse write, HTTP call, etc.
- Add observable evidence for critical paths, such as log rows or status updates, when the business process needs auditability.
- Keep customer-facing send paths testable without sending directly from Claude.
Open this reference as its own page
Cloud-Flow Patterns
Official references:
- Cloud-flow overview: https://learn.microsoft.com/en-us/power-automate/overview-cloud
- Triggers overview: https://learn.microsoft.com/en-us/power-automate/triggers-introduction
- Work with triggers and actions: https://learn.microsoft.com/en-us/power-automate/work-with-triggers
- Limits and configuration: https://learn.microsoft.com/en-us/power-automate/limits-and-config
Core Patterns
Event Notification
Trigger from Dataverse, SharePoint, Outlook, HTTP, or custom connector; enrich data; send notification; log outcome.
Use for release notifications, approval notifications, status changes, and customer/internal alerts.
File Enrichment
Trigger on business event; resolve expected file path/name; list or fetch file; validate file content; attach or link file; log missing-file case.
Use for certificates, invoices, delivery notes, labels, and exports.
Approval or Gate
Trigger; collect context; request approval; branch on approval result; write business status; notify stakeholders.
Keep timeout, reassignment, and rejection paths explicit.
Scheduled Reconciliation
Recurrence trigger; list source records; compare against target state; process changes; write audit summary; notify only on exceptions or summary cadence.
Use pagination and connector limits deliberately.
Webhook or HTTP Intake
HTTP trigger; validate schema/signature; normalize payload; branch by event type; respond quickly; continue heavy work asynchronously when required.
Error Handling Scope
Group risky connector actions in a scope. Add success/failure scopes with
runAfter configured for Succeeded, Failed, TimedOut, or Skipped as
appropriate.
Cross-Cutting Choices
- Trigger type: automated, instant/manual, scheduled, HTTP/request.
- State: variables for transient flow state; Dataverse/SharePoint/log table for durable state.
- Branching: Condition/Switch for business decisions; Scopes for operational grouping.
- Error handling: retry policy for transient connector issues; explicit failure branch for business exceptions.
- Observability: run history is useful but time-limited; critical processes need durable logs.
Review Checklist
- Does the trigger match the business event and expected latency?
- Are connector limits, pagination, and concurrency considered?
- Are missing records/files handled as a business case, not an unhandled error?
- Is there a deterministic test path?
- Are customer-facing sends gated by review/draft policy when Claude is involved?
- Can a failed run be diagnosed from action names, logs, and outputs?
More in this playbook
Safe to turn on
Use this skill when an agent or person is about to create, change or enable an automation inside someone else's account or a shared environment: "create this workflow", "build it in the customer's account", "turn it on", "go live", "deploy this automation". Produces a proposal the human approves, an automation created in the off state, and a short list of what only the human can finish.
Workflow buildingMITn8n agents
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.
Workflow buildingMITn8n agents
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.


