Introduction
Overview
In this module, you build an automated order approval process for Northwind Traders using a Power Automate cloud flow. The flow runs when an order is set to New, calculates the total order value from its line items, and routes it through a two-tier approval: orders above 1,000 USD require manager approval, and orders above 10,000 USD also require executive approval. If any approver rejects the order, the flow stops immediately. When the order is approved, the flow creates an invoice in Dataverse.
Why this matters
Manual approval routing slows order processing and introduces risk when emails are missed or follow-up is delayed. A cloud flow standardizes the approval path, enforces thresholds consistently, and creates invoices automatically after approval so sales operations can move faster with fewer manual steps.
Scenario
Northwind Traders needs to automate order approvals based on total order value. Orders over 1,000 USD require manager approval, and orders over 10,000 USD require an additional executive approval. Rejected orders should stop immediately, and approved orders should create an invoice in Dataverse.
Core concepts
- Dataverse event triggers for automated cloud flows.
- OData filtering to read related row data.
- Variables, loops, and expressions for value calculation.
Learning outcomes
By the end of this module, you will:
- Create an automated cloud flow triggered by Dataverse events.
- Read and filter related Dataverse rows with OData expressions.
- Use variables, loops, and expressions to transform data.
Prerequisites
This lab is self-contained. You do not need to complete any other module first.
A Power Platform development environment where you have maker permissions. Dataverse requires premium capacity; a free developer environment covers everything in this lab.
An email-capable account to receive approval requests. Two accounts (or two designated participants) are ideal so approvals land in a different mailbox.
Note
One account works too. Assign both approvals to yourself and respond to every request from your own mailbox, the Approvals app in Microsoft Teams, or the Power Automate Approvals center.
A modern browser such as Microsoft Edge or Google Chrome.
The Northwind Traders solution imported into that environment and seeded with sample data. Follow the import and Northwind Sample Data app steps below.
Installing sample data
Follow these steps to import the Northwind Traders solution into your Power Platform environment and seed it with sample data.
Step 1: Import the solution
Go to https://make.powerapps.com and select the environment you want to use.
In the left navigation, select Solutions.
Select Import solution.
Select Browse and choose
NorthwindTraders_1_0_0_12.zipfrom thesolutionsfolder of this repository. Use version 1.0.0.12 or later for labs that require the Weather Details custom connector.Select Next, review the details, and select Import.
Wait for the import to complete. A confirmation message appears when the solution is successfully installed.
Step 2: Run the Northwind Sample Data app
Once the solution is imported, use the included Northwind Sample Data canvas app to populate the Dataverse tables with sample records.
In Solutions, open the Northwind Traders solution.
Locate the Northwind Sample Data app and select Play to launch it.
In the app, select Load Data.
Wait for the seeding process to complete. A success message confirms the data has been loaded.
Note
If the Load Data button is disabled or grayed out, sample data may already be present. Select Remove Data first, then re-run the installation.
Step 3: Verify the data
After seeding, confirm the sample records are available in Dataverse.
Return to https://make.powerapps.com and select your environment.
In the left navigation, select Tables.
Search for the Suppliers table and confirm it contains records.
✅ The environment is now ready for use with the workshop labs.
Lab instructions
Names used in this lab
Rename the flow and every action as you create them, using the names below. Later steps and dynamic content pickers refer to these names, so using them exactly keeps your screen matching the instructions. The first rename is explained in this module and every later rename works the same way. The trigger keeps its default name and can't be renamed.
| Component | Name |
|---|---|
| Cloud flow | Order Automation |
| List rows action | List Order Details |
| Initialize variable action | Init Order Value |
| Apply to each loop | Calculate Order Value |
| Increment variable action | Increment Order Value |



