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
+14 -1
View File
@@ -560,7 +560,20 @@ data. Each becomes an adapter behind a `leadsource` interface.
3. **Signals and the funnel**: the signal library, tagging prospects with
a signal, the funnel-event log, the scorecard (with what exists so far),
and importing origami.chat and explee.com results through their APIs,
so the scorecard starts with real data.
so the scorecard starts with real data. **Built 2026-11-21**
(schema 7): `signals` (library, statuses, utm slug), `funnel_events`
(stage, channel, subject, email, campaign, source, external ID for
dedupe, count, value), `outside_campaigns` (assigned to a signal by the
user), the Signals scorecard (period and channel filters, people once
per stage, revenue, spend), the signal page (funnel by channel,
campaigns, latest steps), prospects tagged with a signal (filter, change,
"found" recorded), outcomes recorded by hand on prospects, and Settings
→ Lead sources. The explee.com import follows its typed OpenAPI schema
(campaigns, analytics, contacted leads, hot leads); the origami.chat
import reads loose JSON by the names in its docs (campaigns, stats,
enrolled people, replies) and its Test button shows the real responses,
to confirm with the user's key. Webhooks need a public address, so both
are polled every 6 hours.
4. **Discovery per signal**: saved Claude web searches belonging to a
signal, run on a schedule, each prospect with its citation; explee.com
company search as a second source.