How to create a file in import mapping

Hello, I am trying to create a file using import mapping, The file is getting created with the create object option. In my case, I need to use microflow. But binary contents of the file are not coming as a parameter to the microflow. Any idea on how to create a file in this scenario?  
1 answers

We're doing a similar thing in our application, but we just map it straight to a filedocument entity and then do our microflow actions afterwards, is that an option for you?


Alternatively, if the other service supports it, you could see if they can send the binary contents as a string instead and perform actions on that with base64 encode / decode as needed.