I would like to create a Flow that:
1. Extracts an attachment from a shared mailbox email (Daily)
2. Creates a file on Sharepoint
3. Organizes the files based on Year and Month
4. Sends out an email with a shared link to the file
I have an existing flow that extracts the attachment, stores it in a folder and sends out the email with the shared link. However, the challenging part is now storing the files by year and month. For some reason the flow works, meaning that the files are stored by year and month and I get the email with the shared link, but for some reason the flow comes up as failed.



When I ran the test, I renamed the initial Year folder that was created from 2023 to 203-old (and a similar test with month August to August-old) to see if it would create a new Year file. It did but it seems in part of the flow, 2023-old is being processed and creating an error.
Error in Flow
Thanks in advance everyone.