Skip to main content

Import customers from a CSV file

Bring your existing customers into Metron: required columns, header names that are recognised, dry run, account numbers and updating existing records.

3 min readUpdated 2026-11-20Owner / Admin

You can import up to 2,000 customers per file. Run the import in two stages: a dry run that reports every problem without saving anything, then the real import.

Before you start#

0 of 3 done

The file#

Start from the template. A minimal file needs a name and a phone for every new customer.

csv
name,phone,plan,branch,expiry,pppoe_username,pppoe_password,onu_serial,email,address,account_no
Jane Wanjiru,0712345678,Home 10 Mbps,MAIN,2026-12-05,JaneWanjiru,,,jane@example.com,Kenyatta Rd,KGN-0042

Metron recognises many common header names, so real-world exports usually work without editing:

FieldAccepted header names (any capitalisation, spaces and symbols ignored)
Namename, customer name, full name, customer. Or use first name and last name
Phonephone, phone number, msisdn, mobile, tel
Planplan, plan name, package, package name
Branchbranch, branch code, town, region
Expiryexpiry, expiry date, expires, paid until, due date
PPPoE loginpppoe username, username, login, pppoe account, router username, secret name, account2
PPPoE passwordpppoe password, password, secret
ONU serialonu serial, onu, serial, serial number
Account numberaccount no, account number, account, acc
Old accountold account, legacy account (kept as a search alias only)

Dates can be written in ISO form (2026-12-05) or the common local formats.

Run it#

  1. Open CustomersPlan Customers, then Import.
  2. Upload your file and keep Dry run on.
  3. Read the report. Each row is marked as a create, an update, unchanged, or an error with the reason.
  4. Fix your file and repeat until the report is clean.
  5. Switch the dry run off and import.

Rules worth knowing#

  • Account numbers are adopted. If your file has an account number, the customer keeps it, so they keep paying the same reference. Rows without one get the next number from your scheme.
  • Look-alike numbers are rejected. 42, 042 and 0042 cannot be told apart when matching payments, so Metron refuses the second one.
  • More than one branch? Every row needs a branch.
  • Expired dates. A row with an expiry in the past is flagged as lapsed. The billing sweep will treat that customer as overdue.
  • Phone is not a key. Landlords share phone numbers, so two customers may have the same phone.

Updating existing customers#

Turn on Update existing to change customers already in Metron. A row finds its customer by account number, PPPoE username or ONU serial.

  • Blank cells never erase data.
  • Account numbers and PPPoE logins are never changed by an update.
  • An update never touches the router.
  • A file with only an account number and the columns to change is valid; it needs no name or phone.

Common errors#

MessageFix
name is required / phone is requiredFill the cell or remove the row
branch is required (you have more than one)Add a branch code to the row
unknown planMake the plan name match exactly, or create the plan first
Something missing or wrong in this guide?WhatsApp usEmail feedback