<?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>Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/discussions/f/process/28194/run-a-process-model-through-a-link-link-button-in-the-email</link><description>Hi, 
 I have the following use case: The client needs to approve or reject a batch of invoices, but that everything is done through email, and they are external users who will not have a user in appian, they do not want to enter the platform, but from</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110694?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2023 14:26:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:50e02c21-5ec4-49c1-954b-3acfbc3cad24</guid><dc:creator>RyanB</dc:creator><description>&lt;p&gt;Abhay,&lt;/p&gt;
[quote userid="21457" url="~/discussions/f/process/28194/run-a-process-model-through-a-link-link-button-in-the-email/110610#110610"]Include [incidentId = &amp;lt;value&amp;gt;] in either subject or email body[/quote]
&lt;p&gt;That&amp;#39;s the information I was looking for! I had all of my input mapped in the process model, but I couldn&amp;#39;t get any of the information out of the body. Turns out I was setting up my values wrong, I was usnig colons instead of equal signs. Thank you so much, I couldn&amp;#39;t find any information in the documentation about how to actually set up custom properties, just how to call them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110693?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2023 14:17:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2388198a-5842-4708-8001-c452c820ac62</guid><dc:creator>RyanB</dc:creator><description>&lt;p&gt;Stefan,&lt;/p&gt;
&lt;p&gt;I understand it&amp;#39;s probably not a good idea. But at this point currently, I&amp;#39;m mostly just tasked with checking if it can be done. Even if it&amp;#39;s not being implemented, I&amp;#39;m too far into it now myself, that I want to see it through to the end of even being possible. I appreciate the concern and warnings regarding best practices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110610?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2023 15:16:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b8b5bdb-b44b-4bb8-a814-7bc646c485aa</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;&lt;a class="internal-link view-user-profile" href="/members/ryanb71"&gt;RyanB&lt;/a&gt;,&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/milagrosadrianar"&gt;milagrosadrianar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Go through the following URL -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.1/Receive_Message_Event.html#message-properties"&gt;https://docs.appian.com/suite/help/23.1/Receive_Message_Event.html#message-properties&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Basically you need to configure the receive message event in the Start node as following.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1680707626562v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;With&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Email&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;message types, key-value pairs are treated as custom properties.&lt;/p&gt;
&lt;p&gt;To obtain the value of a key specified in a message, the name of the key should be included in the definition of a mapping. For example, if the key-value pair&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;[&lt;span&gt;incidentId&amp;nbsp;&lt;/span&gt;=222100]&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is sent in an email message, you can capture&lt;strong&gt; incidentId&amp;nbsp;&lt;/strong&gt;in a receive message event by creating a mapping with the following definition:&lt;/p&gt;
&lt;p&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;msg!properties.&lt;span&gt;incidentId&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;"&gt;Include [incidentId = &amp;lt;value&amp;gt;] in either subject or email body&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110569?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2023 05:55:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40989167-0747-4977-98fc-155d09221a37</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I assume these custom properties are email headers.&lt;/p&gt;
&lt;p&gt;Do you act in a highly regulated environment? If yes, then an approval by email is probably not a good idea.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110558?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2023 20:07:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:221200dd-6c64-47b9-9e5e-7c9a8b74edf5</guid><dc:creator>RyanB</dc:creator><description>&lt;p&gt;Currently, it is all POC and being investigated/conisdered. But from my understanding with the clients, it is very similar to the original post. The client does not see a nessecity for certain users to always have to login to Appian in order to approve/deny/reject/etc certain tasks or updates, and wanted it explored for if there is a way to do so using email. I know the send/receive email sections of the Appian documentation mention using custom properties, but I don&amp;#39;t see any information about how to correctly set them up or retreive them. It&amp;#39;s mentioned at the bottom of this article here, at the very least.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/23.1/Receive_Message_Event.html#email"&gt;docs.appian.com/.../Receive_Message_Event.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110555?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2023 19:03:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5435103-a84f-4059-a0e3-0e13e99800c4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;As an email has zero structure, there is no good or fool proof way of doing this.&lt;/p&gt;
&lt;p&gt;What is your concrete use case? If it is about requesting data from a non-Appian user, did you consider Portals?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110554?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2023 19:00:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fdffe66-99a9-464b-944f-a6faa0c78bad</guid><dc:creator>RyanB</dc:creator><description>&lt;p&gt;Stefan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have tips for how to insert/extract custom property fields from emails? I&amp;#39;m running into a similar manner as the original poster, but I&amp;#39;m having a very difficult time trying to get the information out of the email. I see in the documentation about retreiving custom properties, but nothing about how to actually implant and/or use them in the email itself. Any help/tips?&lt;br /&gt;&lt;br /&gt;I am also having a difficult time with splitting the body information. Using any of the body properties includes the company footer in what is stored in the variable being used to hold the body.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110146?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2023 10:25:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca3c8286-8eea-4de5-859b-9c540e492252</guid><dc:creator>milagrosadrianar</dc:creator><description>&lt;p&gt;Thank you very much Stefan and&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/juergeng0002"&gt;juergeng0002&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to try with the email option that would start the process&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110074?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 17:25:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11bcdc28-cc7f-4cea-b326-307e0af49ef6</guid><dc:creator>juergeng0002</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Stefan is absolutely correct - an email can not trigger a POST API call.&lt;/p&gt;
&lt;p&gt;An alternative solution would be sending an email to the external users, with a link in it. If the link is clicked, it generates an answer email [utilizing mailto:] with the recipient set to the process model ID (you can obtain this with&amp;nbsp; a!queryProcessAnalystics() &lt;a href="https://docs.appian.com/suite/help/23.1/fnc_system_a_queryprocessanalytics.html)"&gt;docs.appian.com/.../fnc_system_a_queryprocessanalytics.html)&lt;/a&gt; and with the desired keyword, &amp;#39;reject&amp;#39; or &amp;#39;approve&amp;#39;.&lt;/p&gt;
&lt;p&gt;In the process model you will have the normal start node and the received message event set to &amp;#39;email&amp;#39;. The flow from the incoming email node will go to&amp;nbsp;the gateway where it is determined what path further should be followed. You might consider a timeout or a reminder loop, if the external user is not responding to avoid having active processes sitting in the environment.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run a process model through a link (link, button) in the email</title><link>https://community.appian.com/thread/110065?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 11:12:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6245528d-7e02-4505-9196-979eb054ec23</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;A link in an email can not trigger a POST API call. And to call Appian, authentication is required.&lt;/p&gt;
&lt;p&gt;One option might be to reply by email and a specific keyword. That email would start a process.&lt;/p&gt;
&lt;p&gt;Another option is to create an Appian Portal which accepts a unique identifier sent by email. On this portal these external users could approve or reject.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>