RentDesk
An AI-powered WhatsApp assistant that automates rental bookkeeping, records tenant payments directly into Google Sheets, and answers tenant balance queries in real time.
The Problem Context
Landlords and property operators waste countless hours fielding repetitive WhatsApp messages from tenants ('What is my current balance?', 'Did you get my transfer?'), while manually copying unstructured payment screenshots or text notes into spreadsheet ledgers.
- ›Incoming WhatsApp messages are messy, colloquial, and prone to ambiguous phrasing (e.g., 'sent 25k for last month and electricity').
- ›Spreadsheet writes must be strictly idempotent to avoid duplicate ledger entries if a webhook retries or a tenant sends duplicate confirmations.
- ›Tenant phone numbers must reliably map to property and unit records without exposing private tenant information.
Engineering Architecture
Built RentDesk: an automated WhatsApp assistant that intercepts inbound tenant messages, extracts structured transaction metadata via LLM schema validation, queries or updates real-time Google Sheets ledgers, and responds conversationally with precise balance statements.
Execution Sequence:
Interactive Architecture & Data Flow
Bi-directional WhatsApp automation pipeline linking real-time conversational AI to audited Google Sheets ledgers.
Tenant sends natural language query or payment notice.
Payload validated and dispatched to Python backend.
Extracts structured entity schemas (amount, date, unit, intent).
Queries tenant records, checks balance, appends payment row.
Calculates updated ledger totals and flags outstanding dues.
Sends immediate conversational verification and receipt.
Key Technical Challenges
Interpreting Unstructured Payment Notices
Problem:Tenants use colloquial expressions, misspellings, and mixed currencies.
Preventing Accidental Duplicate Writes
Problem:WhatsApp webhooks can trigger retries upon network hiccups, threatening duplicate financial credits.
Maintaining Contextual Multi-Turn Dialogues
Problem:A tenant might say 'Here is my rent' and then send the transaction receipt screenshot two minutes later.
Verified Technology Stack
Design Decisions & Rationales
Google Sheets as Primary Ledger Storage
Allowed property managers to retain full manual oversight, filtering, and spreadsheet formulas without forcing them onto an unfamiliar proprietary dashboard.
Defensive Parsing with Clarification Fallbacks
Financial data cannot tolerate hallucinations. If an extracted amount has ambiguity, the agent immediately prompts the tenant for confirmation.
Technical Results
- ✓Eliminated manual payment copy-pasting by logging tenant payments straight to Google Sheets.
- ✓Automated real-time tenant balance lookups directly within WhatsApp.
- ✓Built idempotent write pipelines safeguarding against duplicate ledger records.
Lessons Learned
- •Conversational UI succeeds when users do not have to learn commands — letting tenants speak naturally while enforcing rigid backend data schemas.
Future Improvements
- •Integrate OCR receipt image parsing to extract transaction IDs directly from banking screenshots.
- •Add automated monthly rent reminder triggers based on due-date calculations in the sheet.