Customers

Import customers: bring your old list over

Bulk-import customers via CSV, field mapping, how duplicate emails are handled, tagging after import, and merging duplicate contacts

On this page

Before launching your site you probably already have a customer list: an Excel sheet, a file exported from another platform. This article covers how to import it into "Customers" in one go, what to do about duplicate emails, how to tag this batch after importing, and how to merge when the same person has two records.

Where

  • Bulk import: backend → Customers → Customers, top right of the list "📥 Bulk import". The "+ New contact" next to it is for adding one person at a time.
  • Merge duplicate contacts: "Settings" → "General settings" → "Advanced" on the left → "Merge contacts".
  • On mobile it's the same menu locations.

Prepare the file first

  • CSV files only, UTF-8 encoded, with column names on the first row. In Excel, "Save As → CSV UTF-8" is enough.
  • The email column is required; every other column is optional.
  • If you're not sure how to lay it out, click "⬇️ Download sample template" in the import dialog and fill it in accordingly. The columns in the template are: email, name, firstName, lastName, phone, country, city, language.
  • Up to 5000 rows at a time; if the list is longer, split it into several files and import in several passes.
  • The fields that can be imported are: email, name (full name), first name, last name, nickname (used in the community), phone, country, city, state/province, postal code, address 1, address 2, language, time zone, role. Other columns in your sheet (like spend amount or notes) can't be imported; choose "— Skip this column —" when mapping.
  • Write language as zh-hans or en per the template; write country as a two-letter code, e.g. CN, US.

How to do it (step by step)

  • Click "📥 Bulk import", then click "Click to select CSV file" and pick your file.
  • On successful parsing it shows "✅ Parsed successfully: N columns / N rows". Below is the column mapping: on the left are your sheet's column names, on the right you pick which field in the system each maps to. The system guesses once by column name first (email, 邮箱 → email; phone, 电话, 手机 → phone; country, 国家 → country…); correct any wrong guesses manually.
  • "When a duplicate email is encountered", pick one of two:
  • "Skip" (default): this email already exists in the system, so leave them untouched.
  • "Update existing user": overwrite their current info with the values in the sheet. Blank cells in the sheet won't clear the original values — only cells with a value overwrite.
  • "Default role for new users" pick "Regular user" or "Paid user". This only affects the people newly created this time.
  • Take a look at the "First 3 rows preview", confirm no columns are in the wrong place, and click "Start importing N rows". If no column is mapped to email, it will prompt "You must map a column to 'Email'".
  • After importing there's a results page with four numbers: Added / Updated / Skipped / Failed. Below, "❌ Error details (first 50)" lists the row number, which email, and the reason. Rows with an empty email or one without @ are skipped, with the reason "Invalid email".

Emails are first trimmed of leading and trailing spaces and lowercased before comparing, so the same email written in different letter cases still counts as the same person.

Tag this batch after importing

A backend import doesn't tag automatically; you tag them yourself after importing:

  • In the "Filter" on the left of the customer list, check "Registration date", choose "equals" today (or "after" a certain day), and filter out the people you just imported.
  • Check the checkbox in the header to select everyone on this page. Each page holds at most 100; you can adjust "per page" at the bottom of the page; if there are a lot, go page by page.
  • "N contacts selected" appears above; click "+ Tag" → choose a tag → "✓ Add".

Note: tagging in bulk triggers linked actions. A community whose access tag is this one adds people automatically, an email sequence triggered by this tag enrolls them automatically, and automation rules triggered by "add tag" run. So before clicking, confirm the tag is the right one, especially a tag with a welcome sequence attached — one click and this batch starts receiving emails.

Tags have to be created first: backend → Customers → Segments & tags → "Tags" → "New tag".

Have the AI do it

When the list is large, needs tags, or you want everyone to go straight into a certain email sequence, handing it to the AI is easier. Just tell your AI "import this list into customers and tag everyone webinar-2026-10". It calls import_contacts:

  • Each person can carry email, name, tags, country, language; defaultTags adds tags to everyone uniformly; enrollSequenceId puts everyone into the same email sequence.
  • Up to 1000 at a time; beyond that the AI imports in batches.
  • Existing emails aren't recreated, and their info isn't changed — only tags are added.
  • If a tag doesn't exist one is created automatically, with the slug as its name. If you want nice Chinese/English names, have the AI create the tag with upsert_tag first, then import.
  • The tags applied likewise trigger linked actions (join community, enter sequence, automation).
  • The result has how many were newly created, how many matched existing ones, how many tags were applied, how many were skipped, and up to 50 skip reasons.

Export a list with export_contacts, filterable by tag, defaulting to 500, up to 5000.

These two tools aren't in the AI's default tool list; they're in the "Customers" group; just say what you want to do as usual, and if the AI can't find it, it'll go look in the group.

Merge duplicate contacts

Sometimes the same person ends up with two records. First, a case you don't need to worry about: when the same email orders first and later logs in with Google, the system automatically recognizes them as the same person, so no extra record is created.

When there's a real duplicate:

  • "Settings" → "General settings" → "Advanced" → "Merge contacts".
  • The top "Possible duplicates (same email, multiple users)" lists ones with the same email (case-insensitive) but multiple records; "✨ No duplicates" means there are none.
  • The bottom "Manual merge" takes two IDs: Source user_id is the record to merge away, Destination user_id is the one to keep; click "Execute merge".
  • The Source's orders, entitlements, transactions, tags, AI chat conversations, notes, custom fields, calendar events, sales opportunities, automation records, course completions, and course reviews are all moved to the Destination, and the Source is soft-deleted. This step can't be undone.

What you fill in here is the system's internal user ID, not the "Customer ID" string on the customer detail page. When in doubt, have the AI look up the two people with get_customer; the ID is in the response. Merging requires the "Merge contacts" permission, which by default only admins and above have.

Watch out / common questions

  • Q: Will importing send these people email? A: The import itself doesn't. But if the tags you apply after importing have an email sequence or automation rule attached, that will start sending.
  • Q: What if the sheet has a "role" column? A: Choose "— Skip this column —" when mapping. Rows in that column with a valid role will get that account role, but add staff separately in "Settings → Staff & permissions" — don't mix them into the customer list for import.
  • Q: I can't find someone in the customer list after importing? A: The customer list only holds regular users and paid users; people with a backend role are in "Settings → Staff & permissions". You can also search directly with "Search name or email..." above the list.
  • Q: It says "CSV parse failed or no data"? A: The file is empty or has only a header row. Also confirm it's CSV, not xlsx, and UTF-8 encoded.
  • Q: A cell itself contains a comma? A: Wrap the whole cell in straight double quotes. Excel handles this automatically when saving as CSV.
  • Q: Do imported people count as paying customers? A: No. Choosing "Paid user" for "Default role for new users" only changes the role; they have no orders or courses to their name. To give them a course, see the manual activation in "Customer details and notes".

Related articles

  • "Segments & tags: categorize customers, broadcast to groups, and trigger automation" (segments-and-tags)
  • "Customer details and notes" (customer-notes)
  • "Email sequences: who enters, how many rounds each, how to verify" (email-sequences)
  • "Have the AI manage your site: tool list and groups" (mcp-tool-groups)
Last updated: October 13, 2026
Still stuck? Just ask

Write your question — we look in the docs first, and hand it to AI support if the answer is not there.

If you have connected an AI, you can ask it directly — it reads these same docs, and it can make the change for you.Or email us at support@dlxai.ai.
We use essential cookies; "Accept" also records device traits to prevent abuse. Cookie Policy