Showing results for 
Search instead for 
Did you mean: 
New Member

Trigger after TWO files have been created or modified in SharePoint Online Folder

Hello. I have a situation where I need to a flow to trigger after TWO files have been created or modified in a SharePoint Online Folder. I These 2 files could have different names throughout the month, but there will always be 2 that I'm looking to have changed before I'd want my flow to trigger. Is this possible? Maybe I could have one flow trigger another? Thank you -Nate

Dual Super User III
Dual Super User III

That's not really possible using the triggers that currently exist.  The only workaround I can come up with is to store the last time the flow fired somewhere outside the flow, like a list in SharePoint.  Then when the file triggers have it check the last modified on all the other files.  If its later than the stored date then there are two files that have triggered otherwise do nothing.  If there have been two files triggered update the stored date to the current date and time

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thank you for the reply. I think you're right.. Maybe even just logging the sum of modified files by day aggregated in an excel file and when the sum equals at least 2, trigger refresh somehow. I'll keep studying. Thanks again

Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (77,467)