{"id":2013,"date":"2019-09-28T11:16:01","date_gmt":"2019-09-28T11:16:01","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/salesforce\/?post_type=lsvr_kba&#038;p=2013"},"modified":"2020-04-24T05:19:38","modified_gmt":"2020-04-24T05:19:38","slug":"create-consent-through-process-builders","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/salesforce\/knowledge-base\/create-consent-through-process-builders\/","title":{"rendered":"Create Consent through Process Builders"},"content":{"rendered":"\n<ol>\n<li>Under <b>Setup<\/b>, click <b>Process Builder<\/b> and then click <b>New<\/b>. The New Process pop-up window appears\n<\/li><br><p><img decoding=\"async\" src=\"\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/pbwindow_1.jpg\" \/>.<\/p>\n<li>Enter the following information.<\/li>\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>\n<\/ul>\n<li>Click <b>Save<\/b>.<\/li>\n<li>In the Process Builder page click <b>Add Object<\/b>.<\/li>\n<li>Under Object, type the object that will be modified, for example, Contact or Lead.<\/li><br><p> <img decoding=\"async\" src=\"\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/pbwindow_2.jpg\" \/><\/p>\n<li>Click <b>Save<\/b>.<\/li>\n<li>Click <b>Add Criteria.<\/b><\/li>\n<li>Define the criteria as <b>Whenever a new lead is created for the action group.<\/b><\/li><br><p><img decoding=\"async\" src=\"\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/pbwindow_3.jpg\" \/><\/p>\n<li>Click <b>Add Action <\/b>. The Action fields appear.<\/li><br><p><img decoding=\"async\" src=\"\/docs\/salesforce\/wp-content\/uploads\/sites\/2\/2019\/09\/pbwindow_4.jpg\" \/><\/p>\n<li>Enter the details, as required. Refer to the table below for more details.<\/li>\n<li>Click <b>Add Row<\/b> to include additional fields.<\/li>\n<br>\n<table class=\"wp-block-table has-fixed-layout is-style-stripes\"><tbody><tr><th>FIELD<\/th><th>DESCRIPTION<\/th><\/tr><tr><td>Action<\/td><td>Define the Action as: Create a Record.<\/td><\/tr><tr><td>Action Name<\/td><td>Provide a name for the Action.&nbsp;<\/td><\/tr><tr><td colspan=\"2\">Define Fields<br>these fields need to be configured during the Compliance Configuration process.<\/td><\/tr><tr><td>Mobile Number<\/td><td>Select the Mobile Number that is selected as the consent parameter for creating the consent record.<\/td><\/tr><tr><td>Sender ID<\/td><td>Select the Sender ID that will be used to create the consent record.<br>This field is important only if you select Sender ID as one of the parameters for creating the consent record. You may skip this field if it has not been defined as a parameter in your compliance configurations. In such a scenario consent record will be created irrespective of the Sender ID the request is received from.<\/td><\/tr><tr><td>Content<\/td><td>Select the Content type for which the consent request will be created.<br>You may skip this field if content type is not selected as a parameter to collect consent requests in your compliance configurations.<\/td><\/tr><tr><td>Confirmation Config<\/td><td>Select the confirmation configuration ID from the&nbsp;<strong>Confirmation Config<\/strong>&nbsp;object. This ID comprises the Sender Id from which the confirmation message will be sent. This configuration is completed in Step 3 of the compliance configuration process and will be displayed for Opt-in, optout and double opt-in consent requests.<\/td><\/tr><tr><td>Do Not Send Confirmation<\/td><td>Select this value as true if you do not wish to send a confirmation message.<\/td><\/tr><tr><td>Compliance Status<\/td><td>Select the consent status that shall be recorded i.e. Opt-Out, Opt-In, etc. You will need to create multiple process builders to generate consent records with different compliance status.<\/td><\/tr><tr><td>Source<\/td><td>Select the source for generating the consent and set the value as Non-handset<\/td><\/tr><tr><td>Lead<\/td><td>Select Lead as a record field and select the value for the lead lookup.<br>This can also be contact depending on which object you are selecting.<\/td><\/tr><\/tbody><\/table>\n<\/li>\n<li>Click <b>Save<\/b>.<\/li>\n<li>Click <b>Activate<\/b> and then click <b>Confirm.<\/b><\/li><br>\n<div class=\"c-alert-message\">You can also import consents by creating a CSV with all the fields mentioned above. Click <b>Import<\/b> to start importing consents.<\/div>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Under Setup, click Process Builder and then click New. The New Process pop-up window appears . Enter the following information. The Process Name The API name A Description of the process The Action trigger indicating when the process will begin Click Save. In the Process Builder page click Add Object. Under Object, type the object [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[],"lsvr_kba_tag":[329,328],"class_list":["post-2013","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_tag-converse-settings","lsvr_kba_tag-create-consent-database"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/2013","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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/comments?post=2013"}],"version-history":[{"count":23,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/2013\/revisions"}],"predecessor-version":[{"id":3591,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba\/2013\/revisions\/3591"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/media?parent=2013"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_cat?post=2013"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/salesforce\/wp-json\/wp\/v2\/lsvr_kba_tag?post=2013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}