How frankbria/saas-marketing-engine works
SME turns a finished SaaS product into an operated marketing and monetization system. An operator creates and configures a product, reviews AI-generated strategy, completes setup and pre-launch QA, then the engine builds its site and generates, publishes, and measures marketing content. The dashboard exposes the private operator workflow; public funnel endpoints support customer conversion. The graph includes documented but unsampled capabilities at their existing module paths. Relationships for those branches are limited to README statements; source excerpts and the index provide stronger evidence for the API mounting, job execution, strategy review, and media dispatch paths.
Main entry points: private Private dashboard API · main.py FastAPI app · crank.py Content orchestration · page.tsx Product workspace
Components 28
Operator dashboard
- Product workspace
dashboard/app/products/[id]/page.tsx - Strategy review
dashboard/app/products/[id]/strategy-review.tsx - Dashboard API client
dashboard/lib/api.ts
API and orchestration
- FastAPI app
backend/app/main.py - Private dashboard API
backend/app/api/private - Public funnel API
backend/app/api/public - Job worker
backend/app/worker.py - Job scheduler
backend/app/scheduler.py
Strategy and launch
- Product strategy
backend/app/modules/strategy - AI generation
backend/app/ai/client.py - Landing site setup
backend/app/modules/setup/site.py - Channel setup
backend/app/modules/setup/channels.py - Payment setup
backend/app/modules/setup/stripe_setup.py - Launch QA
backend/app/modules/qa/checklist.py - Conversion funnel
backend/app/api/public/funnel.py
Content operations
- Content orchestration
backend/app/modules/crank/crank.py - Content generation
backend/app/modules/crank/generate.py - Publishing channels
backend/app/channels/base.py - Media rendering
backend/app/modules/media/tasks.py - Funnel and reach metrics
backend/app/modules/metrics - Operations alerts
backend/app/modules/heartbeat.py
State and integrations
- Application database
backend/app/db.py - Domain records
backend/app/models - Celery media queue
backend/app/celery_app.py
Other components
- Operator
- Funnel visitor
- Stripe
- Email service
Connections 27
- Operator → Product workspace: operates
README.md - Product workspace → Dashboard API client: loads product data
dashboard/app/products/[id]/page.tsx - Strategy review → Dashboard API client: saves and approves
dashboard/app/products/[id]/strategy-review.tsx - Product workspace → Strategy review: renders
dashboard/app/products/[id]/page.tsx - Dashboard API client → Private dashboard API: calls
README.md - FastAPI app → Private dashboard API: mounts
backend/app/main.py - FastAPI app → Public funnel API: mounts
backend/app/main.py - Job scheduler → Job worker: runs jobs
- FastAPI app → Job scheduler: starts
backend/app/main.py - Private dashboard API → Product strategy: requests strategy
- Product strategy → AI generation: generates briefs
- Private dashboard API → Landing site setup: requests site setup
- Private dashboard API → Channel setup: requests channel setup
- Private dashboard API → Payment setup: requests payment setup
- Private dashboard API → Launch QA: manages QA
- Funnel visitor → Conversion funnel: visits
README.md - Conversion funnel → Stripe: supports payment
- Job worker → Content orchestration: dispatches registered handler
backend/app/modules/crank/crank.py - Content orchestration → Content generation: generates content
- Content orchestration → Publishing channels: publishes content
- Content orchestration → Media rendering: dispatches renders
- Media rendering → Celery media queue: submits media tasks
backend/app/modules/media/tasks.py - Conversion funnel → Funnel and reach metrics: records funnel activity
- Operations alerts → Email service: sends alerts
- Job worker → Domain records: reads and updates jobs
backend/app/worker.py - FastAPI app → Application database: initializes
backend/app/main.py - Domain records → Application database: persists records