skills/marketing-growth/lifecycle-marketing-automation/SKILL.md
Map customer journey stages from first visit to loyal advocate with personalized messaging, triggered workflows, and segment-based campaign automation
npx skillsauth add finsilabs/awesome-ecommerce-skills lifecycle-marketing-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Lifecycle marketing treats each customer as being at a defined stage in their relationship with your brand — from anonymous visitor to loyal advocate — and delivers stage-appropriate messaging automatically. Unlike broadcast campaigns, lifecycle automation is triggered by behavior and stage transitions, ensuring every message is relevant. Klaviyo's predictive analytics and flow builder cover most lifecycle automation needs without custom code.
| Stage | Definition | Primary Goal | |-------|-----------|-------------| | Subscriber | Email captured, no purchase | Convert to first purchase | | First-time buyer | 1 order, placed < 60 days ago | Onboard, reduce returns, build habit | | Active | 2+ orders, purchased within repurchase window | Grow AOV and purchase frequency | | Loyal | 4+ orders OR > $500 LTV | Maintain, protect from churn, reward | | At-risk | Approaching 1.5x their normal repurchase window | Proactive re-engagement | | Lapsed | Beyond 2x their normal repurchase window | Win-back campaign | | Advocate | Has reviewed, referred, or engaged heavily | Amplify via referral program |
Klaviyo computes expected repurchase dates and churn risk automatically based on your order history — you do not need to calculate lifecycle stages manually.
Subscriber stage — Welcome Series:
First-time buyer stage — Post-Purchase Onboarding:
Loyal stage — VIP Recognition:
Total Customer Value > $500 OR Total Order Count >= 4At-risk stage — Retention Nudge:
Predicted Churn Risk = High OR MidLapsed stage → Win-Back:
Welcome Series:
Post-purchase onboarding:
At-risk re-engagement:
AutomateWoo's built-in RFM Analysis (go to AutomateWoo → Reports → RFM Analysis) shows your customers on an RFM grid — use this to identify which customers to target with each lifecycle stage campaign.
Send lifecycle events to Klaviyo's API:
// Update customer's lifecycle stage as a Klaviyo profile property
async function updateLifecycleStage(email: string, stage: string) {
await fetch('https://a.klaviyo.com/api/profile-import/', {
method: 'POST',
headers: {
'Authorization': `Klaviyo-API-Key ${process.env.KLAVIYO_PRIVATE_KEY}`,
'Content-Type': 'application/json',
'revision': '2024-10-15',
},
body: JSON.stringify({
data: {
type: 'profile',
attributes: {
email,
properties: {
lifecycle_stage: stage,
lifecycle_stage_updated_at: new Date().toISOString(),
},
},
},
}),
});
}
// Call this on key events:
// After first purchase: updateLifecycleStage(email, 'first-time-buyer')
// After 4th purchase or $500 LTV: updateLifecycleStage(email, 'loyal')
// When churn risk detected: updateLifecycleStage(email, 'at-risk')
Then in Klaviyo, create flows triggered by Profile Property Changed → lifecycle_stage equals [stage].
| Stage | Channel | Frequency | Content Focus | Incentive | |-------|---------|-----------|--------------|-----------| | Subscriber | Email | Weekly | Brand education, social proof | First-order discount | | First-time buyer | Email | Triggered only | Product onboarding, care tips | No discount — build value | | Active | Email | Biweekly | New arrivals, cross-sell | None (they are buying) | | Loyal | Email | Weekly | Exclusive access, new drops | Early access, not discounts | | At-risk | Email + SMS | Triggered only | Re-engagement, recommendations | Small offer for high-LTV only | | Advocate | Email | Biweekly | Referral program, exclusives | Referral bonuses |
Track these in Klaviyo or your analytics dashboard:
| Metric | Target | Where to Find | |--------|--------|---------------| | Subscriber → first purchase conversion | > 10% within 30 days | Klaviyo → Welcome series flow analytics | | First-time buyer repeat purchase rate | > 30% within 90 days | Shopify: Analytics → Customer cohorts | | At-risk customers saved | > 20% convert after retention flow | Klaviyo → Segment size change over time | | Loyal customer share of revenue | > 40% of total revenue | Klaviyo → VIP segment campaign analytics |
| Problem | Solution | |---------|----------| | Customers receive win-back email after just buying | Add flow filter "Has placed order in last 7 days → exit" and verify the Placed Order event is firing in Klaviyo | | All customers stuck in "subscriber" stage | Check that Placed Order events are syncing from Shopify to Klaviyo; verify integration is active under Klaviyo → Integrations | | Loyal customers receiving lapsed messaging | Segment filters in Klaviyo run at entry time; add re-evaluation by using Flow Filters that check current lifetime value before each send | | Welcome series and post-purchase flow both send to new buyers | Add a flow filter to the Welcome Series: "Has NOT placed an order" — this exits them from Welcome when they buy |
tools
Let shoppers save products to a wishlist, share it with friends, and get notified when saved items come back in stock or drop in price
development
Build a themeable storefront with design tokens and CSS custom properties that supports white-labeling, multi-brand variants, and dark mode
development
Speed up product discovery with instant search suggestions, fuzzy typo matching, and category-aware results powered by Algolia or Elasticsearch
development
Build a mobile-first storefront with thumb-friendly navigation, sticky add-to-cart buttons, and touch-optimized components for high mobile conversion