Skip to content

[FEATURE] Add or Copy Power Automate Flows #4816

Open
@Steven-Chorkawy

Description

@Steven-Chorkawy

Is your feature request related to a problem? Please describe.
Using PnP, there does not seem to be any way to create a Power Automate workflow. There are commands to get, remove, stop, disable, and export Power Automate Flows but none to create or copy flows.

Describe the solution you'd like
A command to import a flow from a ZIP or other export file or a command to copy an existing flow.

Describe alternatives you've considered
I do not see any PowerShell Modules that provide a solution for importing/ copying flows. Power Automate does not provide a solution.

Additional context
I have hundreds of lists that need approval workflows.

Activity

brandontor

brandontor commented on Mar 28, 2025

@brandontor

Bump

CodyAlanBrown

CodyAlanBrown commented on Mar 28, 2025

@CodyAlanBrown

Would love to have this ability as well. Go Leafs Go.

leborat

leborat commented on Mar 30, 2025

@leborat

hoping this can get implemented

KoenZomers

KoenZomers commented on Apr 1, 2025

@KoenZomers
Collaborator

Had a quick look at the APIs used by the Power Automate portal itself and it looks like it should definitely be possible to create an import and save as feature for Power Automate Flows. Having said that, it's going to be quite a bit of work to implement and test this. Estimating it to be a full day work. I don't have that amount of time available, but I welcome anyone with dev skills willing to implement this to do so and create a pull request for it. Happy to review it and merge it if it looks fine.

NishkalankBezawada

NishkalankBezawada commented on Apr 4, 2025

@NishkalankBezawada
Contributor

Had a quick look at the APIs used by the Power Automate portal itself and it looks like it should definitely be possible to create an import and save as feature for Power Automate Flows. Having said that, it's going to be quite a bit of work to implement and test this. Estimating it to be a full day work. I don't have that amount of time available, but I welcome anyone with dev skills willing to implement this to do so and create a pull request for it. Happy to review it and merge it if it looks fine.

Hey @KoenZomers

I can work on this, can you assign this to me 😊

//Nish

KoenZomers

KoenZomers commented on Apr 4, 2025

@KoenZomers
Collaborator

Sure, go ahead @NishkalankBezawada :)

linked a pull request that will close this issue on Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @KoenZomers@NishkalankBezawada@brandontor@CodyAlanBrown@Steven-Chorkawy

    Issue actions

      [FEATURE] Add or Copy Power Automate Flows · Issue #4816 · pnp/powershell