Salesforce record creation, update, and assignment rules [Classic]
The Salesforce setup process includes 5 steps: API connection, Installation, Field validation, Field mapping, and Creation rules.
In this article, you’ll learn about how to define the way Leads, Contacts, and Cases will be created, updated, and assigned in Salesforce when a booking is made.
<script id="snippet-prepend">$(function(){
/*disable in widget*/ if($('.w-documentation-article').length === 0){
var ToC = "<nav role='navigation' class='table-of-contents toc-top'><h4>In this article:" + "<ul>"; var el, title, link, header; //Define the heading levels you want to use in ascending order. Can add extra or remove unneeded. $(".hg-article-body h1, .hg-article-body h2, .hg-article-body h3, .hg-article-body h4").each(function() { el = $(this); title = el.text(); if(title != ''){ anchorTitle = el.text().replace(/([~!@#$%^&*()_+=`{}\[\]\|\\:;'<>,.\/\? ])+/g, '-').toLowerCase(); link = "#" + anchorTitle; //Set all headers to a 0-nesting level. header = 'header-nesting-0'; //Adjust header-nesting layers so that they point to the correct html tag. header-nesting-1 should match the second .hg-article-body h# listed above; header-nesting-2 should match the third, etc. if($(this).is('h2')){ header = 'header-nesting-1'; }else if($(this).is('h3')){ header = 'header-nesting-2' } el.html('<a id="'+anchorTitle+'" class="toc-anchor">' + el.html()); newLine = "<li class='"+header+"'>" + "<a class='article-anchor' href='" + link + "'>" + title + "" + "";
ToC += newLine; } }); ToC += "" + ""; $("#snippet-prepend").before(ToC); }});
</script><style>/* CSS to style the TOC as it displays and the auto-created anchors.toc-top styles the box for the TOC; adjust styles here to tweak look and feel */
.toc-top { background-color: #FAFAFA; /* set to #fff or delete entirely for no background */ border: 1px solid #C8C8C8; /* adjust the color hex here to change border color */ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset; margin-top: 24px; margin-bottom: 36px; min-height: 20px; padding: 13px 20px; max-width: 75%;}.toc-top h4 { font-size: 18px; line-height: 26px; margin: 0 0 8px; font-weight: 400;}.toc-top ul { padding: 0 0 0 15px !important; margin-bottom: 0;}.toc-top > ul { margin-bottom: 13px!important;}.toc-anchor { display: block; height: 90px; margin-top: -90px; visibility: hidden;}
/* Set the indentation for the nesting levels. May need to be edited to match changes above. Increase or decrease the margin-left to get your desired level of indentation. */.header-nesting-1 { margin-left: 14px;}.header-nesting-1:before { background-image: url(https://dyzz9obi78pm5.cloudfront.net/app/image/id/5d31bcc88e121c9b25ba22c4/n/bulletv2.svg)!important;}.header-nesting-2 { margin-left: 28px;}.header-nesting-2:before { background-image: url(https://dyzz9obi78pm5.cloudfront.net/app/image/id/5d31be536e121cf22b0cc6ae/n/bulletv3.svg)!important;}</style>Requirements
Section titled “Requirements”To set up the OnceHub connector for Salesforce, you must:
You do not need an assigned product license to install and update Salesforce account settings. Learn more
Accessing the Salesforce connector setup page
Section titled “Accessing the Salesforce connector setup page”<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'}</style>- Click the gear icon located in the top-right corner of the page.
- Select Account Integrations from the dropdown menu.
- Filter for CRM.
- Click on the Salesforce (For Booking Pages) tile.
- Click the Setup button in the Salesforce box (Figure 1).
Figure 1: Salesforce setup
On the Salesforce connector setup page, select Creation rules (Figure 2).
Figure 2: Creation rules
Lead records
Section titled “Lead records”
Figure 3: Lead records
Existing Leads
Section titled “Existing Leads”In this case, the Customer making the booking exists in Salesforce and is recognized based on their Lead Record ID or their email address.
- If you’re scheduling with existing Salesforce Leads only, you should use our Personalized links (Salesforce ID) in your Salesforce email templates and Salesforce emails to automatically recognize the Lead based on their Salesforce Lead record ID. This allows you to prepopulate the Booking form step with Salesforce data, or skip it altogether.
- If you’re not sure that the Customer making the booking already exists in Salesforce, you should use the General links to recognize the Customer based on their email address. When the Lead or Contact record is identified, it will be updated based on the option you have chosen in the Record creation and update rules.
When a booking is made, the options provided allow you to choose between:
- Overriding the existing Salesforce data with OnceHub data.
- Keeping the existing Salesforce data and only update empty fields.
You can also decide whether to keep the Salesforce ownership, assign the record to the OnceHub Booking page owner, or assign the record using Salesforce active assignment rules.
New Leads
Section titled “New Leads”In this case, the Customer making the booking does not exist in Salesforce. For this reason, you should use General links when making bookings with prospects that may or may not exist in your Salesforce database.
When a booking is made, OnceHub creates a new Lead record in Salesforce and adds a new Salesforce Activity Event. You can decide whether to assign the Lead record to the OnceHub Booking page Owner or assign the Lead record using Salesforce active assignment rules.
Contact records
Section titled “Contact records”
Figure 4: Contact records
Existing Contacts
Section titled “Existing Contacts”In this case, the Customer making the booking exists in Salesforce and is recognized based on the email address or Contact Record ID.
- If you’re scheduling with existing Salesforce Contacts only, you should use our Personalized links (Salesforce ID) in your Salesforce email templates and Salesforce emails to automatically recognize the Contact based on their Salesforce Contact record ID. This allows you to prepopulate the Booking form step with Salesforce data, or skip it altogether.
- If you’re not sure that the Customer making the booking already exists in Salesforce, you should use the General links to recognize the Customer based on their email address. When the Lead or Contact record is identified, it will be updated based on the option you have chosen in the Record creation and update step.
When a booking is made, the options provided allow you to choose between:
- Overriding the existing Salesforce data with OnceHub data.
- Keeping the existing Salesforce data and only update empty fields.
You can also decide whether to keep the Salesforce ownership or assign the record to the OnceHub Booking page owner.
New Contacts
Section titled “New Contacts”In this case, the Customer making the booking does not exist in Salesforce and the Account may or may not exist in Salesforce. For this reason, you should use General links when making bookings with prospects that may or may not exist in your Salesforce database.
When a booking is made, OnceHub creates a new Contact record in Salesforce, assigns the Contact to the OnceHub Booking page Owner, and adds a new Salesforce Activity Event.
NoteWhen an Account does not exist in Salesforce, it is always created based on OnceHub data.
Case records
Section titled “Case records”
Figure 5: Case records
Existing Cases
Section titled “Existing Cases”In this case, the Case exists in Salesforce and is recognized based on the Salesforce Case Record ID. You should use our Personalized links (Salesforce ID) in your Salesforce email templates and Salesforce emails to automatically recognize the Case based on the Salesforce Case Record ID. This allows you to prepopulate the booking form step with Salesforce data, or skip it altogether.
When a booking is made, the options provided allow you to choose between:
- Overriding the existing Salesforce data with OnceHub data.
- Keeping the existing Salesforce data and only update empty fields.
You can also decide whether to keep the Salesforce ownership, assign the record to the OnceHub Booking page owner, or assign the record using Salesforce active assignment rules.
NoteThe Contact is always updated based on the Record creation and update rules.
New Cases
Section titled “New Cases”In this case, the Case doesn’t exist in Salesforce and the Customer making the booking may or may not exist in Salesforce. For this reason, you should use General links when making bookings with prospects that may or may not exist in your Salesforce database.
When a booking is made, OnceHub creates a new Case record in Salesforce and adds a new Salesforce Event upon booking. You can decide whether to assign the Case record to the OnceHub Booking page Owner or assign the Case record using Salesforce active assignment rules.
NoteThe Contact is always updated based on the Record creation and update rules.