Duplicate a Power Automate Flow with Web API

  Рет қаралды 2,330

DamoBird365

DamoBird365

Күн бұрын

In this video, we explore the powerful capabilities of Power Automate and the Web API learn.microsoft.com/en-us/pow... to automate the duplication of flows across multiple SharePoint sites. If you've ever wanted to implement the same flow across many sites within your organization, this is the solution you've been looking for!
We start by showcasing a solution with parent and child flows, where the bulk of the functionality resides in the child flow. Then, we dive into the process of using Power Automate and the Web API to programmatically duplicate a flow and provision it on new SharePoint sites. This will duplicate the flow, add it to a solution and then turn it on, all with the click of a button!
The
00:00 Intro
00:56 Explore a Parent / Child Solution
02:48 Trigger the existing Parent
03:32 Create a new SharePoint Site and List
04:09 Create new Parent Flow via REST API
05:21 Trigger the new Parent
06:06 Check the existing solution
07:34 Explore the Flow and Web API
09:52 Connect to Web API via Azure HTTP
10:10 Get Flow Definition and ID
12:39 Create flow from definition
13:12 Add a flow to a solution
13:51 Turn a flow on via Web API
14:22 Create a duplicate personal flow
15:04 Outro
Please buy me a coffee www.buymeacoffee.com/DamoBird365 ☕

Пікірлер: 23
@jonathanmsmith
@jonathanmsmith 6 ай бұрын
This is exactly what I’ve been trying to figure out for about two years. Thank you for posting this!! Sent a coffee as a thank you late yesterday as well.
@DamoBird365
@DamoBird365 6 ай бұрын
Appreciate it greatly. Thank you 🙏 it’s very nice to hear how my video has helped 👍
@martinbubenheimer6289
@martinbubenheimer6289 8 ай бұрын
One of the best videos about Power Automate although I still had a lot of struggle. Some of them coming from constant Microsoft updates and renaming and introducing of new connectors and activities. Finally the flow worked as described. Thank you very much!
@DamoBird365
@DamoBird365 8 ай бұрын
Cheers Martin 👍
@robofski
@robofski Жыл бұрын
Not sure if/when I’d use it but knowing it’s possible is awesome! Great video.
@friendlyfriesen
@friendlyfriesen 10 ай бұрын
One word... genius!
@MarcinK-wj5js
@MarcinK-wj5js Жыл бұрын
You are Power Automate magician :)
@DamoBird365
@DamoBird365 Жыл бұрын
Cheers Marcin. If you find a challenge, please do let me know.
@mikaeldias5372
@mikaeldias5372 10 ай бұрын
You made my day - Just what i was looking for
@DamoBird365
@DamoBird365 10 ай бұрын
You’ve made my day! Thanks for the comment 😃
@philipyazdani3756
@philipyazdani3756 11 ай бұрын
Hey, thanks a lot for the video! Great stuff! Would you say it’s possible to easily modify the orchestration/copy flow so that it takes a list of sites where flows should be copied? The idea is to make it easier to maintain new flows version on each different site where it should be running (e.g. ‘, you want to push a new version). Also, how would you suggest to delete the flows for sites where we copied them previously? Thanks a lot!
@DamoBird365
@DamoBird365 11 ай бұрын
If you have a parent/child setup, then the parent should be the trigger and the child will contain the bulk of the automation. Therefore if you want to change the flow, you just need to update the single child. If you want to deploy this to multiple sites, you could provide a list/table of new sites & parameters and loop through the array to create a child per site. It's possible for sure. Equally you could use a parent to accept the list of new sites and the flow I built as a child, which is called as part of an apply to each. It would be good to hear how you get on.
@philipyazdani3756
@philipyazdani3756 11 ай бұрын
Thanks for the guidance! Will definitely let you know!
@rafagarcia5548
@rafagarcia5548 9 ай бұрын
Hello Damien, Thank you very much for your videos and for this one in particular. It reflects faithfully the need I have now. Although... My parent flow should start with the SharePoint "For a selected file" action. That is, it is about documents and libraries rather than lists. When I try to set up an example based on your video (min 01:15), I can't find the "Run a Child flow" action anywhere. Could it be that this connector is only available for certain triggers? Do you have an example video / article similar to this one but oriented to documents and libraries instead of lists? Thanks in advance!
@DamoBird365
@DamoBird365 9 ай бұрын
It needs to be part of a solution. Then you will find this action.
@rafagarcia5548
@rafagarcia5548 8 ай бұрын
@@DamoBird365 Sorry Damien if this is not the right channel for a very specific query. But I've been struggling with this for days without success. Yes: I created a solution. And yes: I know how to get the parent and child stream into it. But... For the call from a parent to the child stream I need to pass two parameters: the URL of the site and some library ID equivalent to the GUID of the list. In the parent I use the SharePoint trigger "For a selected file" plus the "Get file metadata" action. I've done all sorts of tests and variations with expressions to get something that theoretically should be super simple. I can't get it! I'm telling you this because I think you have material here for a video that would be similar to this one... Only instead of being list-based, it would be library-based. Thank you very much in advance and forgive me if you think this query is beyond the scope of the channel.
@DamoBird365
@DamoBird365 8 ай бұрын
@@rafagarcia5548 this was definitely a more complex PoC for me. If you want to try and schedule a call for 15 mins to show me, I can try to help. You can reach out via LinkedIn or Twitter DMs.
@laxminarayanaruttala6935
@laxminarayanaruttala6935 6 ай бұрын
Thanks for sharing this. its very helpful and I'm looking for same functionality. I actually create a flow outside solution, manually. Got the ID of it and tried to call AddSoluitonComponent and it returns not found. I tried to query the flow by name using api and also, I can't get the flows which are outside of solution. Am i missing any configuration here or should i create a flow using API to get the flow added to solution using api? Any help here is highly appreciated. Thank you
@DamoBird365
@DamoBird365 6 ай бұрын
Hi there. I don't believe non solution aware flows can work with this API learn.microsoft.com/en-us/power-automate/manage-flows-with-code
@laxminarayanaruttala6935
@laxminarayanaruttala6935 6 ай бұрын
Thanks for clarifying. I understood now. Able to do a small proof of concept following your steps and it worked .
@mayankpachori8442
@mayankpachori8442 Жыл бұрын
Hi Damien, what’s the best way to get proficient in Power Platform and Automate according to you. Any help will be much appreciated. Thanks for amazing videos. I will connect on LinkedIn as well. Cheers!
@DamoBird365
@DamoBird365 Жыл бұрын
Hey there, the best way from my own experience was to get involved on the MS Forum powerusers.microsoft.com/t5/Forums/ct-p/FL_Comm_Forums. When learning, you want a challenge, a reason to try something out. If you have an idea for a project, great. If not, go onto the forums and solve other people's challenges. Get yourself a developer environment and start playing.
@mayankpachori8442
@mayankpachori8442 Жыл бұрын
@@DamoBird365 brilliant idea. Thanks a lot😊
Power Automate SharePoint Get Column Changes
12:55
April Dunnam
Рет қаралды 47 М.
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Chapitosiki
Рет қаралды 3,3 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 45 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Microsoft Forms Quiz Scoring Made Easy with Power Automate
25:39
DamoBird365
Рет қаралды 1,7 М.
Limiting BigQuery Access with Dataset Tags
13:38
DiveTeam
Рет қаралды 25
Tesla FSD 12.5.1 Does NOT Drive Like a Local...
21:11
Dirty Tesla
Рет қаралды 27 М.
Power Automate Child Flow using Solution Packages
22:50
Shane Young
Рет қаралды 30 М.
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,3 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,3 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18