In the below workflow, when an email arrives I want it to save the contents into a SharePoint folder. The workflow is successful, however the file becomes broken/ does not work because attachments content is a giant hash. There is nothing wrong with the file.
I got the same error when i used attachment content directly in the "create file" action. These series of steps helped in accessing the content:
This step includes 2 additional steps prior to creating the file and is mainly done through (1) getting the folder metadata (2) error handling through a scope function.