I have a requirement where i am calling external API to get a Binary file in return. Now the issue here is i am unable to convert this document into Base64 string which i need to use the Base64string to pass into another API. I have also build the logic of storing the Base64 string to Appian DB. Just stuck with the conversion part.
I can also see that we might have few plug-in functions supported by Appian for this. {'toBase64()','ConvertDocumentToBase64()', 'a!toBase64()'}, unsure if these are accurate or not. However, if these are accurate i will raise this with Appian support team to get these installed, If not can i please have some suggestions on how to proceed with this requirement?
Discussion posts and replies are publicly visible
In your integration if you enable automatic body conversion and content type is JSON then Appian documents are passed as base64 automatically. You dont need to store base64 string in database tables explicitly nor you need any plugins. Just Make sure you are storing the binary document received from first API as appian document and then pass the same using todocument() in the json body for next API call.
Refer the documentation below for more details and example.
docs.appian.com/.../Integration_Object.html