Tech, ExplainedE-commerce, travel and logistics
Part

Delivery failure prediction

The parcel that will fail, rerouted first.

INSIDE: SHIPPING SOFTWAREHOW IT WORKS · A ₹2,400 CASH-ON-DELIVERY PAIR OF SHOES FROM AGRAThe orderarrives at 1a.m. with nohouse number inthe addressThe model givesit a 41% chanceof failing,against 8%on averageA WhatsAppmessage asksthe customerto confirmand completethe addressShe adds thehouse number,asks for after 6p.m. and pays byUPI for ₹50 offThe softwarepicks thecourier with thebest eveningrecord in herpin codeThe riderdelivers theshoes on thefirst attemptALSO TALKS TOCOD risk scoring↗ D2C E-COMMERCEINSIDE: SHIPPING SOFTWAREHOW IT WORKS · A ₹2,400 CASH-ON-DELIVERY PAIR OFSHOES FROM AGRAThe order arrives at 1a.m. with no house numberin the addressThe model gives it a 41%chance of failing,against 8% on averageA WhatsApp message asksthe customer to confirmand complete the addressShe adds the housenumber, asks for after 6p.m. and pays by UPI for₹50 offThe software picksthe courier with thebest evening recordin her pin codeThe rider deliversthe shoes on thefirst attemptALSO TALKS TOCOD risk scoring↗ D2C E-COMMERCEINSIDE: SHIPPING SOFTWARE · A ₹2,400CASH-ON-DELIVERY PAIR OF SHOES FROM AGRAThe order arrives at 1 a.m. with no housenumber in the address↓The model gives it a 41% chance offailing, against 8% on average↓A WhatsApp message asks the customer toconfirm and complete the address↓She adds the house number, asks for after6 p.m. and pays by UPI for ₹50 off↓The software picks the courier with thebest evening record in her pin code↓The rider delivers theshoes on the first attemptALSO TALKS TOCOD risk scoring↗ D2C E-COMMERCE
Delivery failure prediction gives an Agra seller's cash-on-delivery pair of shoes a 41% chance of failing, gets the customer to complete her address and pay by UPI, and books an evening delivery that succeeds the first time.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

Delivery failure prediction is software that predicts which parcels are likely to fail before they are sent, and then acts to save them. It confirms the order with the customer, chooses the courier most likely to deliver it, and books the delivery for a time when the customer will be at home. It is usually a part of shipping software.

A delivery fails when the rider cannot hand over the parcel. The customer may be out, the address may be incomplete, or the customer may refuse a cash-on-delivery parcel at the door. The courier then sends the seller a non-delivery report, known in India as an NDR. After two or three failed attempts, the parcel goes back to the seller. This is an RTO, a return to origin, and the seller pays for shipping both ways. For a small seller, a high RTO rate can turn a month's orders into a loss.

The model learns from the seller's past orders. It looks at the pin code, whether the address has a house number and a landmark, whether the customer has refused parcels before, the value of the order, the hour at which it was placed and how long the customer spent on the website. From these, it gives each new order a failure risk, as a percentage.

Take, for example, a footwear seller in Agra that receives an order for a ₹2,400 pair of leather shoes, to be paid by cash on delivery. The order arrives at 1 a.m., and the address has no house number. The model gives it a 41% chance of failing, against 8% for the seller's average order. So the software acts before the parcel leaves. It sends the customer a WhatsApp message asking her to confirm the order and complete the address. The customer confirms, adds the house number and asks for delivery after 6 p.m. The software then offers her ₹50 off if she pays online now, and she pays by UPI. It chooses the courier with the best record of evening deliveries in her pin code. The rider delivers the shoes on the first attempt.

If an attempt does fail, the software reads the courier's NDR at once. It contacts the customer to arrange a second attempt, before the courier sends the parcel back.

This part is different from COD risk scoring at the checkout. COD risk scoring decides, before the order is placed, whether to offer cash on delivery at all. Delivery failure prediction works after the order is placed, on the parcel itself. The two often use the same data. The courier that finally carries the parcel usually runs an express courier network, and the rider's stops come from route optimisation software.

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.