I have created a flow Power Automate to periodically delete old files in a specific directory of my OneDrive, see screenshot below.
What I'd like to do is, where the 'apply to each' condition occurs, send a summary email with a list of each file that was deleted.
In other words I would have an Outlook 'send message' step, but in the content of that I would need the filename of every file that was deleted. I could quite easily do this as part of the 'apply to each' clause, but I'd have one email for every file. I'd like a list of filenames in a single summary email.
Any suggestions as to how best to go about achieving that? If possible I'd prefer it in such a way that it relies on matching the condition and passing the delete stage, rather than just creating a duplicate condition clause (which could, in theory, list files which matched the condition but for whatever reason weren't successfully deleted).
Thanks in advance!
