<?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>Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/discussions/f/integrations/12576/programmatically-upload-a-file-into-appian-from-an-external-site</link><description>Hi, 
 Is there a way to programmatically upload a file into Appian to a specific application document folder? 
 All capabilities available within Appian deals with documents within Appian. 
 Is there a way systematically push files into Appian&amp;#39;s document</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/63730?ContentTypeID=1</link><pubDate>Mon, 31 Dec 2018 10:43:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea4e262d-26ed-419e-9ab5-34a9627859c6</guid><dc:creator>arjunv864</dc:creator><description>&lt;p&gt;Hi Asif,&lt;br /&gt; &lt;br /&gt; I hope you have implemented this already. However I think the best way to implement this is as follows:&lt;br /&gt; &lt;br /&gt; 1. A Web API is created in Appian which will be exposed to external sites.&lt;br /&gt; 2. Since Web API doesn&amp;#39;t accept document as such, the document has to be passed either as a URL(Appian process can perform HTTP Document Download with this URL) or as Base64 String.&lt;br /&gt; 3. If the external site can provide Appian the URLs that would be the ideal way to handle as there is less load on the API call.&lt;br /&gt; 4. If external System can provide you the Base64, you could write a utility plugin that converts base64 to Appian Document. However Please&amp;nbsp;be aware that&amp;nbsp;the process which holds base64 string in a variable is heavy when the document size is large and hence plan for optimized data management policies for such instances. &lt;br /&gt; &lt;br /&gt; Please let us know if you had taken any other approach in your solution.&lt;br /&gt; &lt;br /&gt; Regards,&lt;br /&gt; Arjun.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56124?ContentTypeID=1</link><pubDate>Sun, 03 Jun 2018 01:34:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a90676ae-6c58-4e23-987e-b5ba7afd9ef4</guid><dc:creator>asifh</dc:creator><description>Thank you very much for your response.&lt;br /&gt;
Kindly note that my scenario is the following:&lt;br /&gt;
Different users will post their cases to that external site with different number of files e.g. 2 files, 3 files , 5 files and upto 20 files and the external site administrator dont want to store those files to their site. External site admin just want to POST those files as a stream to our Appian site..&lt;br /&gt;
Now advice me how to cater this scenario Please&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56119?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2018 14:42:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9c7e860-6485-44a8-843c-cc5232398b88</guid><dc:creator>andriyr</dc:creator><description>&lt;p&gt;Hi Asif,&lt;/p&gt;
&lt;p&gt;If the files are already stored on the external site you should be able to expose a simple web API + process model to handle this.&lt;/p&gt;
&lt;p&gt;1. You would expose a web API that takes in parameters like &amp;quot;document URL&amp;quot; and &amp;quot;targetFolder&amp;quot; (or add logic to decide the target folder based on which user is performing the action, etc.)&lt;/p&gt;
&lt;p&gt;2. From &amp;nbsp;your external site you would call this web API.&lt;/p&gt;
&lt;p&gt;3. The web API would pass this data to a process model, which would pull the file using the &lt;a href="https://docs.appian.com/suite/help/18.2/HTTP_File_Download_Smart_Service.html"&gt;HTTP File Download Smart Service&lt;/a&gt; and store it in the appropriate folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56115?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2018 06:15:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2a13e11-d151-4df7-9fdc-f686a848d8d0</guid><dc:creator>Dastagiri Dudekula</dc:creator><description>Create a web API to store the document. Use this service to push the documents&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56114?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2018 01:29:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2199610-509b-4b82-98e8-802fc23d3950</guid><dc:creator>asifh</dc:creator><description>My Scenario is:&lt;br /&gt;
User from an external site wants to call my APPIAN site web service and post multiple files (small size files) . Kindly share if you have any example with such scenario implementation&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56036?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 19:11:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f18a5841-f49c-4d53-ae58-1676358905bf</guid><dc:creator>namratak356</dc:creator><description>Yeah you can trigger an Appian Process model through an email containing this document as an attachment and move it to respective Appian KC folder.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56016?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 12:57:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b7360d8-4cd4-4cfd-bdf9-02735c8f398f</guid><dc:creator>ravichandt316819</dc:creator><description>Hi Ashif,&lt;br /&gt;
Yes, you can do it. As Raghu mentioned there are several ways to achieve this.&lt;br /&gt;
1. You need to have a process model to move documents to the desired location in Appian. &lt;br /&gt;
Once the model is ready you can publish the model as webservice and you can call that webservice in the source environment and you can move it&lt;br /&gt;
&lt;br /&gt;
2. You can create a web api/integration object to achieve the same in Appian&lt;br /&gt;
Question: How the destination system storing the document? &lt;br /&gt;
&lt;br /&gt;
If it is in base 64 format, you can also do base 64 conversion which you can achieve by installing a smart service/function from shared component.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programmatically upload a file into Appian from an external site ?</title><link>https://community.appian.com/thread/56015?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 12:40:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e84c75de-9950-4a88-be9f-394e13970943</guid><dc:creator>Shanmukha</dc:creator><description>Hi Asif,&lt;br /&gt;
&lt;br /&gt;
There are couple of ways ways as I remember to upload documents to Appian systems KC and it&amp;#39;s folders. We can upload or push documents to some temporary folder in appian system and then we will trigger a process model to move them to KC and it&amp;#39;s related folders based on the application. &lt;br /&gt;
&lt;br /&gt;
Please let us know if you are looking for anything specific.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Raghav&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>