Builds multi-sequence email automation flows with branching logic, segmentation, and conditional triggers based on subscriber behavior. Outputs ASCII flow diagrams, email content, and platform setup instructions.
Ships in automation-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build multi-sequence email automation flows with branching logic, segmentation, triggers, and tool-specific setup. More advanced than S5 email-drip-sequence: this skill creates conditional flows that respond to subscriber behavior (opened, clicked, purchased). Output includes ASCII flow diagrams, email content, and platform setup instructions.
S7: Automation — S5's email-drip-sequence is a linear 7-email series. Real email marketing uses branching flows: if they opened → send X, if they didn't → send Y, if they clicked the affiliate link → move to a different sequence. This skill builds the automation system, not just the emails.
email-drip-sequence output to a branching automationproduct:
name: string # REQUIRED — product being promoted
affiliate_url: string # REQUIRED — affiliate link
reward_value: string # OPTIONAL — commission info (e.g., "30% recurring")
audience:
description: string # REQUIRED — who the subscribers are
segments: # OPTIONAL — audience segments for branching
- string # e.g., ["cold_leads", "warm_leads", "buyers"]
flow_type: string # OPTIONAL — "welcome" | "nurture" | "winback"
# | "reengagement" | "cart_abandon"
# Default: "welcome"
email_tool: string # OPTIONAL — "convertkit" | "mailchimp"
# | "activecampaign" | "beehiiv"
# Default: generic (works with any ESP)
num_emails: number # OPTIONAL — total emails in the flow (5-12)
# Default: 7
lead_magnet: string # OPTIONAL — what they opted in for
Chaining context: If S5 email-drip-sequence was run earlier, offer to upgrade it: "I see you have a 7-email drip sequence. Want me to upgrade it with branching logic and segments?"
Select automation template based on flow_type:
Welcome Flow: Trigger → Welcome email → Wait 1 day → Value email → Branch (opened? → Soft sell / didn't open? → Re-engagement) → Continue selling to openers, re-engage non-openers
Nurture Flow: Trigger → Educational series → Branch (clicked affiliate link? → Move to sales sequence / didn't click? → Continue nurturing) → Post-purchase thank you for converters
Win-back Flow: Trigger (inactive 30+ days) → "We miss you" → Wait 3 days → Value reminder → Branch (re-engaged? → Move to nurture / still inactive? → Last chance) → Sunset after no response
For each flow, specify:
Create decision points:
For each email in each branch, write:
Between emails:
Present:
Before presenting output, verify:
If any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.
output_schema_version: "1.0.0" # Semver — bump major on breaking changes
automation:
flow_type: string
product: string
total_emails: number
total_branches: number
estimated_days: number # total span of the flow
flow:
- step: number
type: string # "email" | "wait" | "branch" | "exit"
email: # present if type is "email"
subject: string
preview: string
body: string
cta: string
has_affiliate_link: boolean
wait_days: number # present if type is "wait"
branch: # present if type is "branch"
condition: string # e.g., "opened previous email?"
yes_path: number # step number for yes
no_path: number # step number for no
setup:
tool: string
steps: string[] # tool-specific setup instructions
tags: string[] # recommended tags to apply
segments: string[] # recommended segments
User: "Build a welcome email automation for HeyGen (affiliate link: heygen.com/ref/abc123) for content creators who downloaded my AI tools guide." Action: 7-email welcome flow. Email 1: Deliver guide. Email 2: Value (AI video tip). Branch: Did they open email 2? Yes → Email 3 (soft sell HeyGen). No → Email 3b (re-engagement with different subject). Continue branching through to email 7. ASCII diagram + all email content + ConvertKit setup.
User: "Take my email drip sequence from earlier and add automation logic." Action: Keep the 7 emails from S5 output. Add branches: After email 2 (opened → continue / not opened → resend with new subject). After email 4 (clicked affiliate link → skip to email 5 hard sell / didn't click → add extra value email). After email 5 (purchased → exit + thank you / didn't purchase → continue to email 6-7).
User: "Create a win-back sequence for subscribers who haven't opened emails in 30 days. I promote Semrush." Action: 4-email win-back flow. Trigger: 30 days no opens. Email 1: "Still interested in SEO?" (curiosity). Wait 3 days. Email 2: Value piece (SEO tip). Branch: Opened? Yes → Move to nurture flow. No → Email 3: "Last chance" (urgency). No response after 7 days → Sunset (remove from list).
shared/references/ftc-compliance.md — FTC disclosure for emails with affiliate links. Read in Step 4.shared/references/affitor-branding.md — Branding guidelines for email footers. Referenced in Step 4.shared/references/flywheel-connections.md — master flywheel connection mapAfter 30 days: what's the open rate on each email? Click rate on affiliate links? Revenue attributed to the flow? If Email 3+ have <15% open rate, test new subject lines. If affiliate CTR is <2%, strengthen the CTA or add bonuses.
Next step — copy-paste this prompt: "Set up conversion tracking for my email automation affiliate links" → runs
conversion-tracker
conversion-tracker (S6) — automated email links to trackemail-drip-sequence (S5) — drip sequence to upgrade with automation logicconversion-tracker (S6) — conversion data for branch conditionsconversion-tracker (S6) provides email conversion data → optimize branch conditions and timingchain_metadata:
skill_slug: "email-automation-builder"
stage: "automation"
timestamp: string
suggested_next:
- "conversion-tracker"
- "performance-report"
What SKILL.md sets; muted values are Claude Code's defaults
/automation-skills:email-automation-builderfrom automation-skills
npx claudepluginhub affitor/affiliate-skills --plugin automation-skills4 skills in this plugin
/content-repurposerRepurpose one piece of affiliate content into multiple formats. Triggers on: "repurpose my content", "turn my blog into tweets", "cross-post this", "content recycling", "convert to newsletter", "make a tweet thread from this", "adapt for TikTok", "omnichannel content", "scale my content", "turn this into a LinkedIn post", "repurpose for email", "content multiplication".
/multi-program-managerManage and compare multiple affiliate programs as a portfolio. Triggers on: "manage my affiliate programs", "compare my programs", "portfolio overview", "which program should I focus on", "diversify my affiliate income", "program switching", "affiliate portfolio", "program comparison", "revenue allocation", "which programs to drop", "add new programs", "affiliate program strategy".
/paid-ad-copy-writerWrite paid ad copy for affiliate offers across ad platforms. Triggers on: "write ad copy", "Facebook ad for affiliate", "Google Ads copy", "TikTok ad script", "Pinterest ad", "paid traffic to affiliate", "create ad campaign", "ad headlines", "ad descriptions", "scale with paid ads", "run ads for my affiliate link", "write Facebook ad", "Google Search ad copy".
Other plugins' skills for the same job