BlogIntegrations · November 12, 2026 · 4 min read

Contact Form 7 CRM Sync: Reconcile Contact IDs After a Merge

Keep original inquiry IDs and update CRM contact mappings when a merge changes the record that future submissions should target.

A CRM contact merge can change the record your Contact Form 7 connector should update. An inquiry that was already accepted still has the same source identity and history. The integration should preserve that inquiry and reconcile its contact mapping so the next update reaches the resulting CRM record. That requires keeping the form submission key separate from any CRM ID cached by the connector.

Two contact cards converge while two inquiry cards remain visible
Generated conceptual illustration; not a product screenshot or measured result.

Store the inquiry and the contact mapping independently

Use a stable source inquiry ID for idempotency. If your intake has to assign the ID itself, assign it once at intake and persist it before queueing the delivery. A retry of the same inquiry uses the original key. A later inquiry from the same person gets its own key. Keep the CRM account and object type with the CRM identifier so two installations or object types cannot accidentally share a mapping.

For example, one synthetic quote inquiry was linked to contact 410 and a later support inquiry was linked to contact 725. An approved CRM merge resolves both references to contact 980. Store the resulting canonical reference and the old aliases in the connector’s mapping, while retaining both original inquiry keys and their receipt times. Keep the original destination evidence alongside any subsequent reconciliation entry. A replay of the quote inquiry can then confirm its previous delivery, while a new inquiry can resolve to 980.

Use the observed result of the merge

HubSpot documents a default behavior in which the merged result receives a new record ID. Its documentation also describes a public beta that preserves the selected primary record ID for participating accounts. The Contacts API merge response returns the resulting record ID. An integration that assumes the requested primary ID always survives may break on accounts using the default behavior. One that assumes it always changes may create avoidable reconciliation work.

If an authorized workflow already performs the merge, retain the resulting ID from its successful response and correlate it with the original pair. For a manual merge, use your account’s documented merge history or the Merged Contact IDs property to obtain evidence. Verify the current destination record and account before saving the alias. The HubSpot export for merge history has limited coverage and a date window. Plan reconciliation around the actual evidence you can retrieve for the way the merge was performed.

Decide what a stale record lookup means

If a queued update points to an ID the CRM cannot find, keep the job intact. A missing ID could reflect a merge, a deletion, a request scoped to the wrong account or a temporary lookup issue. Classify the failure with the account context and provider response. A confirmed merge lets you resolve the alias and retry the original job. If the cause is ambiguous, park the job with a diagnostic reason for authorized review. Creating a new contact on every failed lookup can recreate records an operator just consolidated.

Update the alias and current mapping together when your storage supports a transaction. If contact 980 later resolves to 1120, check that the older aliases also lead to 1120. Stop and review a chain that loops or crosses accounts. Recheck the alias near the outbound write when workers can run concurrently. Record the destination the CRM actually acknowledged so that another retry can see where the job landed.

For policies governing permanent removal and deletion requests, follow the deleted-contact replay guide. For earliest qualified inquiry timestamps, preserve the existing rule from the first inquiry timestamp guide. A merge date is an operational event, while an inquiry timestamp describes the original customer action.

Exercise the merge path with synthetic records

  1. Create two synthetic contacts and distinct inquiry keys in an approved sandbox. Save the connector mapping and its initial inquiry count.
  2. Confirm the intended property choices with the operator and perform the merge through the sandbox’s normal workflow. Record which ID the account reports as current.
  3. Resolve the old IDs through the connector mapping. Replay an old inquiry and verify that the inquiry count stays unchanged. Send a new synthetic inquiry and verify that its update targets the current CRM record.
  4. Exercise a second merge and an ambiguous missing ID. Confirm that a later merge updates resolution and an unresolved disappearance reaches review without a new contact being created.

Also inspect associations and downstream automations used by your account. HubSpot documents exceptions to default property behavior and subscription or beta conditions for some effects. Use staging observations to decide how to handle an owner conflict or a workflow enrollment. HubSpot says records cannot be unmerged, so keep destructive merge actions with the authorized operators and use synthetic data for testing.

Report source inquiries, distinct current CRM contacts and pending reconciliation as separate counts. An operator who merges two contacts has changed the CRM’s count of identities. Both inquiries can still belong in the intake totals if their source keys are distinct. The official Svetlik Analytics for Contact Form 7 listing is a starting point for WordPress-side metrics. Keep the connector’s merge log and reconciliation rules with the CRM workflow.

Sources