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 / How can I change flow ...
Power Automate
Answered

How can I change flow trigger without losing the following actions

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I have created a long flow, now I realize I have chosen the wrong trigger, if I delete the current trigger, I may lose the following actions in the flow. How can change the trigger type without losing following steps?

Categories:
I have the same question (0)
  • LRVinNC Profile Picture
    2,297 on at

    It depends on which trigger you are using.  If your trigger does not have any outputs used by other actions in your flow, you can simply right click, choose delete and remove the old trigger and then choose your new trigger.

     

    If the trigger contains outputs that are being referenced later in your flow, you'll have to remove the references to those outputs in the later actions before you can remove and replace the trigger.  

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Anonymous ,

     

    If the following action uses the output of the trigger body, then when you delete the trigger, the configured content will be removed.

    You could consider using a workaround that you can create a copy of Flow. Whenever I need to change the complex configuration of a Flow, I often click Save as to create a copy of the Flow first, which will help restore the configuration of the previous version.

    https://flow.microsoft.com/en-us/blog/make-a-copy/

    Please take a try.

     

    Best Regards,

  • _MichaelVD_ Profile Picture
    20 on at

    I had a similar issue , I created a flow with trigger "Cognitoforms - When a new entry is created" 
    but I also wanted to use the same flow for the trigger "Cognitoforms - When a new entry is updated" 

    So I created a copy of my first flow deleted the trigger action and changed it to the trigger "Cognitoforms - When a new entry is updated" and saved this copy.
    Opened this copy and used export > Package (.zip) to export it to my computer as a zip with json files.

     

    Then I created another copy of my first flow also exported this as a Package (.zip) with json files.

     

    Then I unzipped both of the zip files and opened the following file with notepad++ (or another editor) : Microsoft.Flow\flows\123456-a54e-46azr2-969a-be0470611ae4\definition.json file

     

    Then I copied everything between the brackets of "triggers":{ ...... } from the definition.json file of the new trigger ("Cognitoforms - When a new entry is updated" ) to "triggers":{......} in the other file  zipped the files again of the folder with the replaced triggers content and imported that zip back into flows .

  • DappMan Profile Picture
    11 on at

    Thanks for this tip @_MichaelVD_  I faced the exact same challenge with cognitoforms and your suggestion was very helpful.

    Another option which also worked for me on another flow is as follows:

     

    • Open the flow and move all the actions into a scope.
    • create a copy of the flow by using the Save as option in Microsoft power automate
    • Open the new copy of the flow on another tab and delete the scope and the trigger, then add the new trigger
    • on the original flow, click on the three dots of the scope action and select copy to my clipboard
    • paste the copied scope into the appropriate section of the new flow
    • save the new flow and test

     

     

  • davidlepre Profile Picture
    25 on at

    Thank you.  This works very well.  This saved me a tremendous amount of time as my flow is very large.  It can take up to 1 minute just for my flow to show on the screen....that is how large it is.

     

  • mrpowergage Profile Picture
    234 on at

    I fixed this not work for me. after I delete I was getting this:

    mrpowergage_3-1661838605624.png

    However I reordered some actions. In my case I moved a dataverse 'add new row' action above another dataverse action, and the add trigger dialogue came up.

  • WalletPhoneKeys Profile Picture
    13 on at

    This is a great workaround.

  • ctrl_kudorje Profile Picture
    173 on at

    Yet another reason why redundant work is being forced on this tool's users. Why are we needing to resort to such manual steps? 

  • mariagiugno Profile Picture
    23 on at
    THANK YOU!!!

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 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard