Skip to main content

One customer, every channel

Identity resolution for service businesses: one customer record across search, call, form, and booking.

Updated 4 min readMarkdown
One customer, every channel

A customer finds a business in search, calls with a question, submits a form a week later, and books from a reminder link. To the business that is one person with one history. To a system that stores each touchpoint separately, it is four strangers — and the follow-up treats them that way: repeated questions, duplicated reminders, and a booking that arrives with no memory of the call that caused it.

This article describes a general design pattern, not a deployed customer system. All examples are synthetic and invented for illustration; no real customer data is used. AI-assisted draft prepared for human technical review by GILNEX.

Start with a stable key

Identity resolution is the problem of deciding which records describe the same person. The first decision is the key: the field, or combination of fields, that identifies a customer across channels. A name is not a key. Names are not unique, they change, and two different customers can share one. A phone number or an email address can serve as a stable key, because each is in practice controlled by one person and rarely changes — but only after normalization.

Raw values fail as keys. The same phone number arrives as "+1 (424) 555-0132", "424-555-0132", and "4245550132". The same email arrives as "Alex@Example.com" and "alex@example.com". A system that compares raw strings creates a new customer for every formatting variation. Normalize before you compare: lowercase and trim the email, and reduce the phone number to digits with a country code:

-- Synthetic illustration (PostgreSQL): normalize before comparing.
SELECT
  lower(trim('  Alex@Example.com ')) AS normalized_email,
  regexp_replace('+1 (424) 555-0132', '[^0-9]', '', 'g') AS normalized_phone;
-- normalized_email: alex@example.com
-- normalized_phone: 14245550132

The exact normalization rules belong in one place, applied identically at every entry point — form, call log, booking import — so the same input always produces the same key. A unique index on the normalized key then makes duplicates structurally impossible rather than merely unlikely.

Deterministic first, probabilistic never by default

Matching should be deterministic: two records match when their normalized keys are equal. That rule is explainable, testable, and reversible. Probabilistic or fuzzy matching — similar names, similar addresses, similar phone numbers — can suggest candidates, but it should never merge records on its own. A wrong automatic merge is worse than a missed match: it hands one customer's history, messages, and payment context to another person.

Keep the two operations separate. Matching decides that two records may be the same person. Merging decides that they are, and merging is a deliberate act with a record of its own: which records were combined, which values survived, who or what decided, and when. A merged record must keep an audit trail back to its sources, so a bad merge can be undone.

Merge rules: decide survivorship in advance

When two records for one customer are merged, every field needs a survivorship rule written before the first merge happens, not improvised during it. A workable default: the most recently verified contact details win; the earliest creation date is kept as the customer-since date; notes and history from both records are preserved, never overwritten; and nothing is deleted — the losing record is marked merged and linked to the survivor, not erased.

Conflicts are the interesting case. The same phone number with two different names, or the same email with two different phone numbers, is not a match to resolve silently. It is a signal that something needs a human: a shared household phone, a reused email, a data-entry error, or two different people. Route conflicts to a review queue with both records visible, and let the merge wait. A queue that holds ten ambiguous cases is a working system; a silent merge that combines two customers is a data breach in slow motion.

One record changes what the channels can do

With one record per customer, each channel stops starting from zero. The booking page can pre-fill verified contact details instead of asking for them again. The follow-up after a call can reference the call instead of repeating its questions. A reminder can go to the channel the customer actually answers. And reporting stops double-counting the same person as two leads.

None of this requires exotic technology. It requires a normalized key, a deterministic match rule, explicit merge rules with an audit trail, and a human review queue for conflicts. The failure mode to design against is not the missed duplicate — it is the confident wrong merge. Build the system so that the cautious outcome is the default, and the irreversible one always has a name attached.

References: PostgreSQL string functions (lower, trim, regexp_replace): https://www.postgresql.org/docs/current/functions-string.html

Gilnex LLC

gilnex.com | +1 (424) 500-0744 | info@gilnex.com

No comments yet. Be the first to comment.