Skip to main content

How to Add a Flow to a Canvas App in Power Apps

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

A canvas app can run a flow only after the flow has been added to the app. In Power Apps Studio, open the Power Automate pane, select Add flow, and pick the flow. It then appears under In your app, with the name your formulas use.

Microsoft's Power Automate pane article lists what you need to add an existing flow: access to the flow, access to the flows in the same solution, and a Power Apps trigger for your flows.

The example is the Overtime Timesheet app, which gets Get Waiting Approvals, a flow from its own solution.

Prerequisites​

Step 1: Open the Power Automate Pane​

On the narrow bar at the far left of Studio, select More (…), then Power Automate:

The More menu opened from the left bar of Power Apps Studio, listing Themes, Media, Power Automate, outlined in red, and Advanced tools, over the Tree view with App and Home Screen

Step 2: Select Add Flow and Pick the Flow​

In the pane, select Add flow. The Add a flow list offers Create new flow and, under Add a flow from a solution in this environment, the flows you can add, grouped by type. Select yours:

The Power Automate pane with the Add a flow list open: Search, Create new flow, and under Add a flow from a solution in this environment, the Instant group with Get Waiting Approvals, Instant, outlined in red

Step 3: Find It Under In Your App​

The flow moves to In your app. Under its display name is the name formulas use, without spaces:

The Power Automate pane with In your app listing Get Waiting Approvals, with GetWaitingApprovals below it and a More button on the right

Its More (…) menu holds Edit, Refresh and Remove from app. Adding the flow doesn't put it in any formula: you call it where you need it, such as a button's OnSelect (How to Run a Flow and Use Its Result in Power Apps).

Calling the added flow
GetWaitingApprovals.Run()

Common Mistakes​

MistakeWhat happensDo this instead
Looking for a flow with another triggerIt isn't offeredGive it the Power Apps (V2) trigger
Changing the flow later without updating the appThe app keeps the flow's old definitionRefresh it in the pane
Using the display name in formulasSpaces aren't allowed thereThe name under it, such as GetWaitingApprovals

Troubleshooting​

SymptomLikely causeFix
The flow isn't in Add a flowNo Power Apps trigger, or no access to itCheck the trigger and the flow's owners
Run() isn't offered after the nameThe flow isn't in the appAdd it, then type the formula
The app shows old outputsThe flow changed outside StudioRefresh the flow

FAQ​

Does removing the flow from the app delete it?​

No. Microsoft's article says Remove from app only removes the flow from the app, while the flow remains intact in the environment.

Can I edit the flow from Studio?​

Yes, with Edit in the flow's More menu. Changes made in Power Automate itself need a Refresh in the app (How to Refresh a Flow in a Canvas App in Power Apps).

Conclusion​

Open More > Power Automate in Studio, select Add flow, and pick a flow with the Power Apps trigger. It appears under In your app, ready to call as FlowName.Run().

Additional Resources​