Create the desktop flow
Open Power Automate on your Windows machine and sign in with your lab account.
đź”§ Setup check: Select Settings and confirm the account and environment match Module 2. A desktop flow signed in as anyone else creates orders the approval flow silently ignores, because its trigger uses User scope.
Select New > Flow.
In Flow name, enter:
Import Legacy OrdersLeave Power Fx enabled switched off, leave the other options at their defaults, and select Create.
Important
⚠️ Important: Every expression in this lab uses the %variable% notation, which only works when Power Fx enabled is off. Enabling Power Fx replaces this notation with a different formula language—a per-flow choice made at creation—so if you switch it on, none of the expressions below will work.
Selecting Create opens the flow designer in a new window: an Actions pane on the left to search for actions, a canvas in the middle where actions run top to bottom, and a Copilot pane on the right. The pane this lab uses on the right is Variables. It isn't shown by default, so select the {x} (Variables) icon on the right edge to open it. It lists every variable the flow produces. The console stays open in the background. You return to it later.
The flow you build next reads the file first, creates the order without a status, and sets the status to New as its final action. In the app, the approval flow fired when you saved the completed order with status New; in a desktop flow, every action writes to Dataverse immediately, so that final status update plays the role of the save. It's the modification that fires the approval flow.


