← A Covorn template · Software development studio website Make it mine

Dispatch for 240 trucks between Apapa and Kano, offline when it has to be

Project details
ClientTollgate Haulage
IndustryLogistics
ServicesProduct strategy, Mobile apps, Web apps, Cloud and DevOps
Shipped2024, after 28 weeks
Team9 people, dedicated team
The dispatch team working in front of several screens
Fig. 1The dispatch team working in front of several screens

The problem

Tollgate Haulage is a fictional haulage firm running 240 trucks between the Lagos ports and northern cities, moving containers, cement and grain.

Dispatch ran on phone calls and a whiteboard. Trucks often returned north to south empty because nobody could see which loads were waiting near where a truck had just delivered.

Proof of delivery was a paper waybill that came back with the driver, sometimes two weeks later, which meant invoices went out late and cash came in later still.

  • 41%of return trips ran empty
  • 14 daysfor a waybill to reach accounts
  • 6 hourslongest stretch without signal

The approach

  1. Step 1

    Ride along

    Two of our team rode the Lagos to Kano route over four days with a driver and spent a week in the dispatch office at 5am.

  2. Step 2

    Offline first, not offline maybe

    The driver app records every stop, photo and signature locally and syncs when it finds a signal, with clear status for the driver.

  3. Step 3

    A board that suggests the backhaul

    The dispatch board shows trucks by expected free time and location, and suggests waiting loads within 60km of each drop.

  4. Step 4

    Tracking customers can open

    A light tracking page customers open from an SMS link, showing the last known position and the expected arrival.

The architecture

The sync service accepts batches of events recorded offline, in any order, and resolves them by timestamp. Locations are stored separately so the matcher can query them quickly.

01 Users 02 Edge 03 Services 04 Data Driver app Dispatch board Tracking page API gateway Sync service Trips and loads Backhaul matcher Proof of delivery Location store Main database SMS provider Driver app Dispatchboard Tracking page API gateway Sync service Tripsand loads Backhaulmatcher Proof ofdelivery Locationstore Main database SMS provider 01 Users02 Edge03 Services04 Data
Fig. 2Tollgate Haulage system architecture
  • Channel or user
  • Edge and access
  • Service we built
  • Data store
  • Third party or existing system

The screens

Drawn as wireframes so the structure reads clearly. The shipped product carries Tollgate Haulage's own brand.

9:41 Next stop, 3 of 5 Cement depot, Lokoja 38 km 1h 10m 18 t Arrived at stop
Fig. 3aDriver app, with the next stop and what to collect, readable in direct sunlight
Free in 4 hours TGH 214, Lokoja Backhaul 34 km away TGH 088, Ilorin TGH 131, Kaduna TGH 302, Ibadan TGH 019, Apapa
Fig. 3bDispatch board, with free trucks and suggested backhaul loads
9:41 Today's stops 2 saved, waiting for signal 1 2 3 4 5
Fig. 3cStop list with offline status, photo and signature capture

The outcomes

  • 22% of return trips running empty Was 41%
  • same day for proof of delivery to reach accounts Was 14 days
  • 26 days to collect cash on an invoice Was 47
  • 99.7% of offline events synced without conflict

Figures measured by the client over the six months after launch. Invented for this demonstration.

Drivers trusted it because it never lost their work, even after a day in the bush between Mokwa and Jebba.

Musa DanjumaFleet manager, Tollgate Haulage

The team

9 people from Ninefold over 28 weeks, working as a dedicated team. The core of the team is listed here.

How engagement models work

  • Funmilayo BakareProduct strategy
  • Chidi OkonkwoMobile lead
  • Tunde OgunleyeWeb lead
  • Segun AdebayoCloud and DevOps
  • Halima YusufQuality lead