APSync Documentation

How Merge Works

What actually happens to the records after you answer a contact case. These are the rules the checker applies, written out field by field, so you can predict the result before you press a button. Companion to How to resolve contact cases.

Three things are true for every answer:

If you answer "Same person, keep survivor"

You picked a customer number (or a record). From that point:

1. The number. Every HubSpot contact in the case that carries a different number is changed to the survivor's number. If two contacts in the case would then carry the same number, the next step merges them.

2. The merge, when two HubSpot contacts are in the case. The contact that carries the survivor's number is the one that stays. The other is merged into it. HubSpot's merge does the following, and it is HubSpot's rule, not ours:

WhatResult
EmailThe staying contact keeps its email as primary. The merged contact's email becomes an additional email on the staying contact. Both still find the contact: a form, a checkout or a reply from either address lands on it.
Name, company, job title, phone, address, and every other propertyThe staying contact's value is kept. Where the staying contact was blank, the merged contact's value fills it. Nothing from the staying contact is replaced.
Deals, invoices, notes, emails sent, meetings, ticketsAll moved to the staying contact. Nothing is lost.
Company associationKept; if the two contacts were associated to different companies, the staying contact ends up associated to both.
Lists and workflowsThe staying contact is in the union of both memberships.
The merged contact's record idRedirects to the staying contact, so old links still open the right record.

If neither contact in the case carried the survivor's number, the one with deals stays; if neither has deals, the older one stays.

3. The fill. After the number and the merge, blanks on the staying contact are filled from the other records in the case, in this order: MOM first, then the website. Only blanks:

FieldFilled whenFrom
First name, last name, company, job titleblank on the contactthe first record that has it
Street address, city, statethe contact has no street addressthe buyer's billing address in MOM
Zipblank on the contactMOM
Phonethe contact's phone is emptyMOM's phone, then the website's
Mobile phonephone is already taken and mobilephone is emptythe next phone found
Shipping address (the website's shipping_* fields)the contact has no shipping address at allMOM's ship-to address for that customer

A populated field is never replaced by a fill, even if MOM's value is newer. If a wrong value is on the contact, fix it in HubSpot by hand; the checker will not touch it.

4. What is dropped. Nothing. The only thing that stops existing as its own record is the merged HubSpot contact, and its content lives on in the staying one. The losing MOM number stays in MOM until someone retires it there.

If you answer "Different people"

If you answer "Different customers, same organisation"

If you answer "Defer"

Nothing at all. The case stays open.

Two humans, one billable customer

Sometimes two records really are different people and you still want one customer: a couple who order as a household, an assistant who orders on a director's account, an agency that wants a single billing identity. That is allowed. A billable customer does not have to be one person; it is whoever gets the bill.

How to do it today: answer Same person, keep survivor and pick the number that should be billed. The result is one HubSpot contact under that number. Know what that costs:

When that cost is wrong, because both people genuinely need their own contact (their own name on emails, their own deals), answer Different customers, same organisation instead: each person keeps a contact, the two are recorded as colleagues, and the company association will bill under the company. If one contact is wearing the company's number, choose the person's own number in the dropdown first and the contact is corrected to it.

Who owns which side