Hi - I'am reading for quite some time in this forum but now I have an issue i need to post for the first time 😉
I have created a pretty simple flow that puts picture from OneDrive to Sharepoint and then sends a notification.
Now I want to do some optimizations:
1. The notification is send for every file. The flow runs every five minutes and if there are 10 new pictures it sends 10 notifications. Is there a possiblity to only send one notification for each run?
2. I would like the flow to create a folder with the date as name and put the pictures in this folder. If there is already a folder of this day it should use this folder. Is this something u can handle with PowerAutomate?
Here is a picture of the flow but it is in German 😅
@Dirk112 from your flow screenshot it looks like you have the flow to trigger when file is created in onedrive, so your flow will run everytime a new file is create or uploaded to folder "Pictures/Camera Roll" in onedrive.
So for each file what is uploaded, the email notification will be sent for each file. Do you want to change the flow to check for new files every X mins, or every X days, then move the file to SharePoint and send email?
Sorry for the late answer. I am doing this regarding a volunteer engagement and can't look into this every day 😉
Also I am doing this the first time and some of your questions i cant answer offhand but i try.
Thank you very much so far 😀
@Dirk112 , can you share full screenshot of your flow for me to understand why flow is sending 10 notifications? Are you using recurrence trigger for the flow to trigger every 5 mins? Are you using apply to each action to loop through 10 new files? If yes, is the Send Email action added under the apply to each action?
@annajhaveri Thx
The second issue is solved and works fine
Regarding the first one I have to specify the issue a little bit more accurate.
The flow checks every 5 minutes if there are new files. If yes and there are 10 new files, I get 10 notifcations. Is it possible to just get one notification even when there a mulitble new files?
@Dirk112 , the trigger of your flow is when file is created in onedrive, so your flow will trigger whenever a file is added to your onedrive, so i did not get your below question:
1. The notification is send for every file. The flow runs every five minutes and if there are 10 new pictures it sends 10 notifications. Is there a possiblity to only send one notification for each run? (currently the flow should be sending email for each run)
2. I would like the flow to create a folder with the date as name and put the pictures in this folder. If there is already a folder of this day it should use this folder. Is this something u can handle with PowerAutomate? -- yes you can do this, configure following actions in your flow:
1. Add Initialize Variable action and assign it value as per below expression
formatDateTime(utcNow(),'yyyy-MM-dd')
2. Now add action "Create new folder", and configure it as follows:
Create new Folder action, will create the folder it is doesnt exists and if it exists, it wont do anything.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492