Form Configuration & Lead Response Playbook

Form type: Inline JavaScript fetch()lead-capture Edge Function (Supabase) Edge Function: lead-capture (POST to https://api.averyn.app/functions/v1/lead-capture) Database table: marketing.leads (asset = discharge-toolkit-bundle) Email sending: Resend via pulse.averyncare.com

Note: This is a bundle gate — one email submission unlocks access to six discharge-related tools. Unlike individual tool/resource gates, this page doesn't redirect. It unlocks the tools in-page using sessionStorage and sends a welcome email with links to all included resources.


Form Fields

Field Type Required Notes
First name text Yes Used in email subject lines and respondent greeting
Email email Yes Respondent email destination; lead contact

The form is intentionally minimal (2 fields). The primary audience is families who received a referral sheet from an SNF discharge nurse or case manager. Low friction is essential — they're in the middle of a stressful transition.


Form Behavior

On submission:

  1. JavaScript fetch() POSTs to lead-capture Edge Function (no page redirect)
  2. Edge Function upserts the lead in marketing.leads (asset = discharge-toolkit-bundle), sends welcome + team emails via Resend
  3. On success (or any non-network error), page JavaScript:

Session persistence: Tool links stay unlocked for the browser session via sessionStorage. Closing the browser resets the gate — but the welcome email contains direct links.

UTM passthrough: The form captures utm_source, utm_medium, utm_campaign, utm_content, utm_term from the page URL and appends them to the POST body.


Included Tools

# Tool Type URL
1 Hospital-to-Home Checklist Printable interactive checklist /resources/hospital-to-home-checklist.html
2 What's Falling Through the Cracks? Quiz Scored quiz (10 questions) /tools/discharge-planning-quiz/
3 Care Complexity Assessment Scored assessment (7 questions) /tools/care-complexity-assessment/
4 Records Readiness Self-Audit Scored audit (24 questions, 5 categories) /tools/records-readiness-audit/
5 Doctor Transition Checklist Printable step-by-step checklist /resources/doctor-transition-checklist.html
6 Medicare Benefits Quick Reference Printable fillable reference /resources/medicare-benefits-quick-reference.html

Important: The scored tools (2, 3, 4) have their own inline email gates at the end of the assessment for full results. If the user already provided their email on the bundle gate, they'll need to enter it again on the scored tool to get tool-specific results emailed. This is acceptable because:


Email Configuration

1. Team Notification

Setting Value
To hello@averyncare.com
From notifications@notifications.averyncare.com
Subject Lead: Discharge Planning Toolkit — {name}
Body Structured summary with name, email, asset (discharge-toolkit-bundle), source (toolkit), UTMs

2. Welcome Email (lead receives)

Setting Value
To {email} (from form submission)
From hello@pulse.averyncare.com
Reply-to hello@averyncare.com
Subject ✓ Your Discharge Planning Toolkit

Email content is defined in marketingEmails.ts using the block-based template engine. Includes:


Lead Response Playbook

These leads are top-of-funnel, action-oriented, pre-customer. They came from a discharge context — likely from an SNF referral sheet or the /professionals/discharge/ page. They're in the middle of a transition and looking for immediate help.

Immediate (automated — already configured)

Day 0–1: Log and tag

Day 3: Practical follow-up (automated via drip-send)

Subject: "The first week home, {name}"

Focus: Practical first-week priorities (PCP follow-up, medication reconciliation, discharge instructions). Links to the Discharge Cracks Quiz. No sales pitch.

Tone: Helpful, practical, empathetic. This person is managing a crisis.

Day 7: Week-one check-in (automated via drip-send)

Subject: "Week one check-in, {name}"

Focus: Quick inventory of what should be done by now. Links to the Hospital-to-Home Checklist and Records Readiness Audit. Still no sales pitch.

Tone: Gentle check-in. Normalize the difficulty.

Day 14: Soft pitch (automated via drip-send)

Subject: "When the discharge plan unravels"

Focus: Name the reality (discharge follow-through breaks down around week two). Introduce Averyn as the navigator who drives the follow-through. Mention Expanded ($249/mo) and Record Vault ($999). Link to support options and start page.

Tone: Honest, not salesy. Empathetic but direct.

Day 30+: Nurture

If the lead replies or engages


Distribution: Referral Sheets

This toolkit URL (averyncare.com/discharge-toolkit/) is designed to be printed on physical referral sheets given to families by SNF discharge nurses and case managers. The referral sheet should include:

This provides a secondary CTA on the referral sheet (the primary CTA is to contact Averyn directly). Families who aren't ready for the primary action can still enter the funnel through the toolkit.


Metrics to Track

Metric Where Target
Toolkit unlocks Plausible (lead_magnet_submit, asset=discharge_toolkit_bundle)
Welcome email open rate Resend dashboard > 50%
Day 3 open rate Resend > 40%
Day 7 open rate Resend > 35%
Day 14 open rate Resend > 30%
Reply rate (any drip) Manual > 5%
Tool usage (post-unlock) Plausible page views on /tools/* and /resources/* Track which tools get opened
QR referral traffic Plausible (utm_source=referral_sheet) Directional
Conversion to intake CRM Track toolkit lead → intake form within 90 days

Future Enhancements