cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Mail notification when new files are created - schedule periodically

Hello all,

 

I'd like to build a flow which is triggered when new files are created in an OneDrive folder, a user should receive a mail notification.

But instead of sending a mail for each file, is it possible to schedule that every 12h/or every time 10 new files have been created and send a list of the filenames in the mail?

 

Many thanks in advance!

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Re: Mail notification when new files are created - schedule periodically

Hi

Did you already have a look to the REcurrence trigger?

https://docs.microsoft.com/en-us/power-automate/run-scheduled-tasks

 

This thread describes an scenario  similar to the one you are looking for

https://powerusers.microsoft.com/t5/General-Power-Automate/Create-Daily-Summary-of-Files-Uploaded-to...

 

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Regular Visitor

Re: Mail notification when new files are created - schedule periodically

 But how to to setup a trigger afterwards when a new file is being created in a specific OneDrive folder?

Highlighted
Dual Super User III
Dual Super User III

Re: Mail notification when new files are created - schedule periodically

Hi again

Not sure I understood you requirements:

"instead of sending a mail for each file, is it possible to schedule that every 12h/or every time 10 new files have been created and send a list of the filenames in the mail"


@peterstelmach wrote:

 But instead of sending a mail for each file, is it possible to schedule that every 12h/or every time 10 new files have been created and send a list of the filenames in the mail


This thread describes an scenario  similar to the one you are describing

https://powerusers.microsoft.com/t5/General-Power-Automate/Create-Daily-Summary-of-Files-Uploaded-to...

 


@peterstelmach wrote:

 But how to to setup a trigger afterwards when a new file is being created in a specific OneDrive folder?


I've found the following template for this purpose. Please note it is defined for OD4B, but there is a similar trigger available for One Drive

https://emea.flow.microsoft.com/en-us/galleries/public/templates/352516eb50dd4f5685be03d9fb97cdc0/se...

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Dual Super User III
Dual Super User III

Re: Mail notification when new files are created - schedule periodically

As @efialttes says you can easily use a recurrence trigger to start a workflow at a specific point (or points) in the day and check for files that were created within the last x number of hours. Store all those names or links in a variable using a loop and then send that out as an email.

 

There is no easy way to do this based on the number of files created, ie after 10 new files.



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

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

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

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,809)