20-07-20 03:05 PM
Hello,
I would like some advice regarding how to download a file from Salesforce to local folder.
I'm using the BP Skill "Salesforce" to obtain the ContentDocumentId.
I use the following "GET" API to retrieve the base-64 from Salesforce
/services/data/v47.0/sobjects/ContentVersion/[Id]/VersionData
I'm stuck with how to convert the response content to a physical file.
I figure I have to use the code stage to convert the data, but I'm not quite sure how to achieve it.
Any help would be highly appreciated.
Best Regards
Met Vonghiran
24-07-20 04:21 PM