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 / Publish a Power Automa...
Power Automate
Unanswered

Publish a Power Automate to SharePoint sites

(0) ShareShare
ReportReport
Posted on by 6

Hi Guys, 

 

Can you help me with the following scenario. 

 

I have a SPO site which is saved as a template. In the site is a custom document library which has a simple publishing approval workflow assigned to it for document review. 

 

I use PNP to template the site so that we can create new sites from this template, however I want the Power Automate to be available to all sites that I provision going forward. 

 

How can I push a Power Automate out to new sites as part of the provisioning process, is this achievable through PNP or do I need to look at alternatives? 

 

As it stands currently I would save the Power Automate via Save As - manually download it and add it to each site I create which I would like to ideally automate. 

 

Many thanks 

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    What is the PowerAutomate trigger?  If it's an instant flow have you considered the trick provided by Eikhel -> https://powernimbus.com/2020/09/reuse-flows-connected-to-sharepoint-lists

     

    You can re-use the same flow across many sites and potentially run the flow from a button on a column using list formatting.

  • STEVE-M365 Profile Picture
    6 on at

    Hi, 

     

    Thank you for the quick reply - it will be a manual trigger so for when a document is ready for a review they would press a button to trigger it! 

     

     

  • STEVE-M365 Profile Picture
    6 on at

    Hi, 

     

    I have just reviewed the article and it suggests that the solution no longer works and to stay tuned for updates? 

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    He might be about to update the blog.  He's posted about it here https://github.com/Eickhel/PowerAutomate-Samples and I saw a live demo at the weekend and was in awe.  Re-usable flows!!

  • STEVE-M365 Profile Picture
    6 on at

    That sounds like it could work 🙂 

     

    Is this demo available online so I can review myself - or is it a case of sitting tight until he updates his blog? 

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @STEVE-M365 

    Might be a case of sitting tight, the demo was just this Sunday.  If you try creating a flow with an invalid Site and Library name and call it from a button on your doc lib, you can see that the file name and site is passed via the body element in the output of that trigger.  For example:

    DamoBird365_0-1612985458316.png

    And the output from a triggered run gives you:

     

    DamoBird365_2-1612985672420.png

    So if you are keen, you might be able to disect it yourself.  I've not yet done it myself but I was very interested by the concept.

     

    If you give it a go, please let me know how you get on.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard