Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Your flow is running too many actions

(0) ShareShare
ReportReport
Posted on by 11

LarsHoubenDEV_0-1718263066113.png

I received an email that my flown is undergoing too many actions.
I am quite new and do not understand why.
The scenario I want to achieve is that my Name field in SharePoint is automatically updated using the Metadata entered.

LarsHoubenDEV_1-1718263105332.png

I don't understand why the flow restarts every 2 minutes

 

LarsHoubenDEV_2-1718263157555.png

 

Thanks in advance for the explanation and solution that you have for me

 

 

 

 

 

  • Verified answer
    eetuRobo Profile Picture
    3,587 Super User 2025 Season 1 on at
    Re: Your flow is running too many actions

    Yes so if the flow cant use when created but also needs to include when modified then best way would probably be as you suggested to check who modified the file. You could do as you suggested condition that checks who modified it and as long as its someone else than the automation account then run the flow. Otherwise terminate the flow. That would start the flow twice every time so once more than needed.

    The best way would probably be to add Trigger Condition so that your flow start every time to just terminate itself after your flow has modified the file.
    So Add trigger condition under actions settings:

    eetuRobo_0-1718277167667.png


    Then put something like this: in the condition: 

    @not(equals(triggerBody()?['Editor']?['Email'], 'automations@Email.com'))


    https://powerusers.microsoft.com/t5/Building-Flows/Trigger-condition-When-a-file-is-created-or-modified-properties/td-p/503756

     

  • LarsHoubenDEV Profile Picture
    11 on at
    Re: Your flow is running too many actions

    Eigatively also Modified, if they don't fill in the Metadata directly or they bulk load files, the name is never going to be correct.
    Maybe the solution, is to use a condition.
    If Modified not by Service account, do the http request

  • eetuRobo Profile Picture
    3,587 Super User 2025 Season 1 on at
    Re: Your flow is running too many actions

    Would your flow work if you changed it to "When a file is created" -action

    eetuRobo_0-1718267175658.png

    So it would not trigger if its modified.
    Or does the flow need to trigger when a file is modified?

  • LarsHoubenDEV Profile Picture
    11 on at
    Re: Your flow is running too many actions

    Okay, that sounds very logical, so because of the HTTP Request it modified the file again.

    So what is the solution to stop it from running after the HTTP Request?

  • eetuRobo Profile Picture
    3,587 Super User 2025 Season 1 on at
    Re: Your flow is running too many actions

    Your flow might be in an infinite loop. Are you sending the HTTP request to the same folder that it triggers?

    If so
    Flow triggers when file is created/modified
    Flow modifies the file
    That modification triggers the flow again
    repeats

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492