Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
finsilabs avatar

Lifecycle Marketing Automation

  • 64 installs
  • 41 repo stars
  • Updated March 13, 2026
  • finsilabs/awesome-ecommerce-skills

Set up behavior-triggered email/SMS flows for each customer lifecycle stage, from welcome series to at-risk retention, in Klaviyo or AutomateWoo.

About

Maps customers into lifecycle stages (subscriber, first-time buyer, loyal, at-risk, lapsed) and configures stage-appropriate triggered messaging across Shopify, WooCommerce, BigCommerce, or a headless stack. A developer uses it when moving from batch email campaigns to automated, behavior-driven flows.

  • Per-stage flow setup in Klaviyo, AutomateWoo, and via the Klaviyo profile API for headless stores
  • Flow filters to cancel win-back/retention flows on purchase and measure lifecycle health metrics

Lifecycle Marketing Automation by the numbers

  • 64 all-time installs (skills.sh)
  • Ranked #529 of 853 Sales & Marketing skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill lifecycle-marketing-automation

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs64
repo stars41
Last updatedMarch 13, 2026
Repositoryfinsilabs/awesome-ecommerce-skills

What it does

Set up behavior-triggered email/SMS flows for each customer lifecycle stage, from welcome series to at-risk retention, in Klaviyo or AutomateWoo.

Files

SKILL.mdMarkdownGitHub ↗

Lifecycle Marketing Automation

Overview

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.

When to Use This Skill

  • When moving from batch-and-blast campaigns to behavior-triggered messaging
  • When different customer segments are receiving identical generic emails
  • When onboarding new customers and needing a structured first-30-day nurture plan
  • When LTV and repeat purchase rate are flat despite healthy acquisition numbers
  • When building a holistic view of the customer journey across email, SMS, and push

Core Instructions

Step 1: Define your lifecycle stages

StageDefinitionPrimary Goal
SubscriberEmail captured, no purchaseConvert to first purchase
First-time buyer1 order, placed < 60 days agoOnboard, reduce returns, build habit
Active2+ orders, purchased within repurchase windowGrow AOV and purchase frequency
Loyal4+ orders OR > $500 LTVMaintain, protect from churn, reward
At-riskApproaching 1.5x their normal repurchase windowProactive re-engagement
LapsedBeyond 2x their normal repurchase windowWin-back campaign
AdvocateHas reviewed, referred, or engaged heavilyAmplify via referral program

Step 2: Set up lifecycle automation per stage

---

Shopify with Klaviyo

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: 1. Go to Klaviyo → Flows → Create Flow → Welcome Series (use template) 2. The flow fires when someone joins your email list 3. Configure 3 emails over 7 days:

  • Email 1 (immediate): Welcome + brand story + first-order discount
  • Email 2 (day 2): Bestsellers or "Start here" product guide
  • Email 3 (day 7): Social proof (reviews, customer photos, media mentions)

4. Add a flow filter: "Has NOT placed an order" — exits the flow if they purchase before completing it

First-time buyer stage — Post-Purchase Onboarding: 1. Create a new flow: trigger = Placed Order, filter = "First order ever" (Klaviyo's "First order" conditional) 2. Configure 3 emails:

  • Email 1 (day 2): Product usage tips or setup guide
  • Email 2 (day 7): Cross-sell recommendations based on purchased product
  • Email 3 (day 21): Review request

3. This flow is separate from the standard post-purchase flow to give first-timers extra attention

Loyal stage — VIP Recognition: 1. Create a segment: Total Customer Value > $500 OR Total Order Count >= 4 2. Create a flow triggered by Segment Entry for this segment 3. Send a single "You've unlocked VIP status" email with exclusive benefits (early access, free shipping, loyalty points bonus) 4. Add these customers to a Klaviyo List called "VIP" and use it as a segment for early access campaigns

At-risk stage — Retention Nudge: 1. Create a segment using Klaviyo's predictive analytics: Predicted Churn Risk = High OR Mid 2. Create a flow triggered by Segment Entry:

  • Email 1 (immediate): Personalized "We miss you" with product recommendations based on past purchases
  • Wait 5 days → Email 2: New arrivals or "What's changed since your last visit"
  • Wait 5 days → Email 3 (only for customers with > $200 LTV): 15% off exclusive offer

Lapsed stage → Win-Back:

  • See @win-back-reactivation for the full win-back campaign setup

---

WooCommerce with AutomateWoo

1. Install AutomateWoo ($99/yr) from the WooCommerce marketplace 2. Build individual workflows for each stage transition:

Welcome Series:

  • Trigger: Subscribe → Newsletter (with your email plugin) or Customer → Created (new account)
  • Add 3 email actions with timing delays

Post-purchase onboarding:

  • Trigger: Order → Status Changed to Completed
  • Add condition: Customer order count equals 1 (first-time buyer)
  • Configure email sequence with delays

At-risk re-engagement:

  • Trigger: Customer → Win Back (built-in AutomateWoo trigger)
  • Set "No order in last" to 1.5x your average repurchase cycle
  • Create escalating emails: reminder → offer

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.

---

BigCommerce

1. Install Klaviyo from the BigCommerce App Marketplace 2. Klaviyo syncs all BigCommerce order history automatically 3. Follow the same Klaviyo flow setup as the Shopify section above

---

Custom / Headless

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].

Step 3: Configure stage-appropriate messaging

StageChannelFrequencyContent FocusIncentive
SubscriberEmailWeeklyBrand education, social proofFirst-order discount
First-time buyerEmailTriggered onlyProduct onboarding, care tipsNo discount — build value
ActiveEmailBiweeklyNew arrivals, cross-sellNone (they are buying)
LoyalEmailWeeklyExclusive access, new dropsEarly access, not discounts
At-riskEmail + SMSTriggered onlyRe-engagement, recommendationsSmall offer for high-LTV only
AdvocateEmailBiweeklyReferral program, exclusivesReferral bonuses

Step 4: Measure lifecycle health

Track these in Klaviyo or your analytics dashboard:

MetricTargetWhere to Find
Subscriber → first purchase conversion> 10% within 30 daysKlaviyo → Welcome series flow analytics
First-time buyer repeat purchase rate> 30% within 90 daysShopify: Analytics → Customer cohorts
At-risk customers saved> 20% convert after retention flowKlaviyo → Segment size change over time
Loyal customer share of revenue> 40% of total revenueKlaviyo → VIP segment campaign analytics

Best Practices

  • Cancel competing flows on conversion — in Klaviyo, add a flow filter to every win-back and retention flow: "Has placed order since starting flow → exit"; prevents irrelevant messages after purchase
  • Always cancel retention flows when a customer purchases — set up a Klaviyo flow that triggers on "Placed Order" and uses a Trigger Split to exit the person from any active retention flows
  • Use Klaviyo's predictive analytics — do not manually calculate lifecycle stages; Klaviyo's expected next purchase date and churn risk are more accurate than manual rules
  • Personalize with dynamic product blocks — every retention and win-back email should show products based on what the customer has bought before, not generic bestsellers
  • Keep stage definitions simple — 5–7 stages is enough; adding more stages creates messaging overlap and complexity without proportional benefit

Common Pitfalls

ProblemSolution
Customers receive win-back email after just buyingAdd 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" stageCheck that Placed Order events are syncing from Shopify to Klaviyo; verify integration is active under Klaviyo → Integrations
Loyal customers receiving lapsed messagingSegment 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 buyersAdd a flow filter to the Welcome Series: "Has NOT placed an order" — this exits them from Welcome when they buy

Related Skills

  • @customer-retention-engine
  • @email-marketing-automation
  • @win-back-reactivation
  • @loyalty-program-optimization
  • @email-list-segmentation

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.