Shopify customer list cleanup

A Shopify customers export (Customers → Export) or a list you are about to import as customers.

Processed locally in your browser. File contents are not uploaded. No account needed.

Before and after

Made-up rows from the sample file, run through the same code Rote Workspace runs, when this page was built. Removed rows are struck through; changed cells are highlighted — point at one for its old value.

Data Workspaceshopify-customers.csv5 rows · 8 columns · UTF-8 Processed locally

Original

Before: the sample file
RowFirst NameLast NameEmail
2anasilvaAna@Example.com
3 (removed)AnaSilvaana@example.com (has spaces at its edges)
4 (removed)
5BENCOLEben@example.com
6cydiazcy@example.com

Result

After: Shopify customer list cleanup
RowFirst NameLast NameEmail
2Ana (changed)Silva (changed)ana@example.com (changed)
5Ben (changed)Cole (changed)ben@example.com
6Cy (changed)Diaz (changed)cy@example.com

3 rows × 8 columns after the fixes · was 5 × 8 · 8 cells changed

5 more columns are not shown; they pass through unchanged.

· marks a space at the start or end of a value. The dots are not in the data; they show spaces you would otherwise not see.

Why

Shopify skips a customer whose email is already in the file, so a list with the same address twice imports fewer customers than it has rows, without saying which.

What it does

  1. Remove empty rowsOn the sample: 1 row removed
  2. Trim spaces in every columnOn the sample: 1 cell changed
  3. lower-case "Email"On the sample: 1 cell changed
  4. Title-case "First Name", "Last Name"On the sample: 6 cells changed
  5. Remove duplicates: rows with the same "Email" (ignoring case, ignoring extra spaces, blank keys never match), keeping the first of each groupOn the sample: 1 row removed

Your file needs these columns, spelled exactly: First Name, Last Name, Email. If one is missing or renamed, the workflow tells you which step it breaks and does not run.

How to use it

  1. Download the workflow

    A small .json file with the steps above — no data. Want to try it first? Use the sample file (made-up rows).

  2. Open your export

    In the Data Workspace, choose your file. It is processed in your browser, not uploaded.

  3. Import, review, run

    Workflow → Import, choose the file — or skip the download: under Workflow → Templates, press Check & open. Each step is checked against your columns; press Run on this file, then Download.