Showing results for 
Search instead for 
Did you mean: 
New Member

Flow case switch fails to create file

I have a flow that uses a case to direct attachments to specific SharePoint folders based on the Subject line as follows:




The problem is in the create file event as follows:




Needless to say, I am completely lost.  I have this same script running in the same way.  The only difference is the lack of a case statement to direct the files.  In the single folder flow, it checks where the email came from, and then proceeds to extract the attachements and file them in the SharePoint folder.   


Any assistance is greatly appreciated.

Dual Super User II
Dual Super User II



Try wrapping the attachment content with the expression




If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.


Helpful resources

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (9,537)