a factory ERP that lives in WhatsApp
Donna
Everyone at the factory already lives on WhatsApp, so that's where I put the ERP. Staff type or send a voice note, and the system does the bookkeeping.
- Client
- Donna Hygiene (Shasari Healthcare)
- When
- Working together since Feb 2026. The bot has been live since Aug 2026
- My role
- I built it end to end
- Status
- Live
- Stack
- WhatsApp Cloud API, GPT-4o, Sarvam, Gemini, n8n, PostgreSQL, Cloudflare, Razorpay
What it does
- Quotations are created and edited by text or voice.
- Each quote comes back as a GST quote PDF with a "Make it a sale" button.
- Supplier bills are posted from a photo.
- Marketplace labels are filed.
- The owner gets a WhatsApp alert whenever a sale is edited or deleted.
The sketch
The napkin version. Scroll and it draws itself.
- Everyone at the factory already lives on WhatsApp, so that's where I put the ERP.
- Staff type a message, send a voice note or snap a supplier bill.
- AI reads it: Sarvam transcribes voice and GPT-4o extracts bills.
- A dashed line splits reading from deciding. AI never crosses it.
- Plain code decides, asks with buttons, and posts quotes, sales and bills to the books.
- A GST quote PDF comes back in the chat with a 'Make it a sale' button.
- If a sale is edited or deleted, the owner's phone gets an alert.
Decisions
AI reads, code decides.
GPT-4o extracts bills and Sarvam transcribes voice, with Gemini as fallback. Every posting decision is plain code.
Closed questions only.
The bot asks with buttons and lists, never open text, so nothing ambiguous reaches the books.
An alarm for the owner.
Any edit or delete on a sale pings the owner. It's cheap anti-fraud.
What broke
My VPS got blocked at the ISP level (Excitel). Moving donnahygiene.com behind Cloudflare's proxy fixed it.
The bigger system
The bot is one part. Around it:
- Donna CMS is designed, not built yet.
- It's an event-sourced inventory ledger: every change is a new row, with a two-stage BOM, job-work tracking and GST compliance.
- I wrote its 1,100+ line PRD solo, to replace Tally.
Donna CMS (designed)
An event-sourced inventory ledger, two-stage BOM, job-work tracking and GST compliance, from a 1,100+ line PRD I wrote solo to replace Tally.
- Leads arrive by webhook from IndiaMART and from JustDial.
- n8n merges the two.
- They land in one Postgres schema.
Lead engine
IndiaMART and JustDial webhooks merged into one Postgres schema with n8n.
- Around the bot sits the plumbing.
- WhatsApp Cloud API direct, Razorpay onboarding and a Google Workspace move off Titan and GoDaddy.
- Cloudflare DNS and proxy, a D2C storefront on Coolify, and a Meesho seller analytics pipeline.
Plumbing
WhatsApp Cloud API direct, Razorpay onboarding, Google Workspace migration off Titan/GoDaddy, Cloudflare DNS and proxy, a D2C storefront on Coolify, and a Meesho seller analytics pipeline.
Numbers
- ~₹1.5L ad spend caught
- 1,100+ line PRD
- live since Aug 2026
Once the money flow was visible, the owner spotted about ₹1.5L burned on ads and stopped it.