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.
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#
The file#
Start from the template. A minimal file needs a name and a phone for every new customer.
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-0042Metron recognises many common header names, so real-world exports usually work without editing:
| Field | Accepted header names (any capitalisation, spaces and symbols ignored) |
|---|---|
| Name | name, customer name, full name, customer. Or use first name and last name |
| Phone | phone, phone number, msisdn, mobile, tel |
| Plan | plan, plan name, package, package name |
| Branch | branch, branch code, town, region |
| Expiry | expiry, expiry date, expires, paid until, due date |
| PPPoE login | pppoe username, username, login, pppoe account, router username, secret name, account2 |
| PPPoE password | pppoe password, password, secret |
| ONU serial | onu serial, onu, serial, serial number |
| Account number | account no, account number, account, acc |
| Old account | old 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#
- Open CustomersPlan Customers, then Import.
- Upload your file and keep Dry run on.
- Read the report. Each row is marked as a create, an update, unchanged, or an error with the reason.
- Fix your file and repeat until the report is clean.
- 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,042and0042cannot 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#
| Message | Fix |
|---|---|
| name is required / phone is required | Fill the cell or remove the row |
| branch is required (you have more than one) | Add a branch code to the row |
| unknown plan | Make the plan name match exactly, or create the plan first |
Something missing or wrong in this guide?WhatsApp usEmail feedback