AI Blocks › Run your online store
Duplicate customer finder
Run it on your customers. Get likely duplicate records matched by email, phone or name, ready to review.
Duplicate customer finder is a free AI skill for the job "Run your online store". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · MIT licence · Made by 40rty AI
Made by 40rty AI. See the original on GitHub; we copied it as it is, with its licence.
What it does
A review list of customer records that probably belong to one person. Run it on your Shopify store and see matches by email, phone or name, so order history stops splitting across profiles. The skill is read-only and changes nothing. It signs in through the Shopify CLI with permission to read customers, then pulls all customers in pages of 250. It builds lookup tables for the match type you choose and reports any key shared by more than one record. You can set a minimum order count to skip trivial ones, and ask for plain or JSON output. Shopify does not allow merging by API, so you merge the flagged pairs yourself.
You give it
- Store domain
- Match type: email, phone, name or all
- Minimum orders (optional)
- A Shopify CLI sign-in with read access
You get
- Groups of likely duplicate customers
- Order counts and spend for each record
- Plain or JSON output
- A list ready to merge by hand
Use it when
- Repeat buyers show up as two separate profiles.
- You want a clean customer list before an email send.
- You need to check phone numbers as well as emails.
- You want a safe check that cannot edit anything.
How to use it
- Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
- Ask for the job in your own words. Your AI opens the skill when it fits.
- It works best when your AI can access your Shopify admin.