{"id":1294,"date":"2019-09-26T15:29:39","date_gmt":"2019-09-26T15:29:39","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/?post_type=lsvr_kba&#038;p=1294"},"modified":"2020-04-24T05:19:41","modified_gmt":"2020-04-24T05:19:41","slug":"trigger-message-flow","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/trigger-message-flow\/","title":{"rendered":"Trigger a Message Flow"},"content":{"rendered":"\n<p>Using the Action Key generated for each message in a message flow, you can trigger further messages from a 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;Action Key&nbsp;is generated. The action key is necessary to trigger messages from the&nbsp;Process Builder. The action key appears as shown.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"236\" src=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/process-builder-1.59-1-1024x236.jpg\" alt=\"\" class=\"wp-image-778\" srcset=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/process-builder-1.59-1-1024x236.jpg 1024w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/process-builder-1.59-1-300x69.jpg 300w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/process-builder-1.59-1-768x177.jpg 768w, https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/process-builder-1.59-1.jpg 1055w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Trigger a Message Flow from Process Builder using Action Key <\/h3>\n\n\n\n<ol>\n<li>Click <img decoding=\"async\" src=\"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/setup_icon.jpg\"> on the Salesforce navigation on the top right and then click <b>Setup<\/b><\/li>\n<li>Select Process Builder by:\n<ul>\n<li>Using the Search Setup field, or<\/li>\n<li>Using the Quick Find search field, or<\/li>\n<li>Selecting Platform Tools &gt; Process Automation &gt; Process Builder.<\/li>\n<\/ul>\n<br>\n<\/li>\n<li>Click <b>New<\/b>.<\/li><br><p>\n<li>In the <b>New Process <\/b> window, enter the following information:\n<ul>\n<li>The Process Name<\/li>\n<li>The API name<\/li>\n<li>A Description of the process.<\/li>\n<li>The Action trigger indicating when the process will begin.<\/li><br><p>\n<\/ul>\n<\/li>\n<li>Click <b>Save<\/b>.<\/li>\n<li>In the Process Builder page click <b>Add Object<\/b> and define the object.<\/li><br><p>\n<li>Click <b>Save<\/b>.<\/li>\n<li>Click <b>Add Criteria<\/b> and define the criteria for the action group.<\/li><br><p>\n<li>Click <b>Add Action<\/b> and define the following:<\/li><br>&nbsp;\n<table class=\"wp-block-table is-style-stripes\"><tbody><tr><th>ACTION<\/th><th>DESCRIPTION<\/th><\/tr><tr><td>Action Type<\/td><td>Select&nbsp;<strong>Create a Record<\/strong>&nbsp;from the drop-down menu.<\/td><\/tr><tr><td>Action Name<\/td><td>Type an Action name.<\/td><\/tr><tr><td>Record Type<\/td><td>Select&nbsp;<strong>Converse App Task<\/strong>&nbsp;from the drop-down menu.<\/td><\/tr><tr><td>Set Field Values \u2013 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 \u2013 Lookup Reference<\/td><td>Select the lookup reference information. Select the&nbsp;<strong>Object<\/strong>from the drop-down. Select&nbsp;<strong>Field Reference<\/strong>&nbsp;from the&nbsp;<strong>Type<\/strong>drop-down. Search for the&nbsp;<strong>Field Reference Value<\/strong>.<\/td><\/tr><\/tbody><\/table>\n<p><img decoding=\"async\" src=\"\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/08\/trigger-message-flow-1.59-7.jpg\"><\/p>\n<li>Click <b>Save<\/b>.<\/li>\n<li>Click <b>Activate<\/b> and then click <b>Confirm<\/b>.<\/li>\n<\/ol>\n<div class=\"c-alert-message\">Activating this process automatically deactivates any other active version. The deactivated version is available in your version history.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Using the Action Key generated for each message in a message flow, you can trigger further messages from a Process Builder. The triggering of the messages is based on certain criteria and conditions. What is the Action Key? For each message created in the message flow, a unique&nbsp;Action Key&nbsp;is generated. The action key is necessary [&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-1294","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\/1294","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=1294"}],"version-history":[{"count":8,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/1294\/revisions"}],"predecessor-version":[{"id":4539,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/1294\/revisions\/4539"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=1294"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=1294"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=1294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}