Flows Mass Copy, Paste, and Delete Files

Copper Contributor

I am in the process of creating a communication site that automatically distribute reports from an outlook email attachments to a SharePoint online site each morning. The files will be housed in a folder for business partners to view. At the end of each day these files need to be moved ( copied ) to an archive folder to make room for the next days reports. After these files have been copied to the new folder, the old ones will need to be deleted out of the "current" report folder. I know Flows is capable of doing these actions but it seems that you have to delete, and copy each file one at a time. Does anyone know of a way to mass copy, paste, and delete so that I don't have to create a separate flow for each file I am trying to move. (There are about 100 files)

1 Reply

@BryceKauffman have a look at the "Apply to Each" Flow action

https://docs.microsoft.com/en-us/flow/apply-to-each