How We Built a Multi-Property Occupancy Ledger and WhatsApp AI Assistant for Room-Based Housing The team behind PulseHub, an accommodation management platform for HMOs, student housing, co-living spaces and hostels, built a bed-level occupancy ledger that models availability as date-bounded allocation intervals rather than a simple occupied/available flag, plus an immutable Resident Timeline event log kept separate from the payments ledger. The company also deployed Ask Pulse, a WhatsApp-based conversational assistant that queries scoped tenant data through strict tool-calling with role-based access controls. The team published a free open-source resident move-in and room turnover checklist for smaller landlords. Traditional property management software assumes a simple 1:1 relationship: one lease, one apartment, one monthly invoice. When we started building PulseHub https://yourpulse.io , an accommodation management platform for HMOs, student housing, co-living spaces, and hostels, we quickly realized that standard real estate data models fall apart in room-based operations. In a student hall or hostel, a single room has multiple beds, residents move mid-month, shared utilities get split dynamically, and managers run daily operations from their phones rather than a desktop dashboard. Here is a look at the core architectural decisions we made to handle bed-level occupancy, audit trails, and conversational workflows. In multi-bed accommodations, availability is time-bound and hierarchical: Property → Floor/Unit → Room → Bed . Instead of storing a simple status: "occupied" | "available" boolean on a room or bed, we modeled occupancy as date-bounded allocation intervals. A bed's availability for any target window startDate, endDate is computed by checking for overlapping active allocations: SELECT b.id, b.label FROM beds b WHERE b.room id = \$1 AND NOT EXISTS SELECT 1 FROM bed allocations a WHERE a.bed id = b.id AND a.status IN 'active', 'reserved' AND a.start date < \$3 -- requested end date AND a.end date IS NULL OR a.end date \$2 -- requested start date ; When a tenant disputes a security deposit deduction six months after moving in, reconstructing their history from separate payment tables, maintenance tickets, and chat logs is painful. To solve this, every state-changing action in PulseHub's accommodation management software https://yourpulse.io appends an immutable event to a unified Resident Timeline : type TimelineEventType = | 'ADMISSION CREATED' | 'BED ASSIGNED' | 'ROOM CHANGED' | 'CHARGE POSTED' | 'PAYMENT RECORDED' | 'DEPOSIT HELD' | 'DEPOSIT REFUNDED' | 'COMPLAINT LOGGED'; interface ResidentTimelineEvent { id: string; residentId: string; propertyId: string; type: TimelineEventType; occurredAt: string; actorId: string; metadata: Record