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 / 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

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard