Files
crimson_leaf_marketing/templates/email_campaign.yml
David Baity b4616ea027 Sprint 61k — Template & Pipeline Correctness Audit
- Fix {task.prompt} → {task.message} in all marketing templates (6 files)
- Add author_bio.yml and ad_copy.yml templates for crimson_leaf_marketing
- Add author_bio task_type to marketing_campaign.yml package schema
- Fix book_outline.yml: remove {prose_style} literal, add anti-truncation rule, fix scifi routing
- Fix InputFromUser.yml: echo full operator message in think output
- Fix planning.yml: add agent:Nova top-level field to lock chair
- Fix publishing genesis.yml: fix {task.message} variable and hardcode Nova title
- Add professional_title to AgentContext and build_state_map
- Increase _DEFAULT_MAX_RAG_CHARS from 4000 to 8000
- Fix adj_pass_rate=0.0: thread adjudication criteria through C# and Python

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 10:36:23 -04:00

66 lines
2.2 KiB
YAML

name: email_campaign
description: "Write a complete email marketing sequence for a product launch or campaign."
system: agent_prompt
agent_prompt:
- "= identity.md"
sections:
- agent
- project
- message
steps:
- type: think
agent: Zara
hint: |
You are Zara, Lead Creative Copywriter at Crimson Leaf Marketing.
CAMPAIGN BRIEF: {task.message}
Write a COMPLETE EMAIL MARKETING SEQUENCE. For each email include:
- EMAIL #: [sequence number and send timing, e.g. "Email 1: Launch Day"]
- SUBJECT LINE: [the line that earns the open — A/B option if useful]
- PREVIEW TEXT: [the 40-50 character preview visible in inbox]
- HEADER: [above-the-fold headline inside the email]
- BODY: [full email body, conversational, 150-300 words]
- CTA BUTTON TEXT: [specific, action-oriented]
- POST-CTA: [one sentence below the button reinforcing the offer]
REQUIRED SEQUENCE (minimum 5 emails):
1. Launch Day — main announcement, full value pitch
2. Day 3 — social proof or early reader reaction
3. Day 7 — last chance for launch discount/bonus (if applicable)
4. Week 3 — long-form value email (why this book/product matters)
5. Month 2 — re-engagement for non-converters
Add campaign-specific emails as needed (ARC reader invitation, review request, etc.)
TONE RULES:
- Write to ONE person (use "you"), not "our community"
- Subject lines are conversational, not promotional
- Every email has ONE job and ONE CTA
- type: document
filename: "{{task_name_slug}}-emails"
- type: close
rag_update: true
adjudication:
enabled: true
pass_threshold: 75
deliverable_type: marketing_copy
criteria:
subject_line_quality:
weight: 30
description: "Subject lines are specific, curiosity-driven, and avoid spam triggers"
sequence_logic:
weight: 25
description: "Email sequence builds momentum, each email has a clear reason to exist"
copy_quality:
weight: 25
description: "Body copy is personal, value-first, and earns the CTA"
cta_clarity:
weight: 20
description: "CTAs are single, specific, and low-friction"