
Announcements
Once a month, I get a bunch of e-mails from the same sender, on the same day.
Currently, I have a flow that stores these e-mails in a Sharepoint library, but then I still have to make a separate folder (per month) and move the e-mails.
I would like to build a flow that
- extracts the arrival date of the e-mails as YYYYMMDD (I assume this is easy)
- makes a folder with that date as a name in Sharepoint (again, easy)
However, I want to avoid that separate folders are made for each individual e-mail as they arrive.
So the flow should make a folder for the first e-mail (because the folder does not exist yet), but should store subsequent e-mails (that arrive on the same day, from the same sender) in the same folder.
How would I go about this?
This older blog by @abm looks perfect for your needs:
Basically, they are using the "List Folder" action, and then setting a variable if that action errors / fails / times out, etc, to say "Hey, this doesn't exist!" - and if it DOES exist, it will work normally.