Receiving Files via Workflows


I’d like to allow clients to upload files via a workflow API. ,I came across youtube videos on how to accept a file as a base64 string but that method does not seem to be working at the moment.

When I use “initialise” in Workflow with field type as file, I see that the name and type of the file is parsed properly. The contents of the file is mapped to “contents.type” and “”. How I can convert this to a file again?