Mapping OnceHub fields to non-mandatory Salesforce fields [Classic]
The Salesforce setup process includes 5 phases: API connection, Installation, Field validation, Field mapping, and Creation rules. The Field mapping step includes a default mapping and the option to map any OnceHub fields to non-mandatory Salesforce fields.
In this article, you will learn how to map OnceHub fields to non-mandatory Salesforce fields.
<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 map non-mandatory fields, you must:
Default mapping
Section titled “Default mapping”Some OnceHub fields are mapped to non-mandatory Salesforce fields by default. We recommend keeping the mapping as is and not removing mapped data from the integration. This will enable you to gather the basic Customer data and booking data in Salesforce.
Other OnceHub fields can be mapped to additional non-mandatory Salesforce fields. You can remove them from the mapping by unchecking each field.
ImportantThe default mapping includes mapping for all objects supported by the Salesforce integration: Lead, Contact, Event, Account, and Cases. However, not all fields will always be in use. This depends on your booking activity and the Booking pages used.
Adding new OnceHub fields
Section titled “Adding new OnceHub fields”You can add OnceHub fields and map them to non-mandatory Salesforce fields. This allows you to map data tracked in OnceHub to Lead, Contact, Case, Account, or Event records.
You cannot map OnceHub fields to Salesforce universally required Custom fields. Required fields must be mapped in the Field validation mapping step.
ImportantOnceHub fields requiring Customer input must be added to the Booking form. Otherwise, the field will be automatically added to the Booking form at the time of the booking and you will not have control over its location in the form. Learn more about adding Custom fields to the Booking form
To add a OnceHub field and map to a Salesforce field, follow these steps:
-
In the Salesforce connector setup, go to the Field Mapping tab.
-
At the bottom left of the table, click the Add OnceHub fields button.
-
The Add OnceHub fields pop-up will open (Figure 2). You can see the list of OnceHub System fields and Custom fields with corresponding field types that can be mapped to Salesforce field types.
Figure 1: Add OnceHub fields pop-upThe Salesforce fields include all the fields stored in Salesforce (Custom and Standard fields) that are supported by the mapping for the selected OnceHub field. Learn more about the supported and non-supported Salesforce field types.
NoteThere is a two-way mapping between Salesforce and OnceHub. For this reason, you can only map one OnceHub field to one Salesforce field.
From OnceHub to Salesforce:
When a booking is made, all data is mapped from OnceHub to Salesforce.From Salesforce to OnceHub:
When scheduling with existing Salesforce records using Personalized links (Salesforce ID), Customer data is mapped from Salesforce to OnceHub in order to prepopulate or skip the Booking form. -
Use the Filter by drop-down menu to select a category if required.
-
Check the box next to each field you would like to add.
-
Click Add fields.
-
Click Save, or Save and Continue if you have completed mapping all fields.
Deleting a mapped field
Section titled “Deleting a mapped field”- In the OnceHub fields list, click the delete icon beside the added field you want to delete (Figure 3).
- In the Remove OnceHub field pop-up, click Yes.
- Click Save.