Marketing
Zmienia dane w sklepie — wymagany dry_run
Loyalty Segment Export
Export a list of customers based on purchase history for a campaign.
IntermediateAPI 2025-01
Command
bash
shopify-admin-skills:loyalty-segment-export store=your-store.myshopify.com### name
Loyalty Segment Export — VIP Customer Identification
### oneLiner
Finds your highest-LTV customers, tags them in Shopify, and exports a list ready for loyalty program enrollment or VIP campaign targeting.
### whenToUse
- Before launching a VIP program, to know exactly who qualifies before you invite them.
- Monthly, to refresh the segment and capture new customers who crossed the spend threshold.
- Before a win-back campaign, to cross-reference high LTV with 90-day purchase inactivity.
### howToRun
```
Run skill: shopify-admin-loyalty-segment-export
Store: yourstore.myshopify.com
min_orders: 3
min_spend: 200
tag: loyalty-vip
dry_run: true
```
### whatYouGet
A CSV file `loyalty_segment_YYYY-MM-DD.csv` with columns: `customer_id`, `email`, `first_name`, `last_name`, `orders_count`, `total_spent`, `currency`, `tag_applied`. The skill tags qualifying customers with `loyalty-vip` directly in Shopify — use that tag as a Klaviyo segment filter or retargeting audience. Run with `dry_run: true` first to review the count and adjust `min_orders` and `min_spend` before committing tags.
### polishContext
### safetyNote
This skill executes a `tagsAdd` mutation. Run with `dry_run: true` first to preview the customer list before tags are applied.
Bazuje na open-source 40RTY-ai/shopify-admin-skills (MIT), rozszerzone o kontekst polskiego rynku przez Dawida Gaca.