Library / Data quality / data-quality-004

Country name normalization to a standard picklist

Data quality Operations Hub Professional Contact Intermediate ~30 min to build

Outcome. Free-text country entries such as "USA", "U.S.", "United States", and "us" all collapse into one standardized value that reports, territory routing, and phone formatting can rely on.

Workflow mapEnrollment, branches and actions at a glance
flowchart TD
    A[Country/Region known, not yet normalized] --> B[Custom code: lookup table match]
    B --> C{Match found?}
    C -->|yes| D[Set standardized value, status = Normalized]
    C -->|no| E[Status = Needs manual review]
    E --> F[Add to review list + create task]

When to use it / when not to

What the full spec adds

  • Prerequisites: 4 items, every property with its internal name, type and options
  • Enrollment: trigger, criteria as ticked in the UI, re-enrollment rule, suppression
  • Steps: 3 numbered actions with their parameters, branches and delays
  • Known pitfalls: 4 traps seen in production
  • Test plan, Variants and the YAML build spec
  • Files: PDF, Markdown, properties JSON to create the fields in one API call, and the custom coded action as a ready-to-paste .js file

One-time payment. Includes every spec added to the pack later, up to the full 500. Consultants: Everything, forever adds the agency licence for unlimited client portals.

Everything add-on Install this workflow in my portal Two clicks: authorise your portal, confirm. Properties created, workflow delivered switched off, ready to review. Coming to Everything and Pro buyers first.