Guide

Normalize phone, email and address fields

Administrators and staff who enter, import or clean phone, email and postal address fields on case, safe link and partner records

Purpose and what to have ready

This guide is for workspace administrators, supervisors and staff who enter or import contact details. You will be able to store one format for each field type, compare fields across records before you save, and clean older records in a reviewed backfill pass. Have ready: the work email or phone for the record you are checking, the safe contact method on the case, and the data dictionary entry for the field. Use fictional sample records when you practise. Do not practise with real survivor data.

  • One format per field type, so the same value always looks the same
  • Comparison keys are separate from the display value shown on screen
  • Older records are cleaned in a dry run first, with a named reviewer

Canonical standard to use on every record

Apply the rules in this section when you enter, import or correct a value. Keep the stored value in canonical form. Show a readable form on screen only when the person reading the screen needs it.

Phone

Store one number as country code plus subscriber number in international form, with a plus sign and digits only. A number without a country code is read as United States and stored with +1. Keep an extension separate, as the word ext. followed by digits. Do not store spaces, dashes or parentheses in the stored value. Example: the number shown as (717) 555-0142 is stored as +17175550142.

Email

Store the full address in lower case, with no leading or trailing spaces and no spaces inside the address. Keep one at sign. Remove a trailing dot after the domain. Do not remove characters before the at sign, including a plus sign. Example: the address entered with capital letters and outer spaces is stored in lower case with the spaces removed.

Postal address

Trim each line, collapse two or more spaces to one space, and keep lines in this order: street line, city, state and postal code. Store the state as a two letter code in capital letters. Store a five digit postal code with a hyphen and four digits only when the source gives all nine digits. Use one space after the comma and no space before the comma.

Whitespace, casing and names

Names and organization names follow the same care. Trim leading and trailing spaces. Collapse two or more spaces to one space. Store the name with natural capitalisation as given by the person. Compare names without regard to case and with extra spaces removed. Do not change the meaning of a value to make it fit. If a value is not known, leave it blank and record the gap. Do not enter a placeholder such as unknown in a field that staff use for contact, matching or export.

  • Trim every field before you compare or save it
  • Compare phone by digits with country code, email in lower case, and address in upper case with spaces collapsed and postal code without the hyphen
  • Flag a mismatch for human review instead of overwriting the older value

Compare before you save

Open the case, the safe link record and the partner record that share the same person or agency. Compare the phone, email and address in each place with the comparison forms above. When two places disagree, stop and confirm the correct value with the person through the safe contact method. Record the change as a new dated entry. Do not edit a signed consent in place to fix a contact field. Create a new consent when the person agrees to new sharing.

  1. Build the comparison value

    Trim the field, apply the canonical rule for its type, then compare the result with the same field on the related record.

  2. Read the mismatch in plain words

    Note which field disagrees, which record holds the older value, and which value the person confirmed as current.

  3. Save the confirmed value once

    Save the confirmed canonical value on each record that needs it. Keep the prior entry readable in history.

Backfill pass for older records

Use this sequence to clean records that already exist. Work in order. Do not run the pass on live records until the dry run is reviewed.

  1. Take a read only copy

    Export the phone, email and address fields for case contacts, safe link contacts and partner agencies, with the data dictionary. State the period, the purpose and the person who ran the copy. Keep survivor detail out of the file name and the log entry.

  2. Run a dry run comparison

    On the copy, list every row where a field has outer spaces, mixed case in an email, a phone without a country code, or double spaces in an address. Count rows by field type. Do not change the live workspace in this step.

  3. Review a sample and fix the rules

    A supervisor reads the sample with you. Confirm the country code default, the handling of extensions, and the postal code rule for your program. Correct the rule list before you continue.

  4. Freeze new imports and take the final backup

    Pause imports that add contact fields. Take the backup that the backfill will be measured against. Flag every sample record as test so test rows stay out of grant counts and exports.

  5. Apply the comparison and the canonical rules

    Apply the trim, lower case, country code and spacing rules in one pass to the copy. Where two records for the same person disagree, keep both values for review. Do not merge records in this pass. A supervisor decides every merge with a recorded reason.

  6. Re run the counts and the checks

    Run a draft VAWA or VOCA count for the test period and confirm the counts did not change in a way the supervisor did not approve. Confirm no email holds capital letters or outer spaces, no phone lacks a country code, and no address holds double spaces.

  7. Load the reviewed copy and record the pass

    Load the reviewed copy through the normal build and import route. Record who ran the pass, when, for which period, and what changed, with no survivor detail in the log entry. Keep the export log and the data dictionary with the filed report.

