{"id":3679,"date":"2019-10-18T13:08:42","date_gmt":"2019-10-18T13:08:42","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/?post_type=lsvr_kba&#038;p=3679"},"modified":"2020-04-24T05:19:06","modified_gmt":"2020-04-24T05:19:06","slug":"auto-reply-to-texts","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/auto-reply-to-texts\/","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, you can trigger further messages from 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<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/08\/trigger-auto-reply-1.59-2.jpg\" alt=\"\" \/><\/figure>\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<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/08\/trigger-auto-reply-1.59-4.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>The name of the process.<\/li><li>The name of the API.<\/li><li>The description of the process.<\/li><li>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<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder6.jpg\">\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<table class=\"wp-block-table is-style-stripes\"><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>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1881\" height=\"887\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder7.jpg\" alt=\"\" class=\"wp-image-3701\" srcset=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder7.jpg 1881w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder7-300x141.jpg 300w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder7-768x362.jpg 768w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder7-1024x483.jpg 1024w\" sizes=\"auto, (max-width: 1881px) 100vw, 1881px\" \/><\/figure>\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<table class=\"wp-block-table is-style-stripes\"><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>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1883\" height=\"889\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder8.jpg\" alt=\"\" class=\"wp-image-3702\" srcset=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder8.jpg 1883w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder8-300x142.jpg 300w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder8-768x363.jpg 768w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/10\/processbuilder8-1024x483.jpg 1024w\" sizes=\"auto, (max-width: 1883px) 100vw, 1883px\" \/><\/figure>\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":8,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[486],"lsvr_kba_tag":[],"class_list":["post-3679","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-setup-sms-automation-for-your-business-process"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3679","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/comments?post=3679"}],"version-history":[{"count":7,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3679\/revisions"}],"predecessor-version":[{"id":4477,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3679\/revisions\/4477"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=3679"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=3679"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=3679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}