Introducing a new way to review your PRs.

Read the announcement

frappe / crm

Fully featured, open source CRM

View on GitHub

24 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Frappe CRM knowledge base

Orientation

Frappe CRM is a Frappe application with a Vue single-page client. It manages CRM records, customer-facing communications, scheduling, enrichment, external synchronization, and workflow automation.

Backend behavior lives in Python API modules and Frappe DocType controllers under crm/; persisted product configuration is primarily expressed through DocType definitions, fixtures, hooks, and patches. The client application lives under frontend/src/, where routing, shared state, record views, and operational workspaces are composed.

Critical CRM state is persisted in Frappe DocTypes: customer records and their relationships, activities and communications, configuration records, automation definitions, bookings, and integration synchronization data.

System architecture

flowchart LR
  User[CRM user] --> Vue[Vue client]
  PublicUser[Public booking visitor] --> BookingUI[Public booking routes]
  Vue --> Router[frontend router]
  Router --> Views[Record and workspace views]
  Vue --> API[CRM API modules]
  BookingUI --> API
  API --> Frappe[Frappe application layer]
  Frappe --> DocTypes[CRM DocTypes]
  DocTypes --> DB[(Frappe database)]
  Frappe --> Events[Events and notifications]
  Frappe --> Workflows[Workflow automation]
  Frappe --> Enrichment[Domain enrichment]
  Frappe --> Integrations[ERPNext and lead sources]
  Events --> Vue

Glossary

  • DocType — Frappe’s metadata-defined persisted record type and its controller behavior.
  • CRM record — A customer-facing business record such as a contact, organization, lead, or deal.
  • FCRM — The CRM DocType namespace under crm/fcrm/.
  • Booking page — A configured host and availability surface used to collect public meeting bookings.
  • Enrichment — Discovery and mapping of company information from a domain or website into CRM records.

Codebase-wide invariants

  • Server-persisted CRM behavior is modeled through Frappe DocTypes and controllers; evidence: crm/fcrm/doctype/**.
  • The client’s navigable application surface is centralized through the Vue router; evidence: frontend/…/router.js.
  • Client-to-server operations use backend API modules rather than direct database access from the client; evidence: crm/api/** and frontend/src/**.
  • Product configuration and migration behavior are versioned in application code; evidence: crm/hooks.py, crm/patches.txt, and crm/patches/**.

Routing table