<?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>Its possible to parse JSON from body of email</title><link>https://community.appian.com/discussions/f/integrations/10917/its-possible-to-parse-json-from-body-of-email</link><description>I have a huge email body and in the middle I have a JSON string. It&amp;#39;s possible to capture that into a variable and after that mapping the data with local variables? 
 Can you give some examples? Thanks in advance!</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Its possible to parse JSON from body of email</title><link>https://community.appian.com/thread/47783?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 14:24:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1d0eddb5-d18a-40c9-93e3-5dd866114925</guid><dc:creator>andriyr</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may also want to look at the a!fromJson() function, which can convert JSON to a more Appian friendly data type.&lt;/p&gt;
&lt;p&gt;documentation link for a!fromJson() -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/17.2/fnc_system_a_fromjson.html"&gt;docs.appian.com/.../fnc_system_a_fromjson.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is an example in SAIL:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/18/0508.Capture.jpg"&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/0508.Capture.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Its possible to parse JSON from body of email</title><link>https://community.appian.com/thread/47771?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 09:20:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09d4c7af-153d-4070-899f-5c421bb3a5a8</guid><dc:creator>sergeiz</dc:creator><description>Hello!&lt;br /&gt;
&lt;br /&gt;
Check out Appian functions for text.&lt;br /&gt;
&lt;br /&gt;
You can use find() to locate start and end of your JSON string, and then extract it with mid(), left(), right() functions.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>