To email your WooCommerce customers from Mailchimp, you need a contact file: one row per customer with an email address, first and last name, and anything you want to segment by. WooCommerce has no export for that. Import Export by RockStarLab PRO exports WooCommerce customers with only the columns you pick, names the columns the way Mailchimp expects and adds a Tags column, so the file imports into Mailchimp without editing in a spreadsheet first.
PRO: the WooCommerce Customers export is part of the PRO plugin. We tested with Import Export by RockStarLab PRO 2.1.31 and WooCommerce on WordPress 7.1.
Before You Export: Permission
Mailchimp requires that every contact you import has agreed to receive your emails, and so do privacy laws such as the GDPR. Buying from your store is not the same as subscribing to a newsletter, and WooCommerce does not record newsletter consent by default. If your checkout has a newsletter checkbox (added by a plugin), export only the customers who ticked it; otherwise use the file for transactional or permitted messages only, or ask customers to opt in first.
Short Answer
In Export, choose WooCommerce Customers, filter Order Count greater or equal to 1, drag in Email, First Name, Last Name and Billing Country, rename them to Email Address, First Name, Last Name and Country with the pencil icon, and click Add Custom to add a Tags column with the same value in every row. Export as CSV and import it in Mailchimp under Audience > Add contacts > Import contacts.
Step 1: Choose the Customers
In Import Export by RockStarLab > Export, choose WooCommerce Customers. The customer export includes everyone with an account, also those who never ordered. To keep only buyers, we added the filter Order Count, Greater or Equal, 1. Six customers matched:

Other useful filters: Total Spent greater or equal to an amount for your best customers, Last Order Date for customers who bought recently, or Billing Country for one market.
Step 2: Pick and Rename the Columns
On the Fields step, we dragged in Email, First Name, Last Name and Billing Country, then renamed each column with the pencil icon. Mailchimp lets you match any column to a field during the import; with the same names as its fields, the matching is quick and anyone can see what each column holds. Then we clicked Add Custom, named the column Tags and gave it the value woocommerce-customer for every row:

On the Format step, choose CSV. The exported file:
"Email Address","First Name","Last Name",Country,Tags
anna.k@example.test,Anna,Kovacs,HU,woocommerce-customer
ben.t@example.test,Ben,Turner,GB,woocommerce-customer
carla.m@example.test,Carla,Mendes,PT,woocommerce-customer
…
Mailchimp creates tags that don’t exist yet during the import, so every imported customer gets the tag woocommerce-customer and you can send to exactly this group. Country is a two-letter code, which is the format Mailchimp asks for in address fields.
Step 3: Import into Mailchimp
- In Mailchimp, open Audience, then Add contacts > Import contacts, and upload the CSV.
- On the matching screen, check that Email Address, First Name, Last Name and Tags are matched; match Country to an address or text field, or skip it.
- Choose the subscription status. Only choose Subscribed for customers who agreed to receive marketing emails.
See Mailchimp’s format guidelines for import files for its current rules.
With WP-CLI or an AI Agent
The same file comes from one WP-CLI command: the filter keeps buyers, column_headers gives the columns Mailchimp’s names, and the custom column custom_tags gets the fixed value for the Tags column:
wp rsl-ie export --type=customer --fields=email,first_name,last_name,billing_country,custom_tags --options='{"filters":[{"field":"order_count","condition":"greater_or_equal","value":"1"}],"column_headers":{"email":"Email Address","first_name":"First Name","last_name":"Last Name","billing_country":"Country","custom_tags":"Tags"},"custom_values":{"custom_tags":"woocommerce-customer"}}' --name=mailchimp-customers --user=admin
"Email Address","First Name","Last Name",Country,Tags
qa-buyer@example.com,Ана,Buyer,GE,woocommerce-customer
That is the file from export job 88094 on our test store with Import Export by RockStarLab 2.2.64 and PRO 2.1.57: of four customer accounts, the one with orders.
An AI agent connected through the WordPress MCP Adapter builds the same file from a request. WordPress itself gives the agent only read-only abilities for site, user and environment information; the customer export, the filters and the renamed columns come from the plugin:
With Import Export by RockStarLab, export the WooCommerce customers who ordered at least once with email, first name, last name and billing country, name the columns Email Address, First Name, Last Name and Country for Mailchimp, add a Tags column with woocommerce-customer, and give me the CSV.
The agent calls rsl-ie-pro/export-start with the same fields, filter and options and returns the download link from rsl-ie/file-get.
Tips
- Guest buyers are in the order export with their billing details. Their names and emails are in the order export: export WooCommerce Orders with the billing email and name columns and remove duplicate emails in a spreadsheet.
- Repeat it every month: filter by Date Created or Last Order Date greater than the date of your last export, so the file contains only new customers.
- Other tools such as Klaviyo, Brevo or MailerLite import CSV files the same way; only the column names differ, and you rename them the same way.
FAQ
How do I export WooCommerce customer emails?
With Import Export by RockStarLab PRO: Export, WooCommerce Customers, add the Email column (plus names if you need them) and export as CSV or Excel.
Can I rename the columns for Mailchimp?
Yes. On the Fields step, click the pencil icon on a column and type the new header, such as Email Address or First Name.
How do I tag the imported contacts in Mailchimp?
Add a custom column named Tags with Add Custom and give it a value for every row. Mailchimp creates the tag during the import and adds it to each contact.
How do I add guest buyers to the list?
Export WooCommerce Orders with the billing email and name columns: guests are there with their billing details. Remove duplicate emails before the Mailchimp import.
Related Guides
- How to Export WooCommerce Customers to CSV
- How to Import WooCommerce Customers from CSV
- Fixing Wrong Dates, Lost Leading Zeros and Scientific Notation in an Exported CSV
Get the free plugin on WordPress.org. The WooCommerce Customers export is part of PRO.

Comments 0
Have a question or a tip to share? Leave it below.