{"id":40799,"date":"2022-07-25T16:54:32","date_gmt":"2022-07-25T16:54:32","guid":{"rendered":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?p=40799"},"modified":"2024-06-19T13:30:34","modified_gmt":"2024-06-19T13:30:34","slug":"duplicate-management-when-creating-records-via-123-form-builder","status":"publish","type":"post","link":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/","title":{"rendered":"[AppExchange \u2013 123FormBuilder] Duplicate management when creating records"},"content":{"rendered":"\n<p>Duplicate records cause trouble for the business, as well as the admin. Clients may get angry if multiple sales reps contact them with the same purpose. At the same time, sales reps lose trust in the CRM and question the validity of the data they rely on. So what can you do to prevent duplicate records?<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-on-salesforce-side\">On Salesforce side<\/h2>\n\n\n\n<p>Use <b>Matching and Duplicate<\/b> rules. If you need more details about setting this up, you can always check this <a href=\"https:\/\/trailhead.salesforce.com\/content\/learn\/modules\/sales_admin_duplicate_management\" target=\"_blank\" rel=\"noreferrer noopener\">Trailhead article<\/a>. Depending on how the <b>Duplicate Management<\/b> is configured, creating a duplicate record can be blocked altogether or it can be allowed to show an alert. To bypass this alert enable the option <a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/override-duplicate-rules-when-creating-updating-record\/\" target=\"_blank\" rel=\"noreferrer noopener\">Override Duplicate Rules when creating\/updating record <\/a>from the mapping interface, under Record Preferences.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"292\" src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png\" alt=\"\" class=\"wp-image-49000\" srcset=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png 658w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3-300x133.png 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>When choosing to block duplicate records from being created, the 123FormBuilder app will also throw an error and won\u2019t create the record, if the form is set up to create a new record instead of updating an existing record.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-on-123formbuilder-side\">On 123FormBuilder side<\/h2>\n\n\n\n<p>In the <a href=\"\/\">form builder<\/a> app, in <b>Salesforce Integration \u2192 Object Mapping<\/b>, under <b>Record preferences<\/b>, make sure to choose the <b>Update existing record<\/b> option for <b>Action to perform<\/b>. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecord.png\"><img loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"410\" src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecord.png\" alt=\"Salesforce action to perform\" class=\"wp-image-40806\" style=\"width:700px;height:319px\" srcset=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecord.png 899w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecord-300x137.png 300w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecord-768x350.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>This setup allows adding a single criterion for identifying an existing record in Salesforce. But most times, the Matching and Duplicate rules created in Salesforce involve multiple criteria. For example: for Contact, one may use <em>Last Name <\/em>and<em> Email <\/em>or<em> Date of birth<\/em>.<\/p>\n\n\n\n<p>This is why <b>we recommend using the Record ID as a criterion for Updating existing record<\/b> when setting up the Object Mapping.<\/p>\n\n\n\n<p>Since your form visitors don\u2019t know the Salesforce Record ID, here\u2019s what you can do to identify it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a <a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/lookup-fields\/\" target=\"_blank\" rel=\"noreferrer noopener\">lookup<\/a> to identify the record and return it\u2019s ID. Next, use prefill (<a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/123formbuilder-prefill-form-fields\/\">URL<\/a> or <a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/123formbuilder-dynamic-prefill\/\">dynamic<\/a>) to populate a hidden field on the form with the Record ID (this works for simple matching criteria, that use the AND operator).<\/li>\n\n\n\n<li>Create a <a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/appexchange-123-form-builder-salesforce-queries\/\">query<\/a> to identify the record and return it\u2019s ID. Use the ID in Object Mapping, instead of a form field.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecordQueryResult.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"201\" src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecordQueryResult-1024x201.png\" alt=\"Salesforce update record query\" class=\"wp-image-40807\" srcset=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecordQueryResult-1024x201.png 1024w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecordQueryResult-300x59.png 300w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecordQueryResult-768x151.png 768w, https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2021\/10\/SFUpdateRecordQueryResult.png 1117w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<p><b>Related articles<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/error-the-record-could-not-be-created-in-the-objectname-object-reason-use-one-of-these-records\/\">Error: The record could not be created in the [ObjectName] object. Reason: Use one of these records?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/appexchange-123-form-builder-salesforce-queries\/\">Salesforce Queries<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/123formbuilder-prefill-form-fields\/\">Prefill Form Fields<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/123formbuilder-dynamic-prefill\/\">Dynamic Prefill<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Duplicate records cause trouble for the business, as well as the admin. Clients may get angry if multiple sales reps contact them with the same purpose. At the same time, sales reps lose trust in the CRM and question the validity of the data they rely on. So what can you do to prevent duplicate [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":-1,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[134],"tags":[],"class_list":["post-40799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-123formbuilder-appexchange"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Duplicate management of Salesforce records | 123FormBuilder<\/title>\n<meta name=\"description\" content=\"Duplicate records cause trouble for the business, as well as the admin. Here&#039;s how you can prevent creating duplicate records.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[AppExchange \u2013 123FormBuilder] Duplicate management when creating records\" \/>\n<meta property=\"og:description\" content=\"Duplicate records cause trouble for the business, as well as the admin. Here&#039;s how you can prevent creating duplicate records.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/\" \/>\n<meta property=\"og:site_name\" content=\"123FormBuilder Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-25T16:54:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-19T13:30:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Duplicate management of Salesforce records | 123FormBuilder","description":"Duplicate records cause trouble for the business, as well as the admin. Here's how you can prevent creating duplicate records.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/","og_locale":"en_US","og_type":"article","og_title":"[AppExchange \u2013 123FormBuilder] Duplicate management when creating records","og_description":"Duplicate records cause trouble for the business, as well as the admin. Here's how you can prevent creating duplicate records.","og_url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/","og_site_name":"123FormBuilder Knowledge Base","article_published_time":"2022-07-25T16:54:32+00:00","article_modified_time":"2024-06-19T13:30:34+00:00","og_image":[{"url":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#article","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/"},"author":{"name":"admin","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea"},"headline":"[AppExchange \u2013 123FormBuilder] Duplicate management when creating records","datePublished":"2022-07-25T16:54:32+00:00","dateModified":"2024-06-19T13:30:34+00:00","mainEntityOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/"},"wordCount":377,"commentCount":0,"image":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png","articleSection":["AppExchange"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/","name":"Duplicate management of Salesforce records | 123FormBuilder","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#primaryimage"},"image":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png","datePublished":"2022-07-25T16:54:32+00:00","dateModified":"2024-06-19T13:30:34+00:00","author":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea"},"description":"Duplicate records cause trouble for the business, as well as the admin. Here's how you can prevent creating duplicate records.","breadcrumb":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#primaryimage","url":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png","contentUrl":"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2024\/06\/tres-3.png"},{"@type":"BreadcrumbList","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/duplicate-management-when-creating-records-via-123-form-builder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/"},{"@type":"ListItem","position":2,"name":"[AppExchange \u2013 123FormBuilder] Duplicate management when creating records"}]},{"@type":"WebSite","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/","name":"123FormBuilder Knowledge Base","description":"Search our documentation platform for answers, service specifications and 3rd-party integrations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","caption":"admin"},"url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/40799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/comments?post=40799"}],"version-history":[{"count":13,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/40799\/revisions"}],"predecessor-version":[{"id":49001,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/40799\/revisions\/49001"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/media?parent=40799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/categories?post=40799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/tags?post=40799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}