Funnel Intelligence OS
A private operating system that connects customer truth, funnel strategy, scripts, assets, Meta delivery, CRM revenue, experiments, and evidence-backed memory.
Executive decision
Build an evidence graph, not another idea folder.
Truffle Nation already has most of the machinery. The missing product is the relationship layer that joins what the team knows, what it launches, what happened, why the evidence supports a conclusion, and what should be tested next.
Every durable learning must point to the exact ICP, offer version, angle, creative version, landing-page version, campaign, date range, spend, and CRM result that supports it.
What the system stores
- ICPs, pains, desires, beliefs, objections, mechanisms, and proof.
- Funnels, campaigns, experiments, concepts, hooks, scripts, pages, creatives, and assets.
- Meta facts, CRM stages, payments, revenue, learnings, and decisions.
What makes it different
- Exact versions and IDs instead of filenames and memory.
- Revenue truth beside platform attribution.
- Controlled-test labels and confidence instead of “this felt like a winner.”
What exists now
Reuse the working parts and remove the duplicate truth.
tn-winning-angles.Its production engines are useful, but separate campaign and performance storage would force the team to reconcile two databases forever. Shared APIs let it keep generating copy, pages, and creatives while CRM/Funnel Intelligence owns identity, versions, and results.
Product and data model
Strategy, execution, measurement, and memory stay distinct but connected.
Customer + offer
Product, offer version, ICP, pain, desire, belief, objection, mechanism, and proof.
Plan + test
Funnel template, live instance, campaign brief, hypothesis, control, and variants.
Produce exact versions
Concept, angle, hook, script version, copy, page version, creative, and asset checksum.
Measure
Meta campaign/ad-set/ad/creative IDs, daily facts, page events, CRM stages, payments, and revenue.
Learn + decide
Evidence bundle, confidence, counterevidence, conclusion, owner, and next action.
| Layer | Core records | Purpose |
|---|---|---|
| Strategy | Brand, product, offer version, ICP, insight, mechanism, proof | Approved reusable context |
| Funnel | Template, instance, stage, campaign, platform object | Separate machinery from one launch |
| Ideas | Experiment, arm, concept, angle, hook, topic | Make ideas falsifiable |
| Content | Script/version, copy, creative, asset/version, page/version | Attach exact material to results |
| Facts | Sync run, raw payload, performance fact, CRM event, metric definition | Auditable shared numbers |
| Memory | Evidence, learning, decision, annotation, data issue | Preserve conclusions and uncertainty |
A single creative can belong to an Online product, ₹49 paid-webinar offer, already-selling baker ICP, testimonial proof type, problem-aware audience, evergreen funnel, and three campaigns. Store these as facets and relationships rather than forcing one folder hierarchy.
Memory and AI
Chat history is not company memory.
Evidence + identity
Raw Meta responses, CRM events, customer answers, files, transcripts, and page snapshots connected to normalized products, ICPs, offers, campaigns, scripts, pages, assets, and IDs.
Meaning + action
Saved comparison cohorts become evidence bundles. Human-approved claims become learnings with confidence, counterevidence, expiry, decisions, and review dates.
- Customer tension and desired outcome.
- Belief to change, mechanism, proof, angle thesis, and hooks.
- Recommended format and funnel stage.
- Historical analogues and semantic-similarity score.
- Novelty explanation, required assets, risks, hypothesis, and primary metric.
Use proven, directional, anecdotal, disputed, expired, and insufficient data. Each status must be tied to the test design, spend/sample floor, confounders, and counterevidence.
Meta, CRM, and attribution
The token grants access. The database creates history.
The Meta access token does not contain historical performance. It authorizes Insights requests. The system must pull, store, refresh, normalize, map, and reconcile that data.
Secure connection
Server-side token, minimum scopes, expiry and permission health. Never send tokens to the browser.
Raw + normalized storage
Append-only payload audit plus daily facts by remote ID, date, metric, attribution window, and breakdown.
Rolling refresh
Re-fetch the last 28 days so late conversions and attribution changes update old results.
CRM reconciliation
Show Meta actions/value beside qualified leads, bookings, attendance, enrollment, payments, revenue, and refunds.
TN_{product}_{offer}_{funnel}_{icp}_{angle}_{concept}_{format}_{version}_{date}
utm_source=meta
utm_medium=paid_social
utm_campaign=<internal_campaign_slug>
utm_content=<experiment_arm_slug>
utm_term=<creative_slug>
tn_funnel_id=<uuid>
tn_creative_id=<uuid>
tn_page_version=<version>
Analysis views
One dashboard cannot answer every decision.
Executive
Spend, CRM revenue, CAC, ROAS, qualified rate, close rate by product, offer, ICP, and funnel.
Funnel diagnostic
Impression → engagement → click → page → lead → qualified → booked → showed → purchased.
Creative matrix
Concept, angle, hook, proof, format, language, awareness, volume, efficiency, and fatigue.
Experiment board
Hypothesis, control, variants, allocation, primary metric, guardrails, result, and decision.
Asset performance
Every place a script, page, or creative version ran and its downstream business result.
Learning + quality
Claims, evidence, stale review queue, token health, missing mappings, broken links, and reconciliation gaps.
The analysis should state the observed difference, comparison cohort, confounders, whether the test was controlled, spend/sample, confidence, supporting and contradicting evidence, and the next falsifying test. It should not invent a single causal story from correlated metrics.
Architecture choice
Extend the CRM. Do not start greenfield.
A. CRM module
New routes, Prisma models, shared APIs, object storage, and a resumable worker inside the existing production system.
- Fastest path to revenue truth.
- Reuses auth, roles, analytics, cron, and deployment.
- Ad Generator becomes a production client.
B. Standalone app
Clean boundary, but creates a second identity, auth, permissions, data join, and deployment surface. Use only if this becomes an independent multi-brand SaaS.
C. Airtable / Notion
Fine for temporary inventory. Weak for high-volume facts, versioning, token security, historical backfills, and evidence-linked analysis.
Shared VPS deployment
Reuse the server pattern without mixing public and private surfaces.
The target VPS already runs Nginx, PM2, PostgreSQL 16, Redis, the Truffle CRM, the Ad Generator, and the static Explainer Hub. The plan should use what is there.
| Component | Recommended location | Rule |
|---|---|---|
| Private UI + API | crm.bakebetterapps.com/funnel-intelligence | Reuse CRM login and permissions. |
| App process | Existing CRM process behind Nginx | No extra process until isolation is useful. |
| Database | Dedicated Postgres DB/schema and role on localhost | Least privilege; never expose publicly. |
| Worker | Separate PM2 process using Redis or Postgres jobs | Resumable, idempotent, observable. |
| Files | External object storage | Do not turn the VPS disk into the permanent DAM. |
| Public brief | explain.bakebetterapps.com | No tokens, PII, private links, or live performance. |
| Backups | Encrypted off-VPS destination | Same-server backup is not disaster recovery. |
If release cadence, load, or multi-brand scope later requires isolation, Nginx can expose funnels.bakebetterapps.com and proxy to a dedicated process. The shared database identity and API contracts should remain stable.
The 30-day MVP
The smallest valuable version is identity plus evidence.
First corpus: the proven Online paid-webinar funnel
Import ten known campaigns, their exact Meta IDs, offer and ICP, angles, ads, page versions, CRM payments, and the current winning-angle conclusions. Make this one slice trustworthy before scaling scope.
Release roadmap
Seven releases, each with a testable exit.
Lock terminology, metric formulas, UTM/naming contract, source inventory, Postgres/object-storage choices, backup, and rollback. Exit: classify ten campaigns without ambiguity.
Products, offer versions, ICPs, insights, mechanisms, proof, taxonomy, search, roles, audit, and first learning import. Exit: assemble a complete brief in under ten minutes.
Templates, instances, stages, campaigns, concepts, angles, hooks, scripts, files, pages, immutable versions, checksums, and Ad Generator shared APIs. Exit: one connected launch.
Raw sync runs, normalized facts, jobs, retries, health, rolling refresh, backfill, and platform mapping. Exit: 95% of active spend mapped.
Join delivery, page versions, CRM stages, payments, revenue, reconciliation, funnel diagnostics, and evidence bundles. Exit: explain the main funnel leak and open exact assets.
Hypotheses, arms, stopping rules, annotations, won/lost/inconclusive results, counterevidence, learning approval, and review dates. Exit: every test creates reusable memory.
Cited ideation, historical analogues, duplicate detection, prompt/model history, controlled backfill, data-quality monitoring, restore drill, training, and cutover. Exit: two consecutive weekly reviews run in the system.
Risks and success measures
Make trust measurable.
| Failure | Rescue |
|---|---|
| Meta names change | Join on remote IDs and internal mappings. |
| Page changes mid-campaign | Immutable version, checksum, screenshot, and effective dates. |
| Token expires | Health checks, alerting, resumable backfill. |
| Late conversions change results | Rolling 28-day refresh and data-freshness label. |
| Low-spend ad appears to win | Spend/sample floor and insufficient-data state. |
| AI invents a causal reason | Citations, counterevidence, confidence, human approval. |
| Asset link rots | Canonical object storage, checksums, and link checks. |
| SQLite hits fact-table scale | Postgres before historical backfill. |
The first assignment
Resolve taxonomy before building screens.
Run a 90-minute campaign taxonomy workshop.
Bring the founder, media buyer, copy lead, and CRM owner, plus ten recent campaigns. For each campaign, agree on the product, offer version, ICP, funnel, angle, concept, creative, page version, primary outcome, and final business result. Every field the team cannot name consistently becomes a required Release 0 decision.