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:
@@ -94,6 +94,10 @@ Hermes' sandbox can only reach the hub once it's in `network.allowedDomains` in
|
||||
|
||||
To check the connection, open **Core & Hermes** in Supermarket and ask Hermes the question shown there. Hermes lists the hub's tools and reports them back to Supermarket, which shows when it last heard from Hermes.
|
||||
|
||||
**Buying signals (Prospects → Signals).** A signal is a guess about why a company buys now ("teams complaining about the Microsoft 365 price rise switch within a quarter"), with how to spot it, the angle for messages and content, a status (idea, testing, proven, retired) and a campaign tag used as `utm_campaign`. Every step through the funnel is recorded against a signal and a channel: found, contacted, replied, interested, booked, visited, signed up, paid. The scorecard counts each signal's funnel (people once per stage), with revenue and the outside tools' spend, by period and channel. Until Supermarket sends its own outreach, outcomes are recorded by hand on each prospect in Review.
|
||||
|
||||
**Lead sources (Settings → Lead sources).** With an API key, Supermarket reads your campaigns in origami.chat and explee.com every 6 hours (or on *Import now*): their numbers and spend, who was contacted, who replied, who was interested, and who unsubscribed. It only reads; it never starts or changes anything there. On Signals, give each campaign the signal it tests. Interested people and repliers come into Review as prospects, and unsubscribes go on the suppression list. origami.chat doesn't document its responses, so its *Test* button shows what the API actually sends.
|
||||
|
||||
**Prospects (Prospects → Review).** Companies and people who may fit your targets wait here for review; for now you add them by hand, and finding them for you comes next. Each keeps where and when it was found. Accepting a company queues an EspoCRM Account, accepting a person queues a Lead at their company, with the source, date and why they fit in the record's description. Before you decide, the page warns about records already in your CRM (as of the last sync). *Set aside* keeps a prospect out of the way; the **suppression list** (Prospects → Suppression list) holds emails and domains that must never be added, and is checked when a prospect is added and again before anything is queued.
|
||||
|
||||
**The CRM queue (Prospects → CRM queue).** What Supermarket wants in EspoCRM waits in a queue, with the exact fields and how to recognise a record that's already there. `supermarket hermes` adds a Hermes scheduled job, `supermarket-crm`, that runs every 15 minutes: it calls Supermarket's `crm_pending_actions` tool, creates each record through the hub's EspoCRM tools unless a matching one exists, and reports each result with `crm_report_result`. Every 6 hours (or when you press *Sync on the next run*) it also copies your Leads, Accounts and Contacts to Supermarket with `crm_ingest`, so Supermarket can spot people and companies you already have. Before each run, the job runs `~/.hermes/scripts/supermarket-crm-check.sh`, which prints `crm-state` from the data folder; while that hasn't changed, Hermes skips the run and uses no AI. The page shows the command to run the job now, and *Send a test Lead* checks the whole path. Failed actions can be retried or cancelled; nothing is written to your CRM that isn't in the queue.
|
||||
|
||||
Reference in New Issue
Block a user