Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Create File Trigger - For single instance only

(0) ShareShare
ReportReport
Posted on by 9

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.

flow1.png

  • Verified answer
    yashag2255 Profile Picture
    24,580 Super User 2024 Season 1 on at
    Re: Create File Trigger - For single instance only

    Hi @allrounder799 

     

    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!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1