The flow does not check what date the file contains in its name, because it renames the file itself, so by default, it knows what folder to use, as well. It uses the folder for the month of the current date. Regardless of the folder being already created, or not, it will work.
If however, your files already have a date in their file name, and you do not want them to be renamed with the current date, but instead want the flow to check the date in the file name and then move them accordingly, you would need a different flow. But the way I understood your previous requirement was that:
- You download the files daily,
- You want the files renamed based on the current date,
- You want the files moved to a folder based on the current date.
If that is correct, the flow will work. Try it on some sample files and see.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.