I have a working flow which is triggered manually using Flow Button. It sends all the files in a OneDrive Folder as attachment to an email address. I want this flow to be triggered when the files are created in the folder. Problem is, the flow is triggered everytime when a file is created.For example, if 3 files are created, then the flow will run 3 times, sending email three times. I want to trigger it for only once and then process the rest of the flow. I can't figure out how to do it. Please help.
That is the intended behaviour of the when a file is created trigger. It will trigger everytime a file is created. You can set a recurrence trigger that runs every 2 hours (recurrence suitable to your scenario) and gets the files from the folder and checks the date time it was created and then if it was created in the last two hours, sends those files as an email attachment.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1