web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / User Power Apps Button...
Power Automate
Unanswered

User Power Apps Button to Trigger Manual Flow

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I have the following Power Apps screen and the following flow.

The flow creates and Excel workbook out of a SPList.

Is there a way to cause the Power Apps screen 'Print Report' button to trigger the flow?

Phineas_1-1708203629282.png

 



Phineas_0-1708203399194.png

 

Categories:
I have the same question (0)
  • ivan_apps Profile Picture
    2,189 Moderator on at

    Yes, it’s easy but you’ll have to change your flow a bit. Instead of ‘manually trigger a flow’ you’ll want the Power Apps v2 trigger. It’s similar to the manually trigger a flow in the sense you can set variables that you want as input parameters. 

    the you’ll have to go back to your app and go to the Flows section on the left nav bar. You can add the flow now that it has the Power Apps v2 trigger. 

    on your Run Report button you’ll invoke the flow by typing the Flow Name as it appears in the left panel + .Run(parameters). So it looks like this: FlowWithAppsTrigger.Run(id)

     

    Now if you are expecting a response back from the Flow - you’ll have to add a ‘Respond to Power Apps’ action. You can set the output parameters and it will pass it back to the calling function. Note that once you add the Respond To PowerApps action, your flow becomes synchronous up to that point.

  • Phineas Profile Picture
    5,331 Moderator on at

    My flow averages about 4:00 - 4:30 minutes to run.

    It is generating 150 items across seven columns.

    Not sure if the time is within limits or an issue?

    Power Apps kicked back the following error. Could this be because of the 'Respond to Power apps' action I added?

    Phineas_0-1708209557635.png


    Phineas_2-1708209693199.png


    Phineas_1-1708209657708.png

     

  • ivan_apps Profile Picture
    2,189 Moderator on at

    Yes that’s exactly it, since it made the flow synchronous it will make the user wait until it’s finished before proceeding. I believe you have at most a minute or 2 that Power Apps lets you wait. You’ll have to either remove the respond to Power Apps completely or move it before your long running operation. You can email the response back to the user if you want or update a status column on your record when the operation is complete, then give a refresh button to the user to check the status.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard