RevOps Agentified logoRevOps
Agentified
Talk to Us

Salesforce and HubSpot integrations

Reconcile record sync, define which system writes each field, and test a cutover before retiring a connector.

← All services

Start here if records are missing across systems, updates keep overwriting each other, or two tools log the same activity. Read the implementation plan

How we run the work

  1. Map current data movement

    List the sync jobs, linked records, field directions, and what starts each update.

  2. Prove a replacement on a test cohort

    Test records created on each side, ordinary updates, conflicts, and an excluded record.

  3. Cut over one path at a time

    Monitor the error queue, reconcile the cohort, and retain a rollback decision and owner.

What you get

  • Field ownership and mapping matrix
  • Record-level reconciliation worksheet
  • Cutover, monitoring, and rollback checklist

What we check

Compare outcomes per eligible source record. Count missing and duplicate matches separately and log the owner of every unresolved difference.

Stop a CRM retry from undoing a rep’s work

Follow one contact from a HubSpot form to a Salesforce transfer. Find the job that changes the owner back, retire its owner write, and test what happens to the next submission.

Try the worked example ↗
  1. At 09:02, the job captures the form and an owner value of Eli.
  2. At 09:06, a sales manager assigns the strategic contact to Mira in Salesforce.
  3. At 09:09, the repaired job delivers form context once and leaves Mira in place.

Compare the writes before you switch a connector

Illustrative HubSpot–Salesforce pilot. The reconciliation keeps both record IDs and a before-and-after value for each restricted field.

New pairing
  1. InputSalesforce Contact · known ID
  2. DecisionHubSpot record · newly linked
  3. Expected resultReview protected fields

Compare before and after even when the HubSpot record is outside the inclusion segment. First sync can write mapped values before the segment is evaluated. An unexpected change blocks the rollout.

Two writers log a meeting
  1. InputOne HubSpot meeting ID
  2. DecisionNative sync and legacy job
  3. Expected resultOne expected Salesforce activity

Trace the connector that created each activity. Re-edit the meeting after silencing the redundant writer in the test cohort. The remaining path must update the same destination activity.

Replay window expired
  1. InputSalesforce event reader offline
  2. DecisionGap exceeds 72 hours
  3. Expected resultBackfill and reconcile by ID

Take a bounded source extract and capture the available deletion history. Keep writes paused or isolate the backfill from the normal writer until the team has reconciled the missing window.

Move one CRM writer at a time

In this example, HubSpot captures inbound demand, Salesforce owns account assignment and deal stage, and a legacy job also logs meetings. RevOps wants to retire that job without changing who owns a record, losing meeting history, or importing a new group of contacts by accident. The pilot follows each source ID through both CRMs and compares the values and associations the teams use.

Design decisions

Control record eligibility before field mapping
In HubSpot’s Salesforce integration, inspect contact creation settings as well as the inclusion segment. A Salesforce-led pairing can write mapped values before HubSpot can evaluate segment membership. A repaired pairing can run initial sync again. Test both paths under the integration user and put restricted fields outside the write path before opening the pilot.
Give commercial fields one authorized writer
Use Always use Salesforce for eligible mapped fields that Sales owns and test clears as well as updates. Owner has different behavior. The native Owner mapping is two-way, and a matching active Salesforce user can receive an owner change from HubSpot. Remove competing owner automation, audit remaining edit paths, and test both an active match and an unmapped HubSpot user.
Compare meetings and tasks by their source IDs
HubSpot’s Activity sync takes precedence over its Timeline sync for a shared event type. An independent job can still write another Salesforce activity. Confirm the Activity sync switches and mapping directions for Contact and Account separately. Record the source meeting ID, expected Salesforce Event ID, and related record IDs. Update a meeting after cutover and verify it updates the expected destination record.
Repair the cause before expanding retries
Use HubSpot Sync Health to isolate the failing records. Reproduce a restricted picklist, validation, or permission error with the integration user, then repair the approved mapping or access narrowly. Run one affected record through again and compare its destination values and associations. Reconcile only the affected IDs before continuing any bulk retry.
Plan recovery beyond event retention
For the custom downstream Salesforce change-data feed, treat the Pub/Sub replay ID as a stream cursor. Advance it only after the consumer has durably accepted the relevant events. Salesforce retains events for 72 hours. If the checkpoint expires, buffer the live stream, compare a bounded source snapshot to the destination, and reconcile deletes separately. Track overlapping changes by record ID and the source version or event ordering metadata.

Field ownership and write rules

Rollout gates and owners

  1. Inventory and freeze the pilot contract

    RevOps and the two CRM admins

    Capture current mappings, owner workflows, validation rules, object access, and the legacy job’s write paths. Export only the approved pilot records and record the cutoff so the same cohort can be compared later.

  2. Test first sync and steady state

    Salesforce and HubSpot admins

    Use seeded records for an existing pair, a HubSpot-first Contact, a Salesforce-first Contact outside the intended segment, and a pairing repaired after a merge. Compare changes to protected fields, filters, and owner assignments after each test.

  3. Prove one activity writer in the pilot

    Sales Ops and the integration owner

    Keep the legacy job’s checkpoint. Pause its writes for the pilot, then verify that the selected route handles new and rescheduled meetings. Require one correct destination Event per eligible source meeting and no writes to the reserved control cohort.

  4. Open the next cohort or hold

    Release owner and CRM admins

    Compare both ID sets, owners, stage values, and meeting associations at the cutoff. Hold if any protected value changed, a source ID has more than one destination, or an error remains unexplained. Check the HubSpot API allocation and keep the affected retry list.

  5. Restore the previous writer if needed

    Integration owner and data steward

    Pause the replacement path and preserve both checkpoints before resuming writes. Reconcile changes made since cutover by source ID. Restore a prior value only when the destination still holds the value written during the release or the field owner approves the correction.

Acceptance tests

Start with the sample inputs. Record the actual result, evidence, and owner before signing off.

INT-01 Salesforce-first pairing before inclusion is known
Sample input
Salesforce Contact SF-C-017 is eligible for Salesforce-led HubSpot contact creation. No HubSpot record exists yet. The new HubSpot contact should stay outside the intended inclusion segment.
Expected result
HubSpot creates one record with the correct Salesforce pairing. The record stays outside the segment, and zero restricted fields change in Salesforce during first sync.
Evidence
Both system IDs if paired, permissions and mapping in force, inclusion result, and before-and-after values for protected fields.
INT-02 HubSpot tries to write an unmapped owner
Sample input
Paired contact HS-C-031 changes from its mapped owner to a HubSpot user with no active Salesforce match.
Expected result
Salesforce keeps its designated owner. Check that the connector restores HubSpot to the last Salesforce owner and verify an authorized Salesforce reassignment still appears in HubSpot.
Evidence
Owner history from both systems, both owner identifiers, and the connector sync record.
INT-03 Meeting already exists from the old writer
Sample input
HS-M-041 has a linked Salesforce Event created before the pilot. Reschedule it and replay the update while the legacy writer is paused for the cohort.
Expected result
One Salesforce Event remains, with the revised start time and approved Contact and Account links. If the replacement route cannot recognize the existing Event, hold the cutover until the team resolves the pairing.
Evidence
Source meeting ID, destination Event ID, dates and related IDs, plus the query result showing matching Event count.
INT-04 Restricted picklist rejects a record
Sample input
A permitted source row contains an unmapped internal value for a restricted Salesforce picklist. Another row in the cohort has a valid value.
Expected result
The bad ID appears in the error queue and the valid row reaches its destination. After the owners approve the mapping, resync the bad ID and verify it passes without changing the valid row.
Evidence
Sync Health error details and affected IDs, approved translation, targeted retry result, and destination value check.
INT-05 Salesforce change reader was offline for four days
Sample input
The custom downstream consumer’s stored cursor is outside the retention window. A tracked account changed during the outage and another tracked record was deleted.
Expected result
The recovery reconciles the update and verifies the deletion for the affected IDs before clearing the gap. Buffered events apply without reversing a newer source version or recreating the deleted record.
Evidence
Last good checkpoint, snapshot cutoff, delete-log coverage or authoritative ID comparison, and reconciliation of the buffered stream.
INT-06 Two systems report the same number of meetings
Sample input
Twenty source meetings and twenty destination Events. One source ID has no Event, and another has two.
Expected result
The ID comparison reports 18 correct matches, one missing source ID, and one duplicate source ID. The release owner holds progression.
Evidence
A reconciliation keyed by source ID with destination IDs and association fields.

What the owner gets at handoff

Deliver the mapping with owners and blank-value behavior, a record-level reconciliation, and a rollback runbook. Stop the pilot if a restricted field changes, an excluded record is written, or duplicates appear above the agreed tolerance. Identify records written during the pilot before restoring the previous writer.

Matching totals are insufficient. Require linked IDs, expected values, and an explained disposition for every failed or skipped record in the pilot cohort.

Bring to the first conversation

Bring an export of your field mappings, one missing or duplicated record, and the connector list.

RevOps Agentified newsletter

Get practical guidance on forecasting revenue, managing your CRM, and fixing customer handoffs.

Salesforce and HubSpot integrations acceptance tests

Subscribe to the RevOps Agentified newsletter to download the file.