I'm trying to make a flow that will automatically move any files from a test folder into a destination folder and put it in the correct subfolder based on the name. For example, if I upload a file named, "test 1", I want it to look at the name of the uploaded file when it gets uploaded and check if that name exists in the destination folder. If it does, then move that file to the corresponding subfolder(which would be a subfolder called, "test 1" in this case). If it doesn't exist in the folder, make a new subfolder with that name in the destination folder.
The condition I have where name is equal to name takes the file name from the test folder and checks if it's equal to the destination file name. I'm not sure if that will work because I need it to check for any folder name that's equal to the test folder files, but it will give you an idea of what I'm trying to do. Any suggestions or revisions would be appreciated.
This is what I'm working with right now.
