How clawnify/opendealflow works
OpenDealflow is a self-hosted venture CRM. Investors manage companies and people, track deals through configurable VC stages, and use relationship paths and activity history to inform follow-up. The browser app routes users to CRM views; shared client state calls the REST API, which handles persistence and domain operations. Import, custom attributes, and connected email/calendar/Slack workflows extend the core. Some server routes are unsampled, so those capabilities and their links are included only where documented in the README or visible in the excerpts.
Main entry points: app.tsx Application shell · use-crm.ts CRM state · index.ts REST API · integrations.ts Integration actions
Components 17
CRM client
- Application shell
src/client/app.tsx - Path router
src/client/hooks/use-router.ts - CRM state
src/client/hooks/use-crm.ts - API client
src/client/api.ts
Dealflow workflows
- People and network
src/client/components/contacts/contact-detail.tsx - Company records
src/client/components/companies/companies-page.tsx - Deal pipeline
src/client/components/deals/deals-board.tsx - Attribute settings
src/client/components/properties/properties-page.tsx - Bulk import
src/client/components/import-dialog.tsx
API and data
- REST API
src/server/index.ts - CRM database
src/server/db.ts
Extensions
- Custom field registry
src/server/custom-fields.ts - Integration actions
src/server/integrations.ts
Other components
- Investor or agent
- Gmail
- Google Calendar
- Slack
Connections 21
- Investor or agent → Application shell: uses
README.md - Application shell → Path router: routes with
src/client/app.tsx - Application shell → CRM state: loads state
src/client/app.tsx - Application shell → People and network: renders
src/client/app.tsx - Application shell → Company records: renders
src/client/app.tsx - Application shell → Deal pipeline: renders
src/client/app.tsx - Application shell → Attribute settings: renders
src/client/app.tsx - CRM state → API client: calls
src/client/hooks/use-crm.ts - People and network → CRM state: uses
- Company records → CRM state: uses
- Deal pipeline → CRM state: uses
- Attribute settings → CRM state: uses
- Bulk import → CRM state: imports records
- API client → REST API: requests
README.md - REST API → CRM database: queries and writes
src/server/index.ts - REST API → Custom field registry: loads definitions
src/server/index.ts - REST API → Integration actions: dispatches actions
src/server/index.ts - Custom field registry → CRM database: syncs columns
src/server/custom-fields.ts - Integration actions → Gmail: sends email
src/server/integrations.ts - Integration actions → Google Calendar: creates events
src/server/integrations.ts - Integration actions → Slack: posts messages
src/server/integrations.ts