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 / Trigger a button flow ...
Power Automate
Unanswered

Trigger a button flow from sharepoint library

(0) ShareShare
ReportReport
Posted on by 44

I have a library. I have made a button triggered flow to get file contents from a template and create a new file in said library. How can i get this flow triggered from the library? It doesnt show up in the flow menu as it is a button flow.

My workaround is to use "for selected file" as a trigger, but i wish to avoid to have to select a file to be able to trigger it.

 

thanks

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Hi!
    You mean a button applying to the whole library?
    I would say such functionality is not supported by Microsoft Power Automate (aka Flow) ... I am also using the workaround you suggest, but let's wait and see if somebody else gives us good news
  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @FH1000 

    You can try using the SPFx 'Command Sets' extension to design a button to trigger the flow. Please follow the below link for creating the extension.

    https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api

    compareOneCommand.visible = event.selectedRows.length === 1;

    You can modify the above condition and enable the button to be visible always to the library.

     

    Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue

    -Sudharsan K...

  • efialttes Profile Picture
    14,756 on at

    @sudharsan1985 

    Wow! I was not aware of such functionality! At a first glance, it looks like Outlook add-ins feature

    Thanx for sharing!

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
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard