Logo Email Lifecycle

Email Lifecycle

Tổ chức
hyperfx-ai
email-lifecycle

Lên kế hoạch, xây dựng và triển khai các chiến dịch email theo vòng đời khách hàng thông qua Hyper MCP — chuỗi email chào mừng / làm quen, nuôi dưỡng, tái tương tác, thu hút khách hàng quay lại và nhắc giỏ hàng bị bỏ quên, trên nền tảng phù hợp: Klaviyo cho thương mại điện tử, Resend cho SaaS / công cụ dành cho nhà phát triển, Beehiiv cho bản tin và Gmail cho hoạt động quy mô nhỏ. Dùng khi bạn muốn xây dựng chuỗi email, thiết lập quy trình chào mừng, thu hút người dùng không còn hoạt động quay lại, gửi email hàng loạt, quản lý danh sách / đối tượng / phân khúc hoặc hỏi về chiến dịch theo vòng đời / email nhỏ giọt / nuôi dưỡng khách hàng tiềm năng.

Add to TypingMind

Tổng quan

Nhà phát hànhhyperfx-ai
Kho mãmarketing-skills
Tên kỹ năngemail-lifecycle
Sao
107
Bản fork
21
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được hyperfx-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Email Lifecycle trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/hyperfx-ai/marketing-skills/tree/main/skills/email-lifecycle
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hyperfx-ai/marketing-skills.git /tmp/marketing-skills
mkdir -p .claude/skills
cp -r /tmp/marketing-skills/skills/email-lifecycle .claude/skills/email-lifecycle
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Email Lifecycle trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Email Lifecycle ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Email Lifecycle với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Email Lifecycle

End-to-end lifecycle email — pick the right provider for the job, build the audience, draft the sequence, launch, and measure. Cross-provider patterns at the top; provider-specific tool calls below.

Out of scope — defer to other skills

RequestSend them to
Cold outbound to people who haven't opted incold-email-outreach
Generating images for email creativesimage-generation
Generating ad creatives that run alongside the lifecycle programad-creative-generation
SEO research / blog content for the newsletterseo-research

Requirements

  • Hyper MCP installed and connected. https://app.hyperfx.ai/mcp
  • At least one of these providers connected at https://app.hyperfx.ai/apps:
    • Klaviyo — ecommerce, Shopify-heavy lists, behavioral triggers off purchase / browse data
    • Resend — product-led / SaaS / dev tools, transactional + lifecycle on the same domain
    • Beehiiv — newsletters, paid-tier subscriptions, content-driven lists
    • Gmail — small / personal lists, founder-mode broadcasts, ops emails

If no klaviyo_*, resend_*, beehiiv_* or gmail_* tool is found, the integration to connect is the provider the user intends to use: Klaviyo, Resend, Beehiiv or Gmail.

How to run the tools in this skill

Every tool in this skill is named by its canonical tool name. Run it with the call your surface gives you:

SurfaceFind a toolRun it
Hyper chatCall the tool by its name; search_tools(queries=["<provider> <action>"]) shows its parameters<name>(...)
MCP client (Claude, Cursor, Codex, ChatGPT)search("<what you want to do>"), then describe("<name>")call_read("<name>", {...}), call_write or call_destructive: the one that describe names in call_with
Hyper CLIhyperai search "<what you want to do>", then hyperai describe <name>hyperai call <name> --json '{...}'

If a tool is not found: in Hyper chat, find its toolkit id with discover_toolkits and pass it to enable_toolkit. On an MCP client or the CLI, tell the user which integration to connect in Hyper.

Provider selection

The wrong provider is the most common reason a lifecycle program fails. Pick first.

You are…UseWhy
An ecommerce / DTC brand on Shopify, BigCommerce, WooCommerceKlaviyoNative ecom event listeners (Placed Order, Started Checkout, Browsed Product), mature flow editor, tight Shopify sync.
A SaaS / dev tool / API product sending product + lifecycle on the same domainResendSame API for transactional + marketing, audience management, broadcasts, automation runs. Excellent deliverability for product mail.
Running a content-led newsletter (free + paid tiers)BeehiivBuilt around the newsletter-as-product model — segments, automations, paid tiers, referral program, post stats.
Running a small ops list (≤500 contacts), founder-mode broadcastsGmailZero new infra, label-based segmentation, easy templating. Don't scale beyond ~500 — see cold-email-outreach for sender deliverability if you do.

You can run more than one. The pattern is: Klaviyo for marketing, Resend for transactional + product onboarding (when the brand also runs ecom). Or Beehiiv for the newsletter and Resend for the product. Decide once per program, not per email.

Tool surface

PhaseKlaviyoResendBeehiivGmail
Audience setupklaviyo_lists_create, klaviyo_list_members_add, klaviyo_segments_create, klaviyo_profiles_create, klaviyo_profiles_updateresend_audiences_create, resend_contacts_create, resend_contacts_list, resend_contacts_updatebeehiiv_subscriptions_create, beehiiv_segments_create, beehiiv_tags_add, beehiiv_subscriptions_listgmail_labels_create, gmail_labels_add, gmail_labels_remove
Sequence buildklaviyo_campaigns_create, klaviyo_campaign_messages_updateresend_automations_create, resend_automations_update, resend_automations_getbeehiiv_posts_create, beehiiv_automations_list, beehiiv_automations_subscribers_addgmail_drafts_create, gmail_drafts_update
Send / launchklaviyo_campaigns_send, klaviyo_campaign_send_jobs_getresend_emails_send, resend_broadcasts_sendbeehiiv_posts_create (publish), beehiiv_posts_updategmail_messages_send, gmail_drafts_send
Measureklaviyo_metrics_list, klaviyo_metrics_get, klaviyo_campaigns_getresend_automation_runs_list, resend_automation_runs_getbeehiiv_posts_stats_get, beehiiv_subscriptions_getgmail_messages_list

Full per-provider mechanics, gotchas, and concrete tool-call examples in references/provider-mechanics.md.

Critical rules

  1. Pick the provider before writing copy. The mechanics of how a flow gets triggered, how a segment gets defined, and what data you can personalize against differ enough that "we'll figure out the provider later" wastes a day.
  2. Always start with the audience, not the email. A welcome flow with no opt-in source is unsendable. A win-back with no inactivity definition is unsendable. Define the audience first; the copy is downstream.
  3. One purpose per sequence. A "welcome + onboarding + product education + first purchase nudge" mega-flow is brittle and impossible to measure. Split into separate flows wired together.
  4. Honor unsubscribes globally, not per-list. When a profile unsubscribes, suppress them across every flow in the workspace — not just the one they unsubscribed from. All four providers expose this; it's not optional.
  5. Test sends with a real seed inbox before going live. Every provider supports a test send. Do not launch a 10-email sequence to a 50,000-person list without seeing every email render in Gmail / Outlook / Apple Mail / mobile.
  6. Stay under provider rate limits. Especially for resend_broadcasts_send (large blast → throttled), gmail_messages_send (~500/day soft cap), and klaviyo_campaigns_send (account-tier dependent).
  7. Track conversion metric, not opens. Apple Mail Privacy Protection makes open rates ~useless on iOS. Configure conversion events at the provider level (Klaviyo metrics, Resend automation completion, Beehiiv segment transitions) and report on those.

Workflow

Phase 1 — Define the lifecycle program

Get the user to commit to:

  1. Trigger — The event that puts a profile into this flow. Examples: "signed up for the newsletter", "made first purchase", "abandoned cart with > $50 value", "no order in 90 days".
  2. Audience filter — Beyond the trigger, who qualifies. ("Newsletter signup, but only US-based". "Abandoned cart, but only first-time visitors.")
  3. Goal — One concrete outcome the flow drives toward. Not "engage them more". Concrete: "first purchase within 14 days", "activate the integration within 7 days", "upgrade to paid within 30 days".
  4. Success metric — Conversion rate to goal. Open and click are diagnostic, not goal metrics.
  5. Suppression rules — Who should never get this flow even if they hit the trigger. (Existing customers shouldn't get the new-customer welcome. Recent purchasers shouldn't get the win-back.)

If the user can't answer the trigger or the goal, the flow isn't ready to build.

Phase 2 — Pick the sequence pattern

Five patterns cover ~95% of lifecycle work. See references/sequence-patterns.md for full templates with copy, timing, and provider-specific notes.

PatternTriggerTypical lengthGoal
Welcome / onboardingList signup3–5 emails over 7–10 daysFirst conversion (purchase, activation, paid signup)
NurtureLead magnet download, content opt-in4–7 emails over 3–6 weeksProduct-qualified action
Abandoned cart (ecom only)Started Checkout, no Placed Order2–3 emails over 24–72 hoursComplete the purchase
Re-engagementLapsed activity (e.g., no opens in 60d, no purchase in 90d)2–3 emails over 7–14 daysRe-open / re-engage
Win-backLapsed customer (no purchase in 180d+)2–3 emails over 14–21 daysRepeat purchase

Phase 3 — Build the audience

Audience setup is provider-specific. Examples for the most common case (welcome flow):

Klaviyo — create the list, then a flow trigger on "Subscribed to List":

klaviyo_lists_create(list_name="newsletter-2026")
# triggers + flows are configured in Klaviyo UI; the API surface here is
# for adding profiles, building segments, and sending one-off campaigns.

Resend — create an audience, then an automation triggered by contact.created:

resend_audiences_create(name="newsletter-2026")
resend_automations_create(
  name="welcome-2026",
  trigger="contact.created",
  audience_id="aud_...",
  ...
)

Beehiiv — subscriptions trigger automations directly when added to a segment / publication:

beehiiv_subscriptions_create(
  publication_id="pub_...",
  email="user@example.com",
  utm_source="signup-form",
)
beehiiv_automations_subscribers_add(
  automation_id="aut_...",
  subscription_id="sub_...",
)

Gmail — labels are the segment. Start with a label per program:

gmail_labels_create(name="lifecycle/welcome-2026")
# manual contact list maintained outside Gmail (Sheets, CSV) — Gmail
# is best for ≤500 contacts, founder-led sends.

Provider-specific gotchas (e.g., Klaviyo's profile-merging behavior, Resend's audience-vs-segment distinction) are in references/provider-mechanics.md.

Phase 4 — Draft the sequence

For each email in the sequence:

  1. Subject + preview text — Lifecycle subject lines should look like 1:1 mail when possible (lowercase, short). Different rules than cold email — a welcome from a brand the user just opted into can be slightly more branded.
  2. Body — One job per email. Welcome touch 1 = "thanks, here's what to expect"; touch 2 = "here's the one thing to do first"; touch 3 = "here's the proof / case study".
  3. CTA — One per email. Same rules as cold email — interest-based or single-action.
  4. Personalization tokens — Use whatever the provider exposes ({{first_name}}, {{event.product_name}}, {{custom_field.plan_tier}}). Never use a token without a fallback ({{first_name|"there"}}).

Drafts-first by default — for any new sequence, build the first email and test send it to yourself before moving on. Provider previews look correct in the editor and broken in production more often than not.

Phase 5 — Launch

  1. Test send to a seed inbox. Every provider supports it. Use it for every email before activation.
  2. Activate the flow. Klaviyo: set status to Live. Resend: enable the automation. Beehiiv: publish the post / set automation to active. Gmail: just send.
  3. Set a 7-day check-in. Most lifecycle issues (broken token, wrong audience filter, send-time-pacing surprise) show up in the first week. Pull metrics on day 7 and again on day 30.

Phase 6 — Measure & iterate

Pull the conversion to goal metric, not opens or clicks. Open rate post-MPP is noise.

ProviderConversion metric source
Klaviyoklaviyo_metrics_get(metric_id=<conversion-event>) — e.g., Placed Order attributed to the flow
Resendresend_automation_runs_list(automation_id=...) — count completed runs that hit the goal step
Beehiivbeehiiv_posts_stats_get(post_id=...) and segment-membership transitions
Gmailgmail_messages_list(query="label:lifecycle/<program> newer_than:30d") — look for replies / conversions

Iteration rule: don't tune copy until the audience is right. If the welcome flow has a 1.2% conversion and the same product organic conversion is 4%, the audience is misaligned (too broad, wrong source, suppression rules missing) — fix that first. Copy comes second.

Quality check (before launch)

Read the whole sequence end-to-end as if you're a single person receiving it over the planned timing. Reject any sequence that fails:

  • The 5-email arc tells one coherent story.
  • Each email could stand alone if the previous ones bounced.
  • Every CTA leads somewhere that still works (no broken links, no canceled offers).
  • The unsubscribe link is visible (provider auto-adds, but verify in test send).
  • Tokens have fallbacks. No Hi , after a missing first-name.
  • Subject lines are different across the sequence — same subject 5x reads as a system glitch.
  • The send time isn't 3am in the recipient's time zone.

Reference workflows

ReferenceWhen to read
references/sequence-patterns.mdBuilding a welcome / nurture / abandoned-cart / re-engagement / win-back sequence — full templates with copy, timing, and benchmarks
references/provider-mechanics.mdKlaviyo flows, Resend automations, Beehiiv segments — concrete tool-call patterns and provider-specific gotchas

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Email Lifecycle làm được gì?

Lên kế hoạch, xây dựng và triển khai các chiến dịch email theo vòng đời khách hàng thông qua Hyper MCP — chuỗi email chào mừng / làm quen, nuôi dưỡng, tái tương tác, thu hút khách hàng quay lại và nhắc giỏ hàng bị bỏ quên, trên nền tảng phù hợp: Klaviyo cho thương mại điện tử, Resend cho SaaS / công cụ dành cho nhà phát triển, Beehiiv cho bản tin và Gmail cho hoạt động quy mô nhỏ. Dùng khi bạn muốn xây dựng chuỗi email, thiết lập quy trình chào mừng, thu hút người dùng không còn hoạt động quay lại, gửi email hàng loạt, quản lý danh sách / đối tượng / phân khúc hoặc hỏi về chiến dịch theo vò...

Vì sao nên dùng Email Lifecycle trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Email Lifecycle là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Email Lifecycle trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hyperfx-ai/marketing-skills/tree/main/skills/email-lifecycle. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Email Lifecycle?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Email Lifecycle với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Email Lifecycle với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Email Lifecycle có miễn phí không?

Có. Kỹ năng này được hyperfx-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