Trigger Power Automate Flows from Power Apps Code Apps (Full Tutorial)
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 Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to Trigger Power Automate Flows from Power Apps Code Apps (Full Tutorial)
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.