AI Blocks › Run your online store
Lapsed customer finder
Get a list of customers who stopped ordering, tagged for your win-back campaign. Adds tags to live customer records.
Lapsed 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 · 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 customers who bought once and then went quiet, already tagged so you can send a win-back campaign. The skill reads your Shopify store and finds customers whose last order is older than your cutoff, 90 days by default. You can also require a minimum number of past orders. It then adds a tag, win-back by default, to each customer record, up to a cap of 500 per run. A dry run mode shows who would be tagged without changing anything, so try that first. Because it writes tags to live customer data, you need Shopify CLI access with customer read and write permissions.
You give it
- Your store domain
- Days without an order that counts as lapsed
- Minimum past orders (optional)
- Tag name (optional)
- Shopify CLI login with customer permissions
You get
- A list of lapsed customers
- Tags added to their records
- A dry run preview
- A count and summary of who was tagged
Use it when
- You want to email customers who have not ordered in three months.
- You need a Klaviyo or Shopify segment for a win-back campaign.
- You want to check how many customers have gone quiet before you plan.
- You want repeat buyers only, not people who bought once.
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.