So I am trying to use Power Automate To save the attachments in a email to a folder structure that is created each time a new email arrives based on the Subject line. Each email arrives like this. Blend Sheet Attached STULL, LONNY - HOME NORTH 2018 - WBV25SW7. I would like the Folder structure to then look like this. /Stull, Lonny/WBV25SW7/Rx/ And the attachments to then be saved in the RX folder. I got a lot of the rest figured out. Anyway thanks in advanced for helping.
Solved! Go to Solution.
I don't believe you can have folders with commas in them. You can replace the - with / replace the , with nothing and use it in the create folder action like so:
This created the following path:
Please consider accepting my answer as a solution if it helps to solve your problem.
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks
Are you using replace(outputs('Compose-Subject'),' - ','/') but instead of it being based on the compose, you run it on the subject and then use the output for the folder path, not the original subject, which you might be doing.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!