Deduplication and merge proposal

Duplicate sets, canonical record and merge proposal for workspace, user, membership and role records

Audit note for this site pack: the files in this pack contain no live workspace, user, membership or role records. No duplicate set is listed in this guide, and no record is invented to fill a table. When records are supplied from the signed-in workspace, use the rules and proposal fields below to list each duplicate set in that workspace. Do not merge across workspaces.

Normalized keys to use for matching

Build the keys from fields already saved on the record. Email key is the full address in lower case with leading and trailing spaces removed and no spaces inside. Name key is the name with leading and trailing spaces removed, two or more spaces collapsed to one space, compared without regard to case. Phone key is digits only with country code, a number without a country code read as United States and stored with plus 1, and an extension kept separate. Keep the display value on screen separate from these comparison keys.

Matching rules and false positive guards

  • Exact normalized email match in the same workspace is the primary match and still needs human review before a merge
  • Normalized name plus normalized phone in the same workspace is a secondary match and needs human review, because names repeat and phones are shared
  • Normalized name alone never merges, and normalized phone alone never merges, because shared devices and agency main lines are common
  • A role difference, such as advocate, partner, reporter, administrator, supervisor or survivor, does not by itself prove two records are the same person, and a role conflict stops the merge until a workspace administrator reviews it
  • Test records flagged as test are listed separately and never merged into a live record, and test records stay out of grant counts and exports

Canonical record selection, in order

  1. Keep the active or verified record

    Prefer the record with active or verified status over a pending, invited or deactivated record in the same workspace, when the other fields match.

  2. Keep the record with the complete verified contact fields

    Prefer the record that holds a complete normalized email and a complete normalized phone, with safe contact method and language needs where the record type holds them.

  3. Keep the most recently confirmed record

    Prefer the record with the latest confirmed update date on the record, and keep the earlier record reference in history so the merge can be traced.

  4. Keep the earliest created record on a tie

    When the records tie on the checks above, keep the earliest created record as canonical and carry forward the later confirmed fields as a new dated entry.

  5. Stop on a tie or a conflict

    When two records tie and neither rule above separates them, or a role, consent or safety field conflicts, do not merge. Mark the set unresolved, keep both records, and ask a supervisor or workspace administrator to decide with a recorded reason.

Merge proposal fields for each duplicate set

Copy one proposal per duplicate set. Keep work email, workspace and program name, role, status and dates only in the proposal. Do not add survivor names, case detail, note text or message content.

  • Workspace and program name, and the normalized email, name and phone that matched
  • Each candidate record reference, shown by work email, role, status and date, with no survivor detail
  • Canonical record, and the rule above that selected it
  • Fields carried forward from each non-canonical record, and the new dated entry that records the merge
  • Approver name, checker name, date of the check and date of approval, kept with pilot approval
  • Reload check result after the merge, confirming the canonical record shows, the duplicate no longer shows as active, and history is kept

A merge never deletes a record. It marks the non-canonical record as merged into the canonical record, keeps prior entries readable, and adds a new dated entry with the reason. A supervisor decides every merge, and the history is kept. After the merge, rerun the duplicate check for that workspace and confirm no new duplicate set appears for the same normalized email, name or phone.

What to check after saving

Confirm these items before you move to the next task.

  • Every stored phone begins with a plus sign and holds digits only, plus a separate extension where one exists
  • Every stored email is in lower case with no outer spaces and no spaces inside
  • Every stored address holds one space between words, a two letter state code, and a postal code in the form this guide states
  • Duplicate and merge review shows the same person counted once, with history kept
  • Test records stay flagged as test and stay out of grant counts and exports
  • Duplicate set proposal names the workspace, the normalized email, name and phone, each candidate record, the canonical record and the approver, with no duplicate set invented from this pack

Next guides

Start a case with the duplicate check, record the service that follows, and check consent before any referral shares data.