<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I need suggestions on how to convert document id into Base64 string</title><link>https://community.appian.com/discussions/f/new-to-appian/39740/i-need-suggestions-on-how-to-convert-document-id-into-base64-string</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I need suggestions on how to convert document id into Base64 string</title><link>https://community.appian.com/thread/151642?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 16:11:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:021f0252-3411-42a7-ac44-06b671b6873d</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Refer the documentation below for more details and example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/25.3/Integration_Object.html#sending-base64-inline-with-json"&gt;docs.appian.com/.../Integration_Object.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>