Use Get subfolders in folder to get the folders in your source directory. Then do a For each loop on them to process each of them individually.
When you have a %CurrentItem% that will store a single folder, you can use %CurrentItem.Name% to get the name of the current folder. You can use that in If folder exists to check if the destination directory contains a folder with a name like that.
If it does, use Delete folder(s) to delete the folder from the destination directory. No need for any else statements, as you simply need to delete it if it does exist.
Then after the condition, use Move folder to move it from the source to the target.
-------------------------------------------------------------------------
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.