Phase 2 part 3: buying signals, the funnel and the scorecard

Schema 7 adds signals (hypothesis, how to spot it, angle, status, utm
slug), funnel_events (stage, channel, subject, campaign, source, deduped
by external ID) and outside_campaigns. Prospects -> Signals is the
scorecard: each signal's funnel from found to paid, people once per
stage, with revenue and outside spend, by period and channel. Each
signal's page shows its funnel by channel, its campaigns and its latest
steps. Prospects carry a signal (filter, change, "found" recorded) and
outcomes can be recorded by hand.

Settings -> Lead sources holds origami.chat and explee.com API keys. Every
6 hours (or Import now) Supermarket reads their campaigns, numbers and
spend, contacted people, replies and hot leads, read-only: interested
people and repliers become prospects, unsubscribes are suppressed, and
each campaign is assigned to a signal. The explee.com client follows its
OpenAPI schema; origami.chat's responses are undocumented, so its client
reads fields loosely and its Test shows the real response.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 18:06:58 -07:00
co-authored by Claude Opus 5.5
parent ee579ec9f4
commit b025a97e4a
27 changed files with 3031 additions and 53 deletions
+9
View File
@@ -65,6 +65,15 @@
}
});
// A select with data-autosubmit sends its form when it changes (inline
// handlers aren't allowed by the page's Content-Security-Policy).
document.addEventListener("change", function (e) {
var el = e.target;
if (el.hasAttribute && el.hasAttribute("data-autosubmit") && el.form) {
if (el.form.requestSubmit) el.form.requestSubmit(); else el.form.submit();
}
});
// Ask before submitting a form with data-confirm. A form with data-busy
// shows that text on the button that submitted it, and can't be sent twice,
// while a slow request (fetching, writing, publishing) runs. With