Achmed Fidel

An Isuzu truck dealership in Bekasi

Truck Leads

A lead system for a truck dealership: supervisors draw an area, the app finds every business in it, and sales prove each visit with a photo taken on site.

Pages
32
API routes
51
Test files
63
Status
Pilot

2026
Client

Product, Full-stack

Next.js, PostgreSQL, PostGIS, Drizzle, n8n, H3, PWA, Docker

What I found

The branch found prospects by word of mouth and spreadsheets. Two supervisors could chase the same company, nobody knew which areas had been covered, and a visit was whatever a salesperson said it was.

What it needed

Every business found once, owned by one team, and visited for real. The rules had to hold when someone was in a hurry, offline, or pressing the same button twice.

What I built

Supervisor screen: an area drawn over East Bekasi on a map, with the search settings beside it
A supervisor draws an area or picks kelurahan. The app tiles it with H3 hexagons and sends signed jobs to n8n, which searches Google Places cell by cell within a monthly quota.
Territory editor: kelurahan boundaries on a map, grouped into one sales territory
Territories are built from the official kelurahan boundaries in PostGIS. The database allows each kelurahan in one territory and each business once per branch.
Sales phone app: today’s list of leads to visit
Sales phone app: a lead marked contacted, with the site photo and its location
Sales get an offline-first app. A lead only becomes contacted with a photo taken on site, stamped with time and place, and a retried upload never saves twice.
Branch dashboard: coverage, follow-ups due and leads that need attention
The branch head sees coverage, follow-ups and stuck leads on one screen.

Where it stands

Built and tested, including end-to-end runs against a real PostGIS database, with monitoring and a runbook ready. The pilot with the branch is being prepared.