<?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>Read text file and convert the data into excel</title><link>https://community.appian.com/discussions/f/general/34632/read-text-file-and-convert-the-data-into-excel</link><description>HI All, 
 
 We need to read a formatted text file and then convert it to Excel sheet with headers and data. 
 We need to create a single row for each supplier details in excel sheet along with the data per headers. 
 
 Has anyone got such a requirement</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133139?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 05:54:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6899324a-1650-4cdc-9ac1-867f046de4fc</guid><dc:creator>kashmirap9699</dc:creator><description>&lt;p&gt;ohk. Thanks. It seems there is no other way of parsing it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133137?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 05:45:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b5ae37ea-0f40-4831-a11c-469a0d574731</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The latest Appian version has the built-in Prompt Builder AI skill. But this might need additional licensing. But you could use any LLM AI service. I am not sure whether this works, but LLMs are pretty good in extracting structured data out of such a mess. Keep in mind that, even if it works, is no 100% solution. That&amp;#39;s a risk you will have to discuss in your team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133133?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 05:19:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d3f02aa-3d6a-4a84-b12e-0a57637c5fea</guid><dc:creator>kashmirap9699</dc:creator><description>&lt;p&gt;ohk. Will we have to write a Java Plugin or use Open AI services for it? Is there anything available in appian for the same?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133067?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:35:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91eb6d40-6036-4f44-a865-9b7c4fc1e1ce</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This file seems to be created for human consumption. Not to import it again.&lt;/p&gt;
&lt;p&gt;Did you consider to use an LLM to extract the individual data values?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133060?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:05:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be1a37dd-fb53-4123-9052-bef37d7ce479</guid><dc:creator>kashmirap9699</dc:creator><description>&lt;p&gt;Not really.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the mapping of header with its value seems to be tricky and I can get the headers but how to I pass the position of the value for that key is what we are struggling with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133059?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:03:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c3db12c-e507-4981-9efb-918d0257a0e5</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Though there are ways of doing it, like identifying the headers and splitting on it but that will always have several edge cases.&amp;nbsp;&lt;br /&gt;Where are you getting this file from? Can you change this file from its initial source?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133058?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 10:59:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c0cd479-2328-4095-95f6-c44383a4e436</guid><dc:creator>kashmirap9699</dc:creator><description>&lt;p&gt;Yes the text file is formatted. and there is no single delimiter which can be used to parse it and create a json kind of format.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if we use the plugin to read the text file. it is reading as plain text and returning a single string.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as it is reading it line wise, we are unable to get the header and value mapping. Any thought now we can read it or any plugin that would help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please find the attached text which is returned after reading the text.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/11/ReadTextFromFile.txt"&gt;/cfs-file/__key/communityserver-discussions-components-files/11/ReadTextFromFile.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read text file and convert the data into excel</title><link>https://community.appian.com/thread/133056?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 10:47:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3499904d-e23c-4fb3-9c35-9cb559a12f05</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;That text file looks very different from a usual text file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the output you get from the function that you are using to read the file?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, for Excel, there is a plugin on AppMarket that can let you write yoru JSON to excel so if you are able to create a JSON -&amp;nbsp;&lt;a href="https://community.appian.com/b/appmarket/posts/export-json-to-excel"&gt;community.appian.com/.../export-json-to-excel&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>