Phase 2 part 7: the end of the funnel

Posts can be written for a buying signal: the prompt gets its hypothesis
and angle, and links carry its campaign tag. Plausible (Stats API v2) is
read once a day for visitors on tagged links, recorded per signal as
Visited. Stripe (restricted key) is read every hour: $0 checkouts are
Signed up, paid invoices and one-time payments are Paid with their value,
tied to a signal by the checkout's utm_campaign metadata or the payer's
email. The Core's Cal.com has no API, so booking emails from Cal.com in
the outreach mailbox count as Booked. New Settings → Website & sales;
the signal page lists its posts and tagged links. Schema 11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 06:42:03 -07:00
co-authored by Claude Opus 5.5
parent 90d73cf907
commit d23d5e2a87
32 changed files with 1775 additions and 26 deletions
+1
View File
@@ -88,6 +88,7 @@ func (s *Server) emailSave(w http.ResponseWriter, r *http.Request) {
DailyLimit: num("daily_limit"), GapMinutes: num("gap_minutes"), StartHour: num("start_hour"), EndHour: num("end_hour"),
Weekends: f("weekends") == "on", Footer: strings.TrimSpace(strings.ReplaceAll(f("footer"), "\r\n", "\n")),
SchedulingLink: f("scheduling_link"), SaveToSent: f("save_to_sent") == "on", ReadReplies: f("read_replies") == "on",
BookingFrom: f("booking_from"),
}
if err := outreach.Save(s.DB, set); err != nil {
s.renderEmail(w, r, set, err.Error())