Back to Browse

Power Apps Code Apps + Power Automate Flows πŸš€ (NEW feature)

8.9K views
May 18, 2026
22:39

Power Apps Code Apps just unlocked one of the most-requested capabilities: calling Power Automate cloud flows directly from your React code β€” with typed inputs, typed responses, and full IntelliSense. In this full tutorial I walk through the entire workflow end-to-end, from the npm CLI commands to writing the React code that triggers the flow, passes parameters, and handles the response. Then I take it further and showcase a full-fledged Help Desk code app that triggers a real approval workflow β€” so you can see exactly how this fits into a production-grade scenario. πŸ”— Microsoft Docs reference - Add Power Automate flows to a code app: https://learn.microsoft.com/power-apps/developer/code-apps/how-to/add-flows ⏱️ What you'll learn: - How Power Automate integration works in Power Apps Code Apps - Prerequisites: solution-aware flows + the PowerApps trigger - Listing available flows with `npx power-apps list-flows` - Adding a flow to your code app with `npx power-apps add-flow` - What gets generated: TypeScript service classes, models, and more. - Writing React code to call the flow's `Run` method - Passing input parameters and handling the typed response - Error handling with the success / data / error pattern - Updating flows in your code app - Help Desk app that triggers an approval workflow πŸ› οΈ Tech stack: - Power Apps Code Apps - Power Automate (cloud flows) - React + TypeScript - @microsoft/power-apps npm package - VS Code ⚠️ Important notes: - Only flows using the PowerApps trigger are supported (no scheduled or automated flows) - Flows must be solution-aware - End users need the App Opener security role (or equivalent) in Dataverse - Flow commands are only in the npm CLI β€” not pac code #PowerApps #PowerAutomate #CodeApps #React #PowerPlatform ➑️ The link to download apps/flows is in Community Tab for Channel Members (Gold πŸ₯‡ OR Silver πŸ₯ˆ) To become a member, click here: https://www.youtube.com/rezadorrani/join ⏱️ Chapters: 00:00 β€” Intro to call Power Automate Flows from Power Apps Code Apps 00:32 - Flows in code apps 00:59 β€” Step by step build flow and trigger from Power Apps code apps 03:59 - Build code app from scratch and call Power Automate flow 08:37 - Run the workflow from code app 11:48 - Update flow connected to a Code App 14:24 - Respond to Power Apps code app from flow 17:58 - Code App triggers an approval workflow

Download

1 formats

Video Formats

360pmp432.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Power Apps Code Apps + Power Automate Flows πŸš€ (NEW feature) | NatokHD