{"id":1296,"date":"2019-09-26T15:30:42","date_gmt":"2019-09-26T15:30:42","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/?post_type=lsvr_kba&#038;p=1296"},"modified":"2020-04-24T05:19:41","modified_gmt":"2020-04-24T05:19:41","slug":"auto-reply","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/auto-reply\/","title":{"rendered":"Auto-Reply to Texts"},"content":{"rendered":"\n<p>Auto-reply is one of the first automation you need to implement because they reassure customers that they will be taken care of as soon as possible, no matter when they send you a message. <\/p>\n\n\n\n<p>To create Auto-reply, first, you need to create a message flow and then trigger an Auto-reply message using the action key.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">To create an auto-reply to text message flow, do the following:<\/h3>\n\n\n\n<p>1. Go to&nbsp;the&nbsp;<strong>App detail<\/strong>&nbsp;page and click&nbsp;<strong>Setup<\/strong>.<\/p>\n\n\n\n<p>2. From the list, select&nbsp;<strong>Automation<\/strong>.<\/p>\n\n\n\n<p>3. From the&nbsp;<strong>Setup Automation Campaign<\/strong>&nbsp;dialog, select the number of steps that are part of the message flow.<\/p>\n\n\n\n<p>4. On the&nbsp;<strong>Message Flow<\/strong>&nbsp;configuration page, select the <strong>Auto Reply <\/strong>flow type. <\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/11\/MessageFlow.png\">\n\n\n\n<p>5. Enter the keyword for the message flow in the&nbsp;<strong>Keyword<\/strong>&nbsp;field. The keyword is decided by the user. <\/p>\n\n\n\n<p>6. Enter the name of the message flow in the&nbsp;<strong>Name<\/strong>&nbsp;field.<\/p>\n\n\n\n<p>7. Enter a short description of the message flow in the&nbsp;<strong>Description<\/strong>&nbsp;field.<\/p>\n\n\n\n<p>8. Select the sender ID in the&nbsp;<strong>Sender ID<\/strong>&nbsp;field.<\/p>\n\n\n\n<p>9. Select the action trigger in the&nbsp;<strong>Message Flow Trigger<\/strong>&nbsp;field.<\/p>\n\n\n\n<p>10. Select the template in the&nbsp;<strong>Template<\/strong>&nbsp;field. The text of the template is displayed.<\/p>\n\n\n\n<p>11. Click&nbsp;<strong>Create<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Trigger an Auto-Reply Message Flow from Process Builder using Action Key<\/h3>\n\n\n\n<p>Using the Action Key generated for each message in a message flow the user can trigger further messages from a Process Builder. The triggering of the messages is based on certain criteria and conditions. In the following example, we send auto-replies based on the incoming message keyword. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">What is the Action Key?<\/h4>\n\n\n\n<p>For each message created in the message flow, a unique&nbsp;<strong>Action Key<\/strong>&nbsp;is generated. The action key is necessary to trigger messages from the&nbsp;<strong>Process Builder<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/actionkey1.jpg\">\n\n\n\n<h3 class=\"wp-block-heading\">To Trigger an Auto-Reply SMS Message based on a Keyword Response:<\/h3>\n\n\n\n<p>1. From the Salesforce navigation on the top right click <strong>Setup<\/strong>.  <\/p>\n\n\n\n<p>2. Select Process Builder by searching it in the <strong>Search Setup<\/strong> field.<\/p>\n\n\n\n<p>3. Click <strong>New<\/strong>.  <\/p>\n\n\n\n<p>4. In the New Process window, enter the following information: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Process Name : The name of the process.<\/li><li>API Name : The name of the API.<\/li><li>Description : The description of the process.<\/li><li>The process starts when : The action trigger for the process. The process will execute when that action is triggered.  <\/li><\/ul>\n\n\n\n<p>5. Click <strong>Save<\/strong>.<\/p>\n\n\n\n<p>6. In the Process Builder page, click <strong>Add Object<\/strong> and select <strong>SMS History<\/strong>. <\/p>\n\n\n\n<p> 7. Click <strong>Save<\/strong>. <\/p>\n\n\n\n<p>8.  Click&nbsp;<strong>Add Criteria<\/strong>&nbsp;and define the criteria for the action group. <\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"\"><thead><tr><th><strong>Action<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Criteria Name <\/td><td> Enter a name. <\/td><\/tr><tr><td>Criteria for Executing Actions <\/td><td> Select&nbsp;<strong>Conditions are met<\/strong>. This option is the default.<\/td><\/tr><tr><td> Set Conditions <\/td><td>Set the following two conditions:<br><br>Condition 1 &#8211; In&nbsp;<strong>Field<\/strong>&nbsp;search for&nbsp;<strong>Direction<\/strong>. In&nbsp;<strong>Value<\/strong>&nbsp;select&nbsp;<strong>IN<\/strong>. Leave&nbsp;<strong>Operator<\/strong>&nbsp;and&nbsp;<strong>Type<\/strong>&nbsp;as is.<br><br>Condition 2 &#8211; In&nbsp;<strong>Field<\/strong>&nbsp;search for&nbsp;<strong>SMSText<\/strong>. In&nbsp;<strong>Value<\/strong>&nbsp;enter&nbsp;<strong>YES<\/strong>. Leave&nbsp;<strong>Operator<\/strong>&nbsp;and&nbsp;<strong>Type<\/strong>&nbsp;as is. <\/td><\/tr><tr><td> Conditions <\/td><td>Select&nbsp;<strong>All of the conditions are met (AND)<\/strong>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder7.jpg\">\n\n\n\n<p>9. Click <strong>Save<\/strong>.<\/p>\n\n\n\n<p>10. Click&nbsp;<strong>Add Action<\/strong>&nbsp;and define the following:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"\"><thead><tr><th><strong>Action<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Action Type<\/td><td>Select&nbsp;<strong>Create a Record<\/strong>&nbsp;from the dropdown.<\/td><\/tr><tr><td>Action Name<\/td><td>Enter a name.<\/td><\/tr><tr><td>Record Type<\/td><td>Select&nbsp;<strong>Converse App Type<\/strong>&nbsp;from the dropdown.<\/td><\/tr><tr><td>Set Field Values &#8211; Automation Key Reference<\/td><td>Enter the Action Key after creating the message in the message flow procedure.<\/td><\/tr><tr><td>Set Field Values &#8211; Lookup Reference<\/td><td>Set the following two lookup reference:<br><br>Reference 1 &#8211; Select the&nbsp;<strong>SMS History<\/strong>&nbsp;from the&nbsp;<strong>Field<\/strong>&nbsp;dropdown. Select&nbsp;<strong>Field Reference<\/strong>&nbsp;from the&nbsp;<strong>Type<\/strong>&nbsp;dropdown. Search for the&nbsp;<strong>Field Reference Value<\/strong>.<br><br>Reference 2 &#8211; Select the&nbsp;<strong>Object<\/strong>&nbsp;from the&nbsp;<strong>Field<\/strong>&nbsp;dropdown. Select&nbsp;<strong>Field Reference<\/strong>&nbsp;from the&nbsp;<strong>Type<\/strong>&nbsp;dropdown. Search for the&nbsp;<strong>Field Reference Value<\/strong>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder8.jpg\">\n\n\n\n<p>11. Click&nbsp;<strong>Save<\/strong>.<\/p>\n\n\n\n<p>12. Click&nbsp;<strong>Activate<\/strong>&nbsp;and then click&nbsp;<strong>Confirm<\/strong>. Activating this process automatically deactivates any other active version. The deactivated version is available in your version history.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Auto-reply is one of the first automation you need to implement because they reassure customers that they will be taken care of as soon as possible, no matter when they send you a message. To create Auto-reply, first, you need to create a message flow and then trigger an Auto-reply message using the action key. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[73],"lsvr_kba_tag":[59,175],"class_list":["post-1296","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-223converse_apps159","lsvr_kba_tag-converse-1-59-user","lsvr_kba_tag-converse-app"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/1296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/comments?post=1296"}],"version-history":[{"count":11,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/1296\/revisions"}],"predecessor-version":[{"id":4537,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/1296\/revisions\/4537"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=1296"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=1296"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=1296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}