It appears that you would be able to use this to take an Appian document and convert it to Base64 - i'm unclear whether it will only work on DB write, but even if so, you could simply query that value from your database again and send it to your external system, within your process.