/

Moto Def

DEF RETAIL · INDIA

Cashback for drivers on WhatsApp,

and a station audit that checks the sums.

Moto Def sells Diesel Exhaust Fluid through a station network that had flat footfall and no digital record of what each station sold. We built a WhatsApp cashback app: drivers photograph their DEF bill in a chat, earn 5% cashback into a wallet and cash out to UPI or bank, while station admins verify each day's shift log on a secured dashboard. No cashback is paid until a bill matches a verified log.

See the build →

5%

cashback on every verified DEF bill, paid to a wallet

0

apps for drivers to download: it all runs in WhatsApp

Every bill

matched to a verified shift log before cashback

SYSTEMS WE RUN FOR

SECTOR

SECTOR

DEF (Diesel Exhaust Fluid) retail

WHAT WE BUILT

WhatsApp automation · Integrations and apps · AI workflows and agents

RUNS ON

Wati (WhatsApp Business API), FastAPI, Celery and Redis, PostgreSQL on Supabase, React dashboard, OCR, Docker

LIVE SINCE

Phase 1, 2026

TIMELINE

Requirements, build and Phase 1 launch

OUR ROLE

Requirements, build, operator guide and ongoing care

THE STARTING POINT

How the stations ran

before the build.

Moto Def's DEF reaches drivers through a network of stations. Awareness of the product was low and footfall had stopped growing. A driver had no particular reason to come back.

A reward scheme was the obvious answer, but it brought its own problem. Paying drivers cashback means trusting every bill they claim against. There was no digital record of what each station had sold in a shift, so there was nothing to check a claimed bill against.

Station audits were done by hand: reading the day's shift log and working out whether stock pumped matched cash collected. As volume grew, so did that work.

THE SAME WORK

Before the build,

and after it.

BEFORE

By hand, every station

Reward

Nothing to bring a driver back

Bills

Paper bills, kept or thrown away

Logs

Shift logs written up and filed

Audit

Stock and cash checked by hand

Trail

No digital record as volume grew

AFTER

On the system, every station

Reward

5% cashback on every verified bill

Bills

Photographed and sent on WhatsApp

Logs

Uploaded, read by OCR, reviewed

Audit

Stock pumped reconciled to cash

Trail

Every action in an append-only log

WHAT WE BUILT

One app,

three parts.

01

Driver bot

02

Station audit

03

Wallet and payouts

Runs on a custom app

FastAPI and Supabase behind Wati. Drivers never leave WhatsApp.

01

Driver bot

Drivers register in WhatsApp, accept the terms and pick their language from a tappable list. They send a photo of each DEF bill, which is queued to be read by OCR, and can check their wallet balance, lifetime earnings and transaction history at any time.

Bill photo → queued for reading

Wati · WhatsApp Business API · OCR

02

Station audit

Station admins sign in to the web dashboard with two-factor authentication and upload the day's shift log. OCR extracts the figures, any field read with under 90% confidence is highlighted red, and a guardrail checks stock pumped against cash collected.

Shift log → verified day

React dashboard · Shift-log OCR · 2FA

03

Wallet and payouts

A driver's bill is matched against the verified shift log before cashback reaches the wallet. Payout details are encrypted and shown masked, a cash-out request can't be paid twice, and every payout waits in an admin approval queue.

Matched bill → wallet → UPI or bank

PostgreSQL · UPI and bank · Approval queue

In this build

Built as Phase 1 of the Moto Def platform.

✓ Scope signed off before build

✓ WhatsApp bot with language picker

✓ Queued OCR for bill photos

✓ 2FA admin dashboard

✓ Shift-log OCR with review

✓ Encrypted payout details

✓ Append-only audit log

✓ Owner and operator guide

HOW IT WORKS

How the app

turns a bill into cashback.

Cashback in a chat, not another app

