Skip to content

feat(website): wire whitepaper signup to Resend email pipeline + drip sequences#98

Merged
blove merged 2 commits into
mainfrom
fix/wire-whitepaper-drip
Apr 10, 2026
Merged

feat(website): wire whitepaper signup to Resend email pipeline + drip sequences#98
blove merged 2 commits into
mainfrom
fix/wire-whitepaper-drip

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented Apr 10, 2026

Summary

  • Wire /api/whitepaper-signup route to the existing Resend email infrastructure (was only writing to NDJSON, never sending emails)
  • Send library-specific download confirmation email on signup
  • Schedule 4-email drip sequence (days 2, 5, 10, 20) via Resend's scheduledAt
  • Add contact to Resend audience + sync to Loops with whitepaper_downloaded event
  • Extend drip.ts to support all 4 paper types (overview, angular, render, chat)

What was broken

The whitepaper signup route collected emails but never sent anything. The download confirmation templates, drip templates, and scheduleWhitepaperDrip() function all existed but were never called. The newsletter and leads routes were fully wired — this one was missed.

Test plan

  • nx lint website — 0 errors, 0 warnings
  • nx build website — success
  • CI green
  • Manual test: submit whitepaper form, verify Resend dashboard shows scheduled emails

🤖 Generated with Claude Code

The whitepaper-signup route was collecting signups to NDJSON but never
sending emails. Now it:
- Sends library-specific download confirmation email via Resend
- Schedules 4-email drip sequence (days 2, 5, 10, 20) via Resend
- Adds contact to Resend audience
- Syncs to Loops with whitepaper_downloaded event

Also extends drip.ts to support all 4 paper types (overview, angular,
render, chat) with their respective drip templates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment Apr 10, 2026 4:24pm

Request Review

… and cacheplane branding

hero.svg: "stream-resource" → "cacheplane", updated tagline
arch-diagram.svg: streamResource() → agent(), Signal-native state,
@cacheplane/angular, MockAgentTransport, Signal updates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@blove blove merged commit cd662c7 into main Apr 10, 2026
14 checks passed
@blove blove deleted the fix/wire-whitepaper-drip branch May 7, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant