Hello!
I am working in a flow that checks the inbox every 15 minutes and stores the incoming emails into a SFTP server, the folder where the emails are stored has the same name as the subject.
As you know, in Windows this character '/' indicates the beginning of a new directory.
I have a customer that sends the emails with the character said before and when the flow is going to create the folder, it detects de slash and creates 3 or 4 more folders that it should.
Here is how I configured it (under the red line is the path where the email has to go to):

Now, how can I replace '/' in the subject for '-'? I tried with the replace function but it didn't work (maybe I put it wrong) and using compose but Im pretty new using Power Automate and I don't know if I'm doing something wrong. Help is appreciated!