Drivers already use WhatsApp, so the whole driver side lives there, on the WhatsApp Business API through Wati. A driver registers, accepts the terms and chooses a language: English, Malayalam, Tamil, Kannada or Hindi. Sending a bill is sending a photo, limited to three an hour per driver to keep the queue honest.

Reading bills without holding anyone up

A photo isn't read while the driver waits. It goes into a Celery and Redis queue, and a worker reads it with OCR in the background. The queue is built to hold a backlog of 1,000 images and lose nothing if a worker stops mid-job.

Matching the bill to the station's day

Cashback depends on the station's verified shift log, not the driver's word. The app matches each bill by station and date, with a 3% tolerance on the amount so a small OCR misread doesn't reject a real bill. A strict uniqueness rule stops the same bill being claimed twice, and any bill read with under 80% confidence goes to an admin to check by eye.

A wallet that can't be double-spent

Every wallet change runs inside a locked database transaction, so two requests can't spend the same balance. Cash-out requests are idempotent: a request sent twice is paid once. UPI and bank details are AES-256 encrypted and only ever shown masked. Each day, any station whose cashback exceeds 7% of its sales, against the expected 5%, is flagged.

HOW IT RAN

Blueprint

to care.

01

Blueprint

Driver, station and payout journeys written up as signed-off requirements and user stories.

Start

02

Move

Database schema designed and put through a security review before the build.

Before build

03

Build

WhatsApp bot, OCR queue, dashboard and wallet built and tested against each story.

Build

04

Handover

Owner and operators walked through the dashboard with a written operator guide.

Go-live

05

Care

WhatsApp flow and dashboard refined as drivers and stations use them.

Ongoing

WHY IT WORKS

Three decisions

that shaped it.

WhatsApp, not a new app

Drivers already have WhatsApp. Nothing to install means the first bill can be sent minutes after a driver hears about the offer.

Verify the station before paying the driver

A bill only earns cashback once it matches a shift log an admin has verified. The station's own record is the check, so cashback can't run ahead of real sales.

Nothing quietly deleted

Every login, edit, upload and payout is written to an audit log that can be added to but never changed or deleted. Driver records are soft-deleted only, so financial history always traces back to a person.

THE RESULT

What changed

for the station network.

Drivers now have a reason to come back: every DEF bill they send earns cashback they can see and withdraw, without leaving WhatsApp. Each station's day is checked on a dashboard instead of on paper, and every rupee of cashback traces back to a bill, a verified shift log and an admin approval.

5%

cashback credited only after a bill matches a verified shift log

2FA

sign-in for every station admin on the dashboard

AES-256

encryption on every driver's payout details

Cashback | Access | Security

WHAT'S NEXT

Built on,

and built next.

02 · WhatsApp automation

The driver bot that handles registration, bills, wallet and cash-out.

Open the page →

05 · Integrations and apps

The FastAPI backend, Supabase database and secured admin dashboard.

Open the page →

08 · AI workflows and agents

OCR that reads driver bills and station shift logs.

Open the page →

MORE BUILDS

Other systems,

in production.

S&J Sales Corporation

Exports

Australian logistics company

Logistics

Nrithya Dances

Education

20+ businesses

Running on our systems

5 countries

India, UAE, UK, USA, Australia

QUESTIONS

Questions

about this build.

What owners ask when they read about a build like this one.

What owners ask when they read about a build like this one.

Can a cashback loyalty scheme run entirely on WhatsApp?

How does a WhatsApp cashback app stop fake or duplicate bills?

How are station shift logs verified?

How do drivers get their cashback paid out?

Does this only work for DEF retail?

WHERE WE WORKFrom India to clients in five countries.Every build runs online, from the first call to the handover, so where you are doesn't change how we work.
IndiaUAEUKUSAAustralia
5countries delivered
20+businesses on our systems

Book a 30-minute audit

Two days to scope it.

No charge if we decline the work. 20+ businesses on our systems.

Book a 30-minute audit

Two days to scope it.

No charge if we decline the work. 20+ businesses on our systems.