{"id":3636,"date":"2019-10-18T06:31:25","date_gmt":"2019-10-18T06:31:25","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/?post_type=lsvr_kba&#038;p=3636"},"modified":"2020-04-24T05:19:06","modified_gmt":"2020-04-24T05:19:06","slug":"keyword-based-automation","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/keyword-based-automation\/","title":{"rendered":"Keyword-Based Automation"},"content":{"rendered":"\n<p>Keyword-based automation is the automatic sending or triggering of text messages to individuals or groups of people based on certain keywords.  You can configure keyword-based automation when messages are triggered on a specific date and for a particular event. This is similar to running drip campaigns. Keyword-based automation saves time while ensuring that your customers instantly get the right response and your lists are accurately updated based on the keywords in your received messages. As a business user, you can define the automation template in the Converse App which can be used to make it work with process builder and workflows.   <\/p>\n\n\n\n<p>To create Keyword-based automation, first, you need to create an automation message flow and then trigger an SMS Message based on a Keyword Response using the action key.<\/p>\n\n\n\n<p>\n\nIn the following example, we will update a Salesforce record based on the keyword response of a customer.\n\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">To create an automation 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>Automation<\/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 name of the message flow in the&nbsp;<strong>Name<\/strong>&nbsp;field.<\/p>\n\n\n\n<p>6. 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. By default,&nbsp;<strong>Do not send to opt-out members<\/strong>&nbsp;is selected. To send the message to opt-out members, clear the checkbox.<\/p>\n\n\n\n<p>12. Click&nbsp;<strong>Create<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Trigger an Automation 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. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the Action Key?<\/h3>\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 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:\/\/staging.txtbox.in\/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:\/\/staging.txtbox.in\/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>Lead<\/strong>. <\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/11\/processbuilder3.jpg\">\n\n\n\n<p>7.  Click&nbsp;<strong>Add Criteria<\/strong>&nbsp;and define the criteria for the action group. <\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/11\/processbuilder4.jpg\">\n\n\n\n<p>8.  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 Task<\/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>Select the lookup reference information. Select the&nbsp;<strong>Object<\/strong>&nbsp;from the 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<img decoding=\"async\" src=\"https:\/\/www.sms-magic.com\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/11\/processbuilder5.jpg\">\n\n\n\n<p>9. Click&nbsp;<strong>Save<\/strong>.<\/p>\n\n\n\n<p>10. 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>Keyword-based automation is the automatic sending or triggering of text messages to individuals or groups of people based on certain keywords. You can configure keyword-based automation when messages are triggered on a specific date and for a particular event. This is similar to running drip campaigns. Keyword-based automation saves time while ensuring that your customers [&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-3636","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\/3636","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=3636"}],"version-history":[{"count":29,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3636\/revisions"}],"predecessor-version":[{"id":4476,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/3636\/revisions\/4476"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=3636"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=3636"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=3636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}