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 Apps / Can we run Power Autom...
Power Apps
Answered

Can we run Power Automate inside Power Apps Component Library?

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I have created a Power Apps Component library and inside that I have called a Power Automate Flow to get some information from SharePoint.

 

When I test this inside the component on the screen, everything is working fine. I can see the results from Power automate.

 

When I add this component to a Power App after importing the component library, its failing to call the flow.

 

Component Library -> Screen 1 -> Component -> button -> Power automate (It is working fine)

 

Power App -> component -> button -> Power automate (It is not working. Power Automate is not triggering in this case)

 

I think, as the flow belongs to the component, I am not able to run it when I added to the other Power App.

 

If this is the case, what would be the approach to trigger a flow inside the component to get the details? 

 

Please help me in understanding where I did wrong and the correct approach here. Thank you.

I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ratnasatish ,

     

    Please try the following steps:

    1\ Import my component library to a new canvas app.

     

    2\ Add the component to the screen.

     

    3\ 

    v-xiaochen-msft_0-1619072608401.png

     

    4\ Add the flow to this app.

    v-xiaochen-msft_1-1619072675146.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

  • ratnasatish Profile Picture
    6 on at

    Hi Wearsky,

     

    Thank you for the steps. After adding the flow to the Canvas App, I am able to trigger the flow from the Component. 

     

    This seems that, we need to add the flow to all the Apps which are using the component. This seems to to be tricky, however, I expected that, irrespective of the App, just adding the flow inside a component can work for all the Apps using it.

     

    Is this a work around for this issue or this is only the expected behavior here? Please let me know. Thank you.

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ratnasatish ,

     

    This is a good idea.

    Currently powerapps does not support this behavior.

    You could post your good ideas here.

     

    Best Regards,
    Wearsky

     

  • swatibece Profile Picture
    8 on at

    Hi @ratnasatish ,

     

    Can you please share the screenshot, how have you called Power Automate from the component. As I cannot see the option to add Power Automate under Action menu. When I try to call Power Automate on button OnSelect in the component, it throws an error "Invocation of unknown or unsupported function." Please refer below screenshot for the issue I am facing:

     

    swatibece_0-1649233780498.png

     

    There is no option in the Action menu for Power Automate. Can you please help with this?

     

     

  • GabrielJamur Profile Picture
    5 on at

    Hi everyone!
    @swatibece same here.. Were you able to find a solution for this yet?

  • WLMHT_SR Profile Picture
    13 on at

    Thanks for your post.
    Message to Microsoft.
    PowerApps component library used to support adding flows. I have an old component that still works and calls to a flow (it's listed in the connectors/data I've added to the component, so I know for a fact it used to be possible to add them). I am getting hacked off with features being removed!!!

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 Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard