{"id":4387,"date":"2019-11-21T09:40:44","date_gmt":"2019-11-21T09:40:44","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/auto-reply-to-texts-copy\/"},"modified":"2020-04-24T05:19:41","modified_gmt":"2020-04-24T05:19:41","slug":"run-survey","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/run-survey\/","title":{"rendered":"Run a Survey"},"content":{"rendered":"\n<p>There are two ways in which you can create an SMS Survey using SMS-Magic Converse:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You can leverage the functional capability of Converse Apps to design the complete survey. The Converse App helps you create automation templates and define message flows. Once done, you can integrate those with process builders to create message triggers and run the survey campaigns. You can define templates and message responses based on your business requirements.<\/li><li>You can also create a simple message campaign with two message flows. Send out a survey participation request on receiving the expected response attach the survey link in the message response template.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/sf-quickstart\/wp-content\/uploads\/sites\/4\/2019\/11\/Run-Survey.jpg\" alt=\"\" class=\"wp-image-837\" \/><\/figure>\n\n\n\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. In this example, we send an auto-reply if a customer send a service rating response (1-5). Here, we are confuguring auto-reply message  if the rating is 1. You have to follow same steps to to configure auto-replies for other options.<\/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<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<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>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<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<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/11\/SMS_Survey.jpg\" alt=\"\" class=\"wp-image-3701\" \/><\/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<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<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\n\n\n<p>Customer will get a autoresponse when the customer send the rating response as 1. For other rating options, create a auto-reply flow as shown above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two ways in which you can create an SMS Survey using SMS-Magic Converse: You can leverage the functional capability of Converse Apps to design the complete survey. The Converse App helps you create automation templates and define message flows. Once done, you can integrate those with process builders to create message triggers and [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[73],"lsvr_kba_tag":[],"class_list":["post-4387","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-223converse_apps159"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/4387","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=4387"}],"version-history":[{"count":10,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/4387\/revisions"}],"predecessor-version":[{"id":4536,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/4387\/revisions\/4536"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=4387"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=4387"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=4387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}