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

Notifications

Announcements

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,325 Super User 2025 Season 2

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,187 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,325 Super User 2025 Season 2 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,187 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard