Shopify Email Flow Builder
AI-powered email automation design agent — creates complete Klaviyo or Shopify Email flow blueprints with every email mapped out: timing, subject lines, copy angles, segmentation, and A/B test suggestions.
Describe your store, your product, or the flow you need. The agent builds the full sequence from trigger to exit, ready to hand to a copywriter or implement directly.
Commands
CODEBLOCK0
What Data to Provide
The agent works with:
- - Flow type — "build abandoned cart flow for a skincare brand"
- Store context — product type, price point, brand voice, target customer
- Existing setup — "I have a 2-email abandoned cart but it's underperforming"
- Performance data — open rates, click rates, revenue per recipient if available
- Platform — Klaviyo, Shopify Email, Mailchimp, or other ESP
No API keys needed. No platform integration required.
Workspace
Creates ~/email-flows/ containing:
- -
memory.md — saved store profiles, brand voice notes, past flows - INLINECODE2 — saved flow blueprints (markdown)
- INLINECODE3 — library of subject lines and copy angles by flow type
The 6 Core Flows
Flow 1: Welcome Series
Trigger: New subscriber (email capture, not yet a customer)
Goal: Build relationship, establish brand, drive first purchase
| Email | Timing | Purpose |
|---|
| Email 1 | Immediately | Welcome + deliver lead magnet (if any), brand story |
| Email 2 |
Day 2 | Social proof — bestsellers, reviews, UGC |
| Email 3 | Day 4 | Education — how to use / why you'll love the product |
| Email 4 | Day 7 | Urgency offer — first-purchase discount or free shipping |
| Email 5 | Day 10 | Last chance — expiring offer or simple "did we lose you?" |
Flow 2: Abandoned Cart
Trigger: Cart created, checkout not completed (1 hour minimum delay)
Goal: Recover the sale without over-discounting
| Email | Timing | Purpose |
|---|
| Email 1 | 1 hour after abandonment | Reminder — "You left something behind", no discount |
| Email 2 |
24 hours after Email 1 | Objection handling — reviews, guarantee, FAQ |
| Email 3 | 48 hours after Email 2 | Incentive — offer discount only if previous emails failed |
Segmentation split: suppress Email 3 discount for VIP customers (they convert without it).
Flow 3: Post-Purchase
Trigger: Order placed (first purchase)
Goal: Confirm, delight, cross-sell, generate reviews
| Email | Timing | Purpose |
|---|
| Email 1 | Immediately | Order confirmation + what to expect (shipping timeline) |
| Email 2 |
Day 3 | Product education — how to get the most from purchase |
| Email 3 | Day 7 (or at delivery) | Check-in — "Did it arrive? How are you liking it?" |
| Email 4 | Day 14 | Review request (post-usage, not at delivery) |
| Email 5 | Day 21 | Cross-sell / complementary product recommendation |
| Email 6 | Day 45 | Replenishment prompt (for consumable products only) |
Flow 4: Win-Back (Lapsed Customer)
Trigger: X days since last purchase (typically 90–180 days, adjust by product purchase cycle)
Goal: Re-engage before customer churns permanently
| Email | Timing | Purpose |
|---|
| Email 1 | Day 0 (trigger) | "We miss you" — no offer, just re-engagement |
| Email 2 |
Day 7 | What's new — new products, improvements, social proof |
| Email 3 | Day 14 | Win-back offer — discount or bonus |
| Email 4 | Day 21 | Final attempt — "Is this goodbye?" (sunset path begins) |
Sunset: if no engagement after Email 4, move to suppression list or low-frequency list.
Flow 5: Browse Abandonment
Trigger: Viewed product page, did NOT add to cart (session ended)
Goal: Return visitor to the product while interest is warm
| Email | Timing | Purpose |
|---|
| Email 1 | 4–6 hours after browse | Product spotlight — features, benefits, reviews |
| Email 2 |
48 hours after Email 1 | Social proof focus — reviews, UGC, bestseller badge |
Note: only trigger if subscriber, not an existing customer in an active abandoned cart flow.
Flow 6: VIP / High-Value Customer
Trigger: Customer reaches spend threshold (e.g., 3+ orders or $500+ LTV)
Goal: Reward loyalty, prevent churn, increase AOV
| Email | Timing | Purpose |
|---|
| Email 1 | At threshold | VIP welcome — exclusive status, thank you |
| Email 2 |
Monthly | Early access to new products / sales |
| Email 3 | Birthday or anniversary | Personal recognition + exclusive offer |
Subject Line Formulas
| Formula | Example |
|---|
| Curiosity gap | "This is why your [product] isn't working" |
| Direct benefit |
"Get [outcome] in [timeframe]" |
| Social proof | "[X] customers swear by this" |
| Urgency | "Last chance — [offer] ends tonight" |
| Personalization | "[First name], you left something behind" |
| Question | "Did something go wrong?" |
| Number list | "3 things you didn't know about [product]" |
Segmentation Logic
Key segments to build in Klaviyo:
- - Engaged subscribers: opened email in last 90 days
- Unengaged subscribers: no opens in 90–180 days (reduce send frequency, sunset after 180)
- First-time buyers: 1 order placed
- Repeat buyers: 2+ orders (exclude heavy discounters)
- VIP: top 10% by LTV or order count threshold
- Discount buyers: purchased only during sales (suppress from non-sale flows, protect margin)
A/B Test Suggestions by Flow
| Flow | Test Idea |
|---|
| Abandoned cart Email 1 | Timing: 30 min vs. 1 hour delay |
| Abandoned cart Email 3 |
Discount type: % off vs. $ off vs. free shipping |
| Welcome Email 1 | With vs. without founder video/story |
| Post-purchase Email 4 | Review request timing: Day 7 vs. Day 14 |
| Win-back Email 1 | Emotional tone vs. product-led subject line |
Output Format
Every flow blueprint outputs:
- 1. Flow Overview — trigger, goal, total emails, estimated duration
- Email-by-Email Blueprint — for each email: timing, subject line (3 options), preview text, copy angle, CTA, segmentation notes
- Flow Logic Map — trigger conditions, exit conditions, branch logic (e.g., "if purchased, exit flow")
- Segmentation Rules — who enters, who is excluded, branch splits
- A/B Test Recommendations — 2–3 specific tests to run first
- Performance Benchmarks — expected open rate, click rate, revenue per recipient by flow type
Benchmarks
| Flow | Avg Open Rate | Avg Revenue/Recipient |
|---|
| Welcome | 40–60% | $3–8 |
| Abandoned Cart |
35–50% | $5–15 |
| Post-Purchase | 50–70% | $2–6 |
| Win-Back | 10–20% | $1–4 |
| Browse Abandon | 25–40% | $2–8 |
Rules
- 1. Always ask for product type and price point before designing flows — a $15 impulse product needs different timing than a $300 considered purchase
- Never add a discount to abandoned cart Email 1 — train customers to wait for the offer; use reminder tone first
- Suppress existing customers from welcome flows and new subscribers from win-back flows — overlap causes brand confusion
- Flag when a store is on Shopify Email vs. Klaviyo — Klaviyo supports conditional splits and predictive analytics; Shopify Email does not
- Recommend sunset logic for every win-back flow — unengaged subscribers hurt deliverability
- Keep subject lines under 50 characters for mobile optimization (label when testing longer variants)
- Save flow blueprints to
~/email-flows/flows/ when flow save command is used
Shopify 邮件流程构建器
AI驱动的邮件自动化设计代理——创建完整的Klaviyo或Shopify邮件流程蓝图,包含每封邮件的详细规划:发送时机、主题行、文案角度、用户分群以及A/B测试建议。
描述您的店铺、产品或所需流程。代理将从触发条件到退出机制构建完整序列,可直接交付给文案撰写人员或直接实施。
命令
build flow <类型> # 构建完整流程蓝图(例如 build flow abandoned cart)
abandoned cart flow # 购物车放弃挽回序列(默认3封邮件)
post purchase flow # 购买后引导与追加销售序列
winback flow # 流失客户召回序列
welcome flow # 新订阅者欢迎系列
browse abandonment flow # 浏览放弃触发序列
flow audit # 审计现有流程,发现缺口与优化点
email copy angle # 为特定邮件生成主题行+文案角度选项
flow save <流程名称> # 将流程蓝图保存至工作区
需提供的数据
代理可处理以下信息:
- - 流程类型 — 为护肤品牌构建购物车放弃挽回流程
- 店铺背景 — 产品类型、价格区间、品牌调性、目标客户
- 现有设置 — 我有一个2封邮件的购物车放弃流程,但效果不佳
- 表现数据 — 打开率、点击率、每接收者收入(如有)
- 平台 — Klaviyo、Shopify Email、Mailchimp或其他邮件服务商
无需API密钥,无需平台集成。
工作区
创建 ~/email-flows/ 目录,包含:
- - memory.md — 已保存的店铺档案、品牌调性笔记、历史流程
- flows/ — 已保存的流程蓝图(Markdown格式)
- copy-angles.md — 按流程类型分类的主题行和文案角度库
6大核心流程
流程1:欢迎系列
触发条件:新订阅者(已获取邮箱,尚未成为客户)
目标:建立关系、确立品牌、推动首次购买
| 邮件 | 发送时机 | 目的 |
|---|
| 邮件1 | 立即发送 | 欢迎 + 提供引流产品(如有)、品牌故事 |
| 邮件2 |
第2天 | 社交证明 — 畅销品、评价、用户生成内容 |
| 邮件3 | 第4天 | 教育 — 如何使用/为何会爱上产品 |
| 邮件4 | 第7天 | 紧迫感优惠 — 首单折扣或免运费 |
| 邮件5 | 第10天 | 最后机会 — 即将到期的优惠或简单的我们失去你了吗? |
流程2:购物车放弃挽回
触发条件:已创建购物车,未完成结账(至少延迟1小时)
目标:在不过度打折的前提下挽回销售
| 邮件 | 发送时机 | 目的 |
|---|
| 邮件1 | 放弃后1小时 | 提醒 — 你遗忘了某些东西,无折扣 |
| 邮件2 |
邮件1后24小时 | 异议处理 — 评价、保证、常见问题 |
| 邮件3 | 邮件2后48小时 | 激励 — 仅在前两封邮件无效时提供折扣 |
分群分流:对VIP客户屏蔽邮件3的折扣(他们无需折扣即可转化)。
流程3:购买后跟进
触发条件:已下单(首次购买)
目标:确认、愉悦、交叉销售、生成评价
| 邮件 | 发送时机 | 目的 |
|---|
| 邮件1 | 立即发送 | 订单确认 + 预期说明(配送时间线) |
| 邮件2 |
第3天 | 产品教育 — 如何充分利用购买的产品 |
| 邮件3 | 第7天(或送达时) | 跟进 — 收到了吗?感觉如何? |
| 邮件4 | 第14天 | 评价请求(使用后,非送达时) |
| 邮件5 | 第21天 | 交叉销售 / 互补产品推荐 |
| 邮件6 | 第45天 | 补货提醒(仅适用于消耗品) |
流程4:流失客户召回
触发条件:距上次购买X天(通常90-180天,根据产品购买周期调整)
目标:在客户永久流失前重新激活
| 邮件 | 发送时机 | 目的 |
|---|
| 邮件1 | 第0天(触发日) | 我们想念你 — 无优惠,仅重新激活 |
| 邮件2 |
第7天 | 新品介绍 — 新产品、改进、社交证明 |
| 邮件3 | 第14天 | 召回优惠 — 折扣或赠品 |
| 邮件4 | 第21天 | 最后尝试 — 这是告别吗?(开始日落流程) |
日落机制:若邮件4后仍无互动,移至屏蔽列表或低频列表。
流程5:浏览放弃召回
触发条件:浏览了产品页面,未加入购物车(会话结束)
目标:在兴趣尚存时召回访客至产品页
| 邮件 | 发送时机 | 目的 |
|---|
| 邮件1 | 浏览后4-6小时 | 产品聚焦 — 功能、优势、评价 |
| 邮件2 |
邮件1后48小时 | 社交证明聚焦 — 评价、用户生成内容、畅销品标识 |
注意:仅对订阅者触发,且该订阅者不在活跃的购物车放弃流程中。
流程6:VIP/高价值客户
触发条件:客户达到消费门槛(例如3次以上订单或LTV超过500美元)
目标:奖励忠诚度、防止流失、提高客单价
| 邮件 | 发送时机 | 目的 |
|---|
| 邮件1 | 达到门槛时 | VIP欢迎 — 专属身份、感谢 |
| 邮件2 |
每月 | 新品/促销抢先体验 |
| 邮件3 | 生日或纪念日 | 个性化认可 + 专属优惠 |
主题行公式
| 公式 | 示例 |
|---|
| 好奇心缺口 | 这就是你的[产品]效果不佳的原因 |
| 直接利益 |
在[时间]内获得[结果] |
| 社交证明 | [X]位客户对此深信不疑 |
| 紧迫感 | 最后机会 — [优惠]今晚结束 |
| 个性化 | [名字],你遗忘了某些东西 |
| 提问式 | 出了什么问题吗? |
| 数字列表 | 关于[产品]你不知道的3件事 |
用户分群逻辑
需在Klaviyo中构建的关键分群:
- - 活跃订阅者:过去90天内打开过邮件
- 非活跃订阅者:90-180天内无打开记录(降低发送频率,180天后日落)
- 首次购买者:已完成1次订单
- 重复购买者:2次以上订单(排除重度折扣用户)
- VIP:按LTV或订单次数排名前10%
- 折扣购买者:仅在促销期间购买(从非促销流程中屏蔽,保护利润率)
按流程的A/B测试建议
| 流程 | 测试想法 |
|---|
| 购物车放弃邮件1 | 发送时机:30分钟 vs. 1小时延迟 |
| 购物车放弃邮件3 |
折扣类型:百分比折扣 vs. 金额折扣 vs. 免运费 |
| 欢迎邮件1 | 包含 vs. 不包含创始人视频/故事 |
| 购买后邮件4 | 评价请求时机:第7天 vs. 第14天 |
| 召回邮件1 | 情感基调 vs. 产品导向的主题行 |
输出格式
每个流程蓝图输出:
- 1. 流程概览 — 触发条件、目标、邮件总数、预计持续时间
- 逐邮件蓝图 — 每封邮件:发送时机、主题行(3个选项)、预览文本、文案角度、行动号召、分群说明
- 流程逻辑图 — 触发条件、退出条件、分支逻辑(例如若已购买,退出流程)
- 分群规则 — 谁进入、谁被排除、分支分流
- A/B测试建议 — 2-3个优先测试的具体方案
- 表现基准 — 按流程类型预期的打开率、点击率、每接收者收入
基准数据
| 流程 | 平均打开率 | 平均每接收者收入 |
|---|
| 欢迎系列 | 40-60% | $3-8 |
| 购物车放弃 |
35-50% | $5-15 |
| 购买后跟进 | 50-70% | $2-6 |
| 客户召回 | 10-20% | $1-4 |
| 浏览