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/**andfrontend/src/**. - Product configuration and migration behavior are versioned in application code; evidence: crm/hooks.py, crm/patches.txt, and
crm/patches/**.
Routing table
crm/fcrm/doctype/{crm_contact,crm_organization}/**-> docs/contacts-and-organizations.mdcrm/fcrm/doctype/{crm_lead,crm_deal}/**-> docs/lead-and-deal-lifecycle.mdcrm/fcrm/doctype/{crm_activity,crm_note,crm_task,crm_assignment}/**-> docs/record-productivity-workflows.mdcrm/fcrm/doctype/{crm_contact,crm_organization,crm_lead,crm_deal}/**-> docs/crm-record-management.mdfrontend/src/{main.js,App.vue,router.js}-> docs/crm-client-application.mdfrontend/src/{components/layout/**,stores/**,router.js}-> docs/client-shell-and-navigation.mdfrontend/src/{components/List/**,components/Kanban/**,pages/**}-> docs/client-record-views.mdfrontend/src/{components/Dashboard/**,components/Workspace/**,pages/**}-> docs/dashboards-and-workspaces.mdcrm/{api/**,hooks.py,events.py}-> docs/crm-service-platform.mdcrm/api/**-> docs/api-and-event-services.mdcrm/{fcrm/doctype/**,fixtures/**,patches/**,patches.txt,hooks.py}-> docs/crm-configuration-and-metadata.mdcrm/fcrm/doctype/{crm_communication,crm_activity,crm_notification_log}/**-> docs/activities-and-notifications.mdcrm/fcrm/doctype/{crm_communication,crm_activity,crm_call_log}/**-> docs/customer-communications.mdcrm/fcrm/doctype/{crm_call_log,crm_telephony_agent,crm_phone}/**-> docs/telephony-integrations.mdcrm/{enrichment/**,fcrm/doctype/*enrichment*/**}-> docs/domain-enrichment.mdcrm/{enrichment/**,fcrm/doctype/*enrichment*/**}-> docs/enrichment-pipeline-and-rules.mdcrm/{integrations/**,fcrm/doctype/*sync*/**}-> docs/external-business-integrations.mdcrm/{integrations/erpnext/**,fcrm/doctype/*erpnext*/**}-> docs/erpnext-synchronization.mdcrm/{integrations/**,fcrm/doctype/*lead*source*/**}-> docs/lead-source-synchronization.mdcrm/{workflow/**,fcrm/doctype/*workflow*/**}-> docs/workflow-automation.mdfrontend/src/{pages/**,components/**}-> docs/workflow-automation-designer.mdcrm/fcrm/doctype/{crm_booking,crm_booking_page,crm_booking_host}/**-> docs/booking-and-scheduling.mdcrm/{www/**,fcrm/doctype/{crm_booking,crm_booking_page,crm_booking_host}/**}-> docs/booking-pages-and-public-scheduling.md