Skip to main content

All postsIntegrations

Your New CRM Mapping Has Not Updated the Old Records

Plan a controlled historical CRM resync after a field-mapping change. Inventory the records, protect current writes, test a sample, and reconcile the result.

Ops Automators
7 min read
Cover image for Your New CRM Mapping Has Not Updated the Old Records

You add a field mapping, open an old record, and the new field is still blank. That is usually expected. A mapping controls future synchronization. It does not automatically prove that every historical record should be rewritten.

For the HubSpot-Salesforce integration, HubSpot says that existing values in a newly created mapping do not retroactively sync. It offers manual resync, bulk resync, or a Salesforce import for existing values. It also warns that a contact without prior sync history for the field can use the current Salesforce value as the baseline on its first sync, which can overwrite a newer HubSpot value depending on the sync rule. HubSpot's field-mapping documentation is the product-specific source for that behavior, checked November 30, 2026.

That makes a historical resync a business decision. The job is not to fill every blank. It is to update a defined set of records without treating a newer value, an ambiguous match, or an unrelated association as if it were safe to overwrite. If the question is which system may write a field from now on, start with the HubSpot-Salesforce sync-conflict guide. This guide starts after that ownership decision, when old records need a controlled catch-up.

Decide whether the field needs a backfill at all

Start with a named decision. A backfill makes sense when the missing historical value changes a report, routing rule, service obligation, or a person's next action. It is harder to justify when the field is only nice to have and the authoritative source is unclear.

Write down these five answers before scheduling a job:

Question Evidence to collect Stop if
Which records are in scope? A saved filter or export cutoff, object, owner, and record count The filter also includes newly created records that should use the normal sync path.
Which value is allowed to win? A field-authority rule and the selected mapping direction Two teams expect to correct the same field in different systems.
How will an existing record be identified? Stable source and destination IDs, or the documented unique identifier The proposed match depends on a display name or another non-unique label.
What writes can happen while the job runs? A freeze, queue, or a documented way to capture intervening changes A normal integration can overwrite the same field without a reconciliation plan.
Who accepts exceptions? An owner and deadline for missing IDs, conflicts, and rejected records Exceptions will be left in an export with no decision owner.

Do not substitute a row count for this inventory. A batch can contain the expected number of rows and still write the wrong field on the wrong record.

Use identifiers that match the operation

An ID that is convenient in a spreadsheet may not be safe for an update. HubSpot's import guidance says that updating existing records or avoiding duplicates needs a unique identifier for each object. Record ID and a custom property with unique values are options for every object; contacts can also use email and companies can use company domain name. Its import-file guidance also explains that rows without the needed identifiers can create duplicates rather than associate to the same record.

For a Salesforce API design, an external-ID upsert can create a record if it does not find a match. Salesforce documents an updateOnly parameter for the REST external-ID resource when the intended operation must update and must not create a new record. A non-unique external ID produces a multiple-match error instead of an update. Salesforce's REST API reference is specific to that API pattern. It is not a promise that every connector exposes the same control.

The practical rule is simple: if an unexpected match could create a customer, company, deal, or relationship that a person must clean up, keep that row out of the automated batch. Resolve it first.

A worked inventory, before any write

This is a synthetic planning example. It does not describe a customer account, a completed HubSpot resync, or a tested Salesforce job.

An operations owner adds a Market segment mapping after deciding that Salesforce is authoritative for the field. They need historical values for open deals created before the mapping existed. Their inventory contains 240 HubSpot companies tied to open deals at the recorded cutoff.

Bucket Count in the example Treatment Acceptance evidence
Stable crosswalk and current source value 214 Include in a sample, then the controlled batch Source ID, HubSpot Record ID, Salesforce ID, before and after value
Blank source value 12 Exclude No blank overwrote an existing destination value
Multiple possible source matches 8 Send to review A reviewer selects one record or removes it from scope
Changed after the cutoff 6 Reconcile separately The later change is preserved or deliberately reapplied

The numbers are inputs, not a benchmark. The useful part is the split: a row with an unclear identity or a newer change gets a different route from a row that has both a stable crosswalk and an agreed source of truth.

Run a sample that can reveal a bad rule

Choose a sample that includes the records most likely to fail the design, not just ordinary rows. Include one long-lived account with a legacy value, one record with a recently corrected value, one record with a blank source, one ambiguous company name, and one record with related open work.

For each sample row, capture the source identifier, destination identifier, source value at the cutoff, destination value before the change, expected value after the change, and reviewer decision. Then test the effect that matters to the business. If segment drives routing, inspect the resulting queue. If it changes reporting, compare the report before and after using the same filter.

Do not move from a sample to a full batch because the job returned a success status. HubSpot's import troubleshooting guidance distinguishes records that were imported without an association from records that could not be associated because an identifier was missing or invalid. Its current error reference is a useful reminder to reconcile associations and rejected rows, not only record totals.

Protect the normal sync while history catches up

There are two clocks in a backfill: the historical source snapshot and the current operating system. Decide which one owns changes made after the cutoff. Common options are a short field-level write freeze, a queue of changes to replay, or an exception list that is checked after the batch. The right choice depends on the platform and the business process. A freeze that stops sales from updating important records can be worse than a short period of missing historical values.

Keep a batch log even for a manual resync: date and time, filter or source file hash, mapping version, cutoff, operator, included count, excluded count, failures, and the report used for reconciliation. That record makes a later discrepancy investigable. It does not turn a proposed design into proof that a production system was changed safely.

Close the backfill with a decision, not a dashboard

The final review should answer four questions:

  1. Did every included record resolve to the intended destination ID?
  2. Did excluded and ambiguous rows stay out of the batch?
  3. Did a current value changed after the cutoff remain correct?
  4. Which exceptions still need a person, and who owns them?

If the answer to any of those questions is unknown, label the backfill incomplete. A partial, traceable result is safer than calling a field complete because a progress bar reached 100%.

If your team needs to define field authority, reconcile historical records, and build the recovery path around a real integration, see our Custom API & Workflow Integration service. Bring the objects in scope, the current mapping, the identifier used for each object, and one report that must remain trustworthy after the change.

Have a similar operating problem?

Tell us about the process and the decision you need to make.