01
Weighed three ways to bring the systems together
We set out the options. The portals could stay separate, they could be linked with HubSpot's multi-account management, or the unit could move into the group's portal later. The group chose to keep the portal for now and push new records from it into Salesforce. The sync runs one way, from HubSpot to Salesforce, and carries no historic data, so the group's own records stay out of the portal. We also made sure each HubSpot record ID is copied into Salesforce. If the portals are combined later, a migration tool can match records on those IDs instead of on names.
02
Brought several deal pipelines into one
The integration maps each HubSpot pipeline to a Salesforce opportunity record type. We brought the unit's pipelines together into a single pipeline whose stages match the Salesforce stages. Reps still choose a deal type for new business, upsell or renewal, so the team can report on each. A workflow turns that deal type into the matching Salesforce opportunity type, and reports that had filtered on the old pipelines now filter on deal type.
03
Carried revenue schedules across without a new object
Finance recognises revenue in Salesforce through schedules, and one opportunity can carry a single schedule or many. In the unit, revenue had been worked out by hand outside the CRM. We looked at sub-deals and at a set of numbered schedule properties before choosing a design with two deal properties. A deal now records whether it has more than one schedule and over how many months. Salesforce automation built by the administrator creates the schedules from those two answers. The schedule question must be answered when a deal moves to closed won. It starts at yes, so a rep either enters the number of months or consciously changes it to no. An automation also sets the schedule start to the first day of the deal's start month. In testing, a three-month deal came through with its schedule starting on the first of the month.
04
Mapped each currency by its code and stopped amounts being rewritten
Salesforce stores an opportunity's currency as a three-letter code. We added a deal property that holds the code, set by a workflow from the HubSpot deal currency, and mapped it to the Salesforce opportunity currency. Each currency also needs an exchange rate set up in Salesforce. After go-live, changing the currency on a deal led Salesforce to recalculate the amount and send a different figure back to HubSpot. The administrator built the fix in Salesforce. The HubSpot amount now goes to a placeholder in Salesforce, and an automation writes it into the opportunity amount. We tested each case together until the amount held through every currency change. We also advised keeping the same exchange rates in both systems, so pipeline totals agree.
05
Kept the group's records out with a validation rule
The group did not want the integration to see or change anything outside this unit. HubSpot's setup guidance asks for Modify All access on each synced object, and Salesforce sharing rules can widen that access but cannot narrow it. So the separation had to come from the data itself. A HubSpot workflow stamps every record with a business unit flag. The administrator added a Salesforce validation rule that refuses any record from this integration without the flag, so a stray record shows as a sync error and goes no further. Inclusion lists filter on the same flag. A custom owner property shows the real salesperson in Salesforce in place of the integration user.
06
Connected the live portal with every object switched off
Connecting the integration added hundreds of Salesforce properties across contacts, companies and deals. We connected with each object's sync switched off, so we could review and remap those properties before any data moved. We then switched the objects on in stages. Older deals stayed in pipelines that were not mapped to Salesforce. In the standard deal sync used here, every deal in a mapped pipeline syncs whatever the inclusion list says, so the pipeline set-up decided what went across. HubSpot's updated deal sync can also limit deals by segment. The cut-off for older deals was moved forward because deals from the earlier months had no revenue schedule details. Key deal properties are now required when a deal is created, so new deals carry what Salesforce needs.
07
Restored close dates and moved them to a date-only property
The old pipelines had the setting that sets the close date to today when a deal moves to a closed stage. When we moved closed deals between pipelines in bulk, that setting reset each of them to that day. We restored the dates from HubSpot's property history export, which proved more reliable than the backup file. The administrator then found a second cause. The integration user and the HubSpot portal were set to different time zones, so a deal closed late in the evening reached Salesforce as the previous day and synced back. A workflow now copies the close date into a date-only property, and Salesforce receives that property. The pipeline setting stays off. Instead, a workflow records the day a deal enters closed won as its close date. The team confirmed that deals are almost always closed on the day the contract arrives.
08
Matched Salesforce's limits inside HubSpot
Records that looked fine in HubSpot kept failing in Salesforce. Some names were longer than Salesforce allows, and one lifecycle stage option was missing from the Salesforce list. The administrator added the missing option in Salesforce. We set the same maximum lengths on deal name, first name and last name with HubSpot property validation rules, so new records cannot break the sync. We listed the older deals with long names for the team to fix or archive.
09
Fixed the order in which records sync
Some contacts showed as synced in HubSpot but never appeared in Salesforce. With contacts syncing through an inclusion list, a HubSpot company only becomes a Salesforce account when it is the contact's primary company. Setting an existing company as primary on one of these contacts made it sync at once, which confirmed the cause. We then worked through the remaining contacts. Deals could also reach Salesforce before their company and contact, which left opportunities with no account. The administrator spotted this. Together we synced the companies first, then the contacts, then the deals, so the associations attached in Salesforce.
10
Corrected deal types and dates the reports depend on
Hundreds of deals had a deal type that contradicted the pipeline they came from, which threw out several dashboard reports. The unit's HubSpot owner chose the original pipeline as the guide, and we corrected the deal types to match. Senior management at group level checks these figures closely, and some deals had a start date earlier than their close date. A filter comparing a date property with a date and time property returned far more deals than were wrong. Once both dates were held in the same date-only form, the list fell to a few hundred deals. These went back to the team as targeted lists, and a tag on the deal board now marks any deal with a date problem.
11
Tested merging duplicate companies with the sync switched on
Duplicate companies were holding up some updates, because Salesforce's duplicate rules rejected accounts that shared a name. HubSpot's newer company sync settings allow merging while the sync is on, but the change cannot be reversed once it is switched on. We read the documentation with the administrator and tried the setting in the sandbox first. Merging worked with the sync on and moved the associated deals and contacts onto the kept record. A merge in HubSpot does not merge the matching Salesforce records, so a controlled test of the Salesforce side comes before any change to the live system.