In this article we go in depth into our Pre-book automated dispatch algorithm so you can fully understand this innovative but complex feature!
Our Pre-book automated dispatch algorithm is set as the default rule for all jobs with a requested time for pick up with more than 1 hour in the future from the time of the dispatch. Since the job is in the future all drivers can be available because the current location and status are not important at the time of dispatching.
The process happens in the following stages.
Stage 1 Driver selection
The algorithm selects all available drivers in the group, all drivers who have a job scheduled at the time of the requested pick up time are not available for this job and thus not selected.
Stage 2 - Selected drivers
Now the group of selected drivers is sorted by the software based on the following data:
- Driver Score
- Last received job
So the drivers with the best driver scores are sorted on top. Also is checked if you recently received a full job offer in relation to the other drivers in the group, the longer ago the higher the driver is sorted.
So based on this info a driver list is sorted where the driver with the best scores is selected first.
Stage 3 - Offering
The system is sending out job offers to drivers that are currently available to accept jobs, in order of 9 drivers every 10 seconds. This means that multiple drivers will receive the same job offer at the same time.
The dispatch is also seen in the chat of the group, any driver with access to the group can tap the interface and accept the job.
Stage 4 - Expanding to offline driver (notify)
In order to make sure that all drivers that are available for this pre book job, but have been offline in YourDriverApp at the moment of dispatching, will receive a notification the software automatically notifies all current offline drivers with a 'new job' push message.
Although these drivers were offline they may be interested in taking the job. After opening the push message they receive the full job offer which they can accept or decline while the offer is still open.
Stage 5 - Processing results
When job offers are send out, drivers can respond by either accepting or denying the job offer. When a driver accepts the job offer our dispatching process will stop immediately with sending out new offers. All drivers that have the same full job offer open on their screen will see the offer closing for 3 seconds allowing them to send a response.
This means that multiple drivers can accept the offer, the driver highest in the sorting order will 'win' the Job offer.
If all drivers have denied or when there is no response coming from the selected drivers the dispatch will fail. This will send out a notification to all Admins and operators of the group, or to the Driver owner of the job.