AI Blocks › Run your online store
Loyalty customer list builder
Get your top-spending customers tagged and exported, ready for a loyalty program. Adds tags to live customer records.
Loyalty customer list builder 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 · Level: beginner · Thinking: low
Made by 40rty AI. See the original on GitHub; we copied it as it is, with its licence.
What it does
A list of your best customers, tagged inside Shopify and exported, ready to invite into a loyalty program or a VIP campaign. It changes live customer records, so run it in preview first. You set a minimum number of orders and a minimum lifetime spend. The defaults are three orders and 200 in your store currency. It reads all matching customers, 250 at a time, and adds a tag you choose, loyalty-vip by default. Then it exports the list with names, emails, order counts and totals. A dry run shows who would be tagged without touching anything. It handles only the data. It needs a signed-in Shopify CLI.
You give it
- Your store domain
- Minimum orders and spend
- The tag name (optional)
- Dry run or live run
You get
- Qualifying customers tagged
- An exported customer list
- A count of who qualified
- A preview of changes when dry run is on
Use it when
- You want to find your top spenders and treat them differently.
- You are launching a VIP offer and need the audience list.
- You want customers tagged so your email tool can target them.
- You want to test your thresholds before changing any records.
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 and change live store data.