
LOOM CRM: Multi-tenant CRM with Microsoft 365 Sync
Rebuilt from scratch in about three months: a multi-tenant CRM with 76 pages, 91 API routes and 135 automated test files, live for the client and forked as LOOM's own pipeline, where a won deal automatically opens a delivery project.
Project Metadata
- CategorySaaS Platform / Cloud
- ClientWilson & Cole Developments / LOOM
- My roleFounder & Lead Engineer
- PeriodAug – Nov 2026
- Livecrm.loombranddesigns.com
Key Facts
- Pages / API routes
- 76 / 91
- Automated test files
- 135
- Integrations
- Microsoft 365, Gemini, Xero, MCP
- Deployments
- Client workspace + LOOM agency fork
Core Components
The Challenge
The client's sales team lived in Outlook. A CRM that needed manual logging would not be used, so mail and calendar sync had to be reliable per user, replies had to find the right record, and follow-ups had to stop when a customer answered.
Business Objectives
Solution Design
"Give a UK construction developer a CRM that fits how they actually sell (enquiries, site visits, quotes, jobs), with every email and meeting landing on the right record, and then reuse the same codebase as LOOM's own agency CRM."
Security & Scale
Multi-tenant from the first commit: every workspace has its own fields, pipelines and roles (owner, admin, member, viewer). The browser never talks to Firestore directly; all access goes through server routes behind an HttpOnly session cookie, with an audit log on changes.
Results
Live for the client and for LOOM. About 365 commits by me between August and November 2026, on a codebase of roughly 136,000 lines of TypeScript with 135 test files.