Case File 08 / 21 · Distribution & Supply Chain
MaterialFlow: WhatsApp-first order operations for distributors
Run your warehouse like a conversation
- Our role
- Full-Stack Platform Engineering
- Industry
- Distribution & Supply Chain
- Outcome
- An order goes from a WhatsApp message to a packed, dispatched and confirmed delivery without being retyped.
The engagement
What MaterialFlow needed
MaterialFlow is WhatsApp-first order operations for distributors of interior materials such as laminates, plywood, boards, hardware and adhesives. Retailers keep ordering the way they always have, by sending a message. AI turns the message into a structured order, staff review it, the godown packs it, dispatch delivers it, and the confirmation goes back into the same WhatsApp thread. Rootlex built the platform end to end: web, Android, iOS and Windows apps, the backend, and the AI extraction pipeline.
What we built
- Order intake from WhatsApp text, photos, PDFs and voice notes, turned into structured orders by AI.
- A review desk, a godown packing board and a dispatch flow that share one order record.
- Inventory across several godowns, billing, purchase orders and returns.
- Invoices posted to Zoho Books and Tally.
- Web, Android, iOS and Windows apps on one backend.
Impact
An order goes from a WhatsApp message to a packed, dispatched and confirmed delivery without being retyped.
The challenge
Why it had to be built
Distributors of interior materials receive their orders as WhatsApp messages: typed text in a mix of Hindi and English, photos of handwritten lists, PDFs and voice notes. Staff retype each one into a sheet, the godown packs without a clear picture of what was asked for, and the owner cannot see where any order stands. MaterialFlow runs that whole chain in one system without asking retailers to change anything. They still just send a message.
Who uses it
- Retailers
- Order and receive confirmations on WhatsApp. They never install or learn anything.
- Order desk
- Review what the AI extracted next to the original message, correct it and approve it.
- Godown team
- Pack from a phone-sized checklist and record what was short, substituted or damaged.
- Dispatch and drivers
- Assign vehicles, print loading slips, deliver and confirm.
- Accounts and security
- Verify bills and, where it is switched on, clear stock before it leaves.
- Owners and admins
- Follow every order, stock level and report in one place.
Inside the product
What MaterialFlow does
01
Intake in any format
Text, images, PDFs and voice notes arrive from WhatsApp. Media is stored as it arrives and voice notes are transcribed.
02
AI order extraction
Messages in Hinglish and trade slang are parsed into line items, each with its own confidence score.
03
Product matching that learns
Items are matched against the product master by known alias, then by fuzzy scoring, then by AI. Every correction staff make is saved as a new alias.
04
Review by confidence
High-confidence orders are approved automatically and the rest go to a side-by-side review screen. Likely duplicates are flagged, never cancelled automatically.
05
Team inbox
A chat-style inbox that updates in real time, with AI-drafted clarification messages and one-step order drafts from a message.
06
Godown packing board
A phone checklist that marks each item packed, partial, unavailable, substituted or damaged.
07
Dispatch
Vehicle, driver, boxes and bundles, a printable loading slip, partial shipments, and an automatic confirmation sent back on WhatsApp.
08
Delivery tracking
Live driver location, route and estimated arrival for the distributor's own deliveries.
09
Inventory
Stock across several godowns with batches, goods-received notes read from uploaded documents, and stock transfers.
10
Billing and accounting
A bill for each shipment with attachments and accountant verification, posted to Zoho Books or Tally.
11
Procurement, returns and pricing
Purchase orders, sales returns and retailer-specific price lists.
12
Reports and audit trail
A dashboard, saved views, Excel export and a permanent timeline of every change on each order.
Under the hood
How it is engineered
- Swappable providers
- AI, WhatsApp, storage and transcription each sit behind an adapter, so a provider can be changed by configuration, not by rewriting code.
- An ordered extraction queue
- Messages are processed by a dedicated worker from a queue keyed by conversation, so one retailer's messages are always handled in order.
- Webhooks that fail closed
- Incoming messages are signature-verified and deduplicated, and are refused outright if the signing secret is missing.
- One state machine for every order
- Every status change passes through a single role-checked state machine that writes to the audit log.
- AI behaviour tested like code
- An evaluation suite replays real-shaped conversations through the pipeline and scores the results, so a model or prompt change is checked before release.
- Accounting sync that cannot double-post
- Invoice posting is idempotent, runs outside the billing transaction, and has a scheduled retry. Accounting credentials are encrypted at rest.
- Deep test coverage
- Backend unit and integration tests plus end-to-end browser tests run in the pipeline before each deploy.
More case files
Other partnerships
- FinTechTwigTradeMulti-broker trading platform
- Media & AIThe SpiceAI podcast intelligence platform
- Retail & E-commerceHinchLuxury interiors e-commerce platform
- Manufacturing & IoTASACOSmart-factory platform for CNC manufacturing
- Devotional & MediaEkamDaily devotional app in nine Indian languages
- Creator ToolsSwishPhoto and video editor that animates by touch
- Consumer AppsLumaPrivate, on-device storage cleaner for iPhone
- HealthcareBhavishya BharatOffline-first hospital management
- EV ChargingVega ChargeQR-and-UPI software for walk-up EV charging
- HealthcareQatalysClinical care platform for residential care centres
- HealthcareMediMindHospital management system with ABDM integration
- IT ServicesCloud QuestEngineering partner for an AI and IT staffing firm
- IT & Life Sciences StaffingAlice ConsultingEngineering partner for a life sciences firm
- IT Staffing & ConsultingTekBluEngineering partner for an IT consulting firm
- EducationPenguin TotsPrintable worksheet store for kids
- IT Services & Software EngineeringQuadSoftEngineering partner for a software engineering firm
- Electronics ManufacturingVelosys ElectronicsEngineering partner for an electronics maker
- Enterprise Software ConsultingBNS InternationalEngineering partner for a software consultancy
- Events & HospitalityVRC ConventionEngineering partner for a convention venue
- Media & AILucidreamAgentic podcast clipping and distribution
Forward Deployed Engineering
Embedded with MaterialFlow, not working at arm's length
Rootlex engagements are run by forward deployed engineers (FDEs) who join the client's team, learn the business first-hand, and own the platform in production.
- Embedded in your team: your repos, tools, channels and stand-ups
- Accountable for the outcome in production, not just the code
- Backed by our AI, cloud, embedded and security practices
Get in touch
Planning something similar?
Tell us where you’re headed — we’ll bring the architecture, the team, and the partnership to get there.
