Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow execute multiple times

(0) ShareShare
ReportReport
Posted on by 13

Recently, I created a flow that append new rows of data from an Excel file (let's call this new_rows.xlsx) to the main excel file. The flow was able to run but it run more than once. Precisely, it ran twice and then it ran again after 5-10 minutes interval. in total, it has ran for four times and I have no idea why the flow is behaving like this. Fyi, the trigger I'm using is "When a file is modified (Property Only)" on the new_rows.xlsx which will be modified by my Python script. 

 

Screenshot of my flow :

Need_Help123_0-1613984718519.png

 

Screenshot of the flow running multiple times :

Need_Help123_1-1613984767889.png

I have no idea why the flow is behaving like this. I am thinking of adding a condition into the trigger but I have no clue where to start! Any help will be appreciated, thanks.

  • Verified answer
    Need_Help123 Profile Picture
    13 on at
    Re: Flow execute multiple times

    I found out that using the trigger "when a file is modified" is very buggy and sensitive. Hence, I change the trigger into "when file is created" and the flow was able to run without errors or duplicates

  • Need_Help123 Profile Picture
    13 on at
    Re: Flow execute multiple times

    @anupam8555 

     

    It turns out the get trigger requires premium account and I want to avoid that since my project doesn't allow using on free trials software. Can you perhaps elaborate to me more on how to solve my problems by using different flows for updating?

  • Need_Help123 Profile Picture
    13 on at
    Re: Flow execute multiple times

    Hello @anupam8555 ,

    I have never used JSON before hence I'm not sure how to create the call format for appending data to xlsx file. Could you give me an example on how to do this???

     

    thanks!

  • Anupam.khasia Profile Picture
    349 on at
    Re: Flow execute multiple times

    Hi @Need_Help123 ,

     

    It looks like your flow is being triggered on file update and its getting called also when you are updating same file from flow. I think you should have separate file to update from python script and separate from flow which you are updating. Or if you just want to trigger your flow from python script than you can trigger your flow with action "HTTP Request recieved" . 

     

    https://flow.microsoft.com/fr-fr/blog/call-flow-restapi/

     

    Let me know if it works for you.

     

    Thanks

    Anupam

    (Please mark resolved or give kudos if it really helps 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,609 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow