How bbi-shadow/multi-agent-sales-system works
SalesMind AI is an MVP sales-system foundation: a dashboard presents an initial sales-operations view, while the backend exposes health checks and lead creation/lookup backed by MongoDB. The lead path runs from API entry through the controller and service to persistence; the dashboard currently renders static cards and process text, not live lead data. README documents n8n access and prepared workflow/media locations, but says AI workflows are not implemented, so those are shown as separate infrastructure rather than an active sales pipeline. Evidence is limited to the README and indexed excerpts; deployment wiring is not inferred.
Main entry points: app.module.ts Application modules · leads.module.ts Lead module · leads.controller.ts Lead endpoints · leads.service.ts Lead operations
Components 14
Dashboard
- Sales dashboard
apps/frontend/src/app/page.tsx
Backend API
- API bootstrap
apps/backend/src/main.ts - Application modules
apps/backend/src/app.module.ts - Health endpoint
apps/backend/src/health/health.controller.ts - Health module
apps/backend/src/health/health.module.ts - Lead endpoints
apps/backend/src/modules/leads/leads.controller.ts - Lead validation DTO
apps/backend/src/modules/leads/dto/create-lead.dto.ts - Lead operations
apps/backend/src/modules/leads/leads.service.ts - Lead module
apps/backend/src/modules/leads/leads.module.ts - Lead model
apps/backend/src/modules/leads/schemas/lead.schema.ts
Data and automation
- MongoDB
- n8n automation
- Workflow and media folders
automation/n8n-workflows
Other components
- Sales operator
Connections 14
- Sales operator → Sales dashboard: views
apps/frontend/src/app/page.tsx - API bootstrap → Application modules: starts
apps/backend/src/main.ts - Application modules → Health module: registers
apps/backend/src/app.module.ts - Application modules → Lead module: registers
apps/backend/src/app.module.ts - Health module → Health endpoint: registers
apps/backend/src/health/health.module.ts - Lead endpoints → Lead operations: calls
apps/backend/src/modules/leads/leads.controller.ts - Lead endpoints → Lead validation DTO: accepts
apps/backend/src/modules/leads/leads.controller.ts - Lead operations → MongoDB: reads and writes
apps/backend/src/modules/leads/leads.service.ts - Lead module → Lead endpoints: registers
apps/backend/src/modules/leads/leads.module.ts - Lead module → Lead operations: provides
apps/backend/src/modules/leads/leads.module.ts - Lead module → Lead model: registers model
apps/backend/src/modules/leads/leads.module.ts - Application modules → MongoDB: configures connection
apps/backend/src/app.module.ts - Sales operator → n8n automation: can access
README.md - n8n automation → Workflow and media folders: workflow location
README.md