Industry · Logistics

Logistics agents, with the guardrails your auditor expects.

Delivery exception handling. One workflow, wired into your CRM, WhatsApp and voice — with consent and a run trace.

Outcome

Delivery exception handling

Measured with a named design partner. Denominator and window published on request.

The playbook

Start with the highest-volume job.

  • Inbound lead response in under 60 seconds
  • Qualification and routing into your CRM
  • WhatsApp / voice follow-up in the customer’s language
  • Human approval for exceptions and high-value deals
  • Consent record and audit trail on every action
Workflow

Inbound → qualify → book → CRM

8 nodes, 2 branches, 1 human gate. Replay a real run in the demo.

See the canvas
Guardrails

DPDP + industry rules

Purpose limitation, retention, escalation, and a consent artefact per contact.

Trust Center
A loading dock with one wrapped pallet and cold blue morning light.

The short version

  • Logistics does not lose money on linehaul. It loses money on exceptions: a failed delivery, an unclear address, a COD shortfall, a customer who calls four times because nobody told them anything.
  • An agent is useful when it owns three queues: NDR follow-up, COD reconciliation and proactive shipment communication. Everything else is a dashboard nobody has time to read.
  • SMS in India runs through DLT-registered headers and templates, so notification flows are designed around approval, variable limits and fallback rather than around copywriting.
  • Escalation is a ladder with clocks, not a Slack channel. Each step names the owner, the payload and the time by which a human must have touched the case.
  • WhatsApp utility messages cost ₹0.22 each in plan and voice costs ₹2.20 per connected minute, with a spend cap on before the first send.
  • Integration is usually one webhook in and one write back to the TMS or WMS, not a six-month middleware programme.

Where a logistics operation actually loses money

Freight is priced, negotiated and measured to the paisa. The losses that hurt are unglamorous and repeated: a delivery attempt that fails because the address had no landmark, a COD parcel that comes back with cash unaccounted for, a customer who calls the helpline three times for a status that was already in the system. None of these appear on a linehaul P&L, and all of them compound at volume.

The pattern to look for is that a small number of exception types consume a large share of operations time. The chart below is an illustrative sample, in minutes of human handling per case, not a benchmark and not a promise. The value is in the shape: failed delivery and COD mismatch usually dominate, and both are preventable with a timely message or a call.

Bar chart of illustrative human handling minutes per exception type in a logistics operation. Failed delivery 42 min COD mismatch 26 min Address correction 18 min Damage claim 55 min Status call 6 min
Figure 1. Sample handling minutes per case from an illustrative run. The mix matters more than the absolute numbers; yours will differ by network and city.

That is the case for an agent in this industry. Not a chatbot on the tracking page, but a worker that watches the event stream, decides which exceptions need a customer conversation, has that conversation on WhatsApp or voice, writes the outcome back to the TMS, and escalates the residue to a named human with a deadline. The rest of this page describes how that is wired, what it costs and where it breaks.

One shipment, one timeline, many sources

A shipment produces events in at least four places: the order management or ERP system, the warehouse management system when it is picked and packed, the carrier through a webhook or a pull API, and the driver app at the doorstep. Each source uses its own status vocabulary. One carrier says out for delivery, another says OFD, a third sends a numeric code that maps to a state nobody documented.

The agent works on a normalised timeline rather than on raw carrier payloads. An event map translates each source into a small set of states, and the timeline is append-only with an idempotency key, so a webhook that fires twice does not produce two out-for-delivery messages to the same customer. Out-of-order events are common on Indian networks, especially when a hub syncs late, and the timeline sorts by event time rather than arrival time.

Architecture diagram showing four logistics data sources normalised into one shipment timeline and acted on by rules. Sources TMS WMS Carrier API Driver app Normalise Event map Status codes Timestamps Rules SLA timers Escalation Notify Record Timeline Consent Audit log
Figure 2. Four sources, one timeline. Normalisation happens before any message is sent, which is what stops duplicate and contradictory notifications.

Once the timeline is trustworthy, the rest of the workflow becomes simple rules. If a parcel has been out for delivery for more than a stated window with no update, send a status message. If an NDR arrives, open a case. If a COD parcel is delivered, capture proof and queue reconciliation. The customer sees one coherent story even though four systems wrote it.

Dispatch notifications that survive DLT

In India, application-to-person SMS is regulated through the DLT framework administered by TRAI. A sender needs a registered header, templates need to be registered against a category, and the variables in a template are constrained. A notification flow that was written as free text in a design document will not send, and the failure usually appears on the day of a sale rather than during testing.

The workflow therefore starts from the template, not the message. Each dispatch event maps to a registered template with a fixed number of variables: order reference, courier, expected date, a short link. If a value is missing, the step fails into a queue rather than sending a half-filled message with a blank where a date should be. WhatsApp utility templates are used where the customer has opted in, and SMS is the fallback when they have not.

Five-step notification flow from packing to delivery logging, with a template and header check before sending. 1 Order packed 2 Template mapped 3 Header checked 4 Message sent 5 Delivery logged
Figure 3. The notification path. The DLT check sits before the send, so an unregistered template becomes a queue item rather than a silent failure.

Frequency and timing are part of the design. Four messages for one parcel is noise; one at dispatch, one on the morning of delivery and one on a failed attempt is a service. Quiet hours are enforced by the workflow, and a message scheduled outside the window is deferred rather than dropped. Every send is logged with the template version, so a complaint about wording can be traced to the exact text that went out.

NDR handling is a decision queue, not a report

A non-delivery report is a courier telling you a parcel did not reach the customer. Most operations teams receive them as a daily file, sort by age and start calling. By the time the file is worked, the cheapest window has passed: the rider is already on another route, the parcel is heading back to the hub, and a second attempt adds a full trip rather than a short detour.

An agent closes that gap by acting on the event, not on the file. When an NDR lands, the workflow reads the reason code, checks the customer’s language and contact history, and either sends a reschedule link, places a voice call to confirm the address, or opens a case for a human. The reason code decides the path. An address problem needs a corrected address; a not-reachable code needs a call and a hold; a refusal needs a return, not a retry.

NDR decision tree branching on address problem, unreachable customer and refused delivery. What does the NDR say? decision Address unclear Confirm and reattempt Not reachable Call, then hold 24h Refused Return and notify
Figure 4. Three reason codes, three paths. Only the middle branch needs a human call, which is why reason-code quality decides the economics.

The outcome is written back to the TMS as a structured field, not as a note in a comment box. That single change is what makes the queue measurable. You can see reattempt success by reason, time to first contact, and how many cases a human actually had to open. Without the structured write-back, the same NDR gets worked twice by two teams and nobody can prove which attempt succeeded.

COD reconciliation without a spreadsheet

Cash on delivery still carries a meaningful share of Indian ecommerce, and the reconciliation around it is where small leaks become large ones. The courier collects cash, remits on a cycle, deducts fees and adjustments, and sends a file that rarely matches the order system line for line. Somebody then spends two days a week matching rows in a spreadsheet and guessing at the gaps.

The agent does the matching and presents only the exceptions. Proof of delivery captured by the driver, including a photo and an OTP confirmation where the carrier supports it, is linked to the order. The remittance file is parsed, deductions are classified against a rule set for weight disputes, return freight and COD fees, and the remainder is matched to orders. Anything that does not match within a tolerance becomes a case with the two source rows attached.

Anatomy of a COD reconciliation record showing proof of delivery, remittance, deductions and settlement matching. LoopNow runtime POD capture photo and OTP Remittance carrier format Deductions weight, RTO, fee Settlement matched to order
Figure 5. Four parts of a COD record. The agent matches the first three and leaves a human to approve anything outside tolerance.

The value is not that the agent is better at arithmetic. It is that the rules are written down and applied the same way every cycle, and that a dispute has evidence attached before it is raised with the carrier. Operations teams that run this describe the shift as moving from reconciliation to collection: the same people now spend their time recovering money instead of finding it.

Exceptions and the escalation ladder

Every operations team has an escalation path. It is usually informal, it runs through a WhatsApp group, and it works because two people never take leave at the same time. The problem with informal escalation is not that it fails often, it is that nobody can say how long a customer waited before a human saw the case, because the clock started when someone noticed.

A designed ladder has named rungs and clocks. The agent handles the first hour: status queries, reschedule links, address confirmation, a voice call where the customer prefers one. If the case is still open at the first checkpoint, it becomes a card for the operations lead with the shipment history, the attempted contacts and the carrier reference. If the carrier has not responded by the second checkpoint, the workflow raises a formal ticket and starts an SLA timer.

Escalation timeline from automated resolution in the first minutes to a formal carrier ticket and a proactive customer update on day two. 0-5 min Agent answers status query no human needed 5-30 min Voice call for NDR reason logged with outcome 1 hour Ops lead gets exception card payload attached 4 hours Carrier escalation raised ticket plus SLA clock Day 2 Customer told the new ETA proactive message
Figure 6. The default ladder with sample clocks. Each rung has an owner; the agent only owns the first two, and it must hand over a complete payload.

The important discipline is the payload. A handoff that says please check this parcel wastes the human’s first ten minutes. A handoff that carries the last four events, the NDR reason, the customer’s preferred language and the two messages already sent lets the human act on the first read. Time to first human touch is the metric to watch, and it only improves when the handoff is complete.

TMS and WMS integration without a middleware project

The integration conversation usually starts with a list of enterprise systems and ends with a six-month middleware programme that nobody can justify for a notification flow. The pragmatic shape is smaller: one inbound webhook or polling job from the TMS or WMS, one outbound write-back of the structured outcome, and one carrier API for events. That covers most of the value in the first week.

Field mapping is where the work actually sits. Order identifiers differ between systems, pincodes are sometimes strings and sometimes integers, and a warehouse may use a SKU that the ERP has never heard of. The workflow keeps a mapping layer with validation, so a bad pincode fails loudly at mapping time rather than producing a delivery attempt to a serviceable-looking address that does not exist on the ground.

Map of six systems in a logistics deployment and the data each one exchanges with the agent. TMS orders, routes WMS pick, pack, stock ERP invoice, GST Driver app POD, photos Support desk tickets Customer SMS, WhatsApp
Figure 7. The integration surface at go-live. Six systems, but only the TMS and the carrier are on the critical path for the first workflow.

Failure handling is the part teams forget to ask about. Every outbound call retries with backoff, and a call that keeps failing lands in a dead-letter queue with the payload intact, so it can be replayed after a fix rather than reconstructed. If the carrier API is down, the timeline stalls and the workflow says so, instead of quietly sending a stale ETA to a customer who is waiting at home.

The message the customer reads

A delivery message has one job: tell the customer what happens next and what, if anything, they need to do. Most templates fail that test because they were written by committee. Three tracking links, a support number, a brand story and a marketing banner in a utility message is not service, it is a reason to stop reading. One link, one action, one time window is the standard we design to.

Language is not a translation problem. A customer in Pune may read Marathi, speak Hindi and type in English, and a message that is formally correct in one language can read as bureaucratic in another. Voice handles code-mixed Hinglish better than templates do, which is why the workflow routes address confirmation to a call when the customer replies in a mix. Fourteen Indian languages are supported on voice and chat.

Wireframe of five approved customer message types used in a logistics notification flow. Out for delivery Delay notice Address confirm COD amount Delivered + POD
Figure 8. The five message types enabled at go-live. Each maps to a registered template, and copy changes go through approval rather than a workflow edit.

What we refuse to send is as important as what we send. No invented attempt, no false out-for-delivery, no promise of a date the carrier has not committed to, and no pressure message that implies the parcel will be returned unless the customer pays now. Those tactics produce a short-term completion bump and a long-term trust problem that shows up as prepaid conversion loss.

Manual queue versus agent-assisted queue

The honest comparison is not agent versus human. It is a queue where a person opens every case versus a queue where a person opens the cases that survived an automated attempt. The second queue is smaller, better documented and, crucially, ordered by time rather than by whoever shouted last. The work that remains is the work that genuinely needed a person.

There are cases where automation should not try. A damaged shipment with a claim attached, a high-value B2B consignment with a contractual delivery window, or a customer who has already spoken to a human twice. The workflow detects these and routes immediately, without an automated attempt that the customer will experience as being passed around. Knowing what to skip is most of the design.

Side by side comparison of a fully manual exception queue and an agent-assisted queue that escalates only surviving cases. Manual queue Agent-assisted • Every case opened• Notes in free text• Order by arrival• No response clock• Reconciliation weekly • Only surviving cases• Structured outcome• Ordered by SLA• Clock on first touch• Matching nightly
Figure 9. The same NDR volume handled two ways. The agent does not remove the human; it changes which cases reach one and what arrives with them.

The cost side is straightforward. Growth is ₹7,999 a month, excluding 18% GST, with 5,000 WhatsApp messages, 1,500 voice minutes and 10 agents. Utility messages are ₹0.22 and voice is ₹2.20 per connected minute inside the plan, and the spend cap stops a misconfigured retry loop before it becomes an invoice. A campaign that sends four messages per parcel will cost four times what a considered flow costs.

A worked reschedule, end to end

Take a parcel that failed because the customer was at work. The carrier posts an NDR at 11:04. The workflow reads the reason, sees a not-reachable code and a customer who has opted into WhatsApp, and sends a utility template with two slots and a reschedule action. The customer taps Friday 4pm. The agent confirms the slot, writes it back to the TMS, and books the reattempt against the route.

Everything the customer sees is one thread. No new reference number, no repeating the address, no call centre menu. The CRM record shows the stage as rescheduled, the sentiment as neutral, and the handler as the agent with no human involved. Cost for that utility message is ₹0.22. A human handling the same case, at the sample six minutes for a status call plus the outbound attempt, costs considerably more and usually happens a day later.

LoopNow WhatsApp workspace showing a delayed order thread where the customer picks a new delivery slot and the CRM record updates.
Figure 10. A reschedule thread with the slot picker, the template approval note and the CRM fields written back. Sample data, handled in 38 seconds.

The example is deliberately mundane because that is where the volume is. Multiply it by a few thousand parcels a week and the difference is not a clever AI demo, it is a queue that stops growing faster than the team. The same flow, with a different template and a tighter clock, handles the COD confirmation and the address correction that would otherwise become tomorrow’s NDR.

Frequently asked questions

What is DLT and why does it block my SMS flow?

DLT is the registration framework TRAI uses for application-to-person SMS in India. Senders register a header, and each template is registered against a category with a fixed variable structure. If a template is not registered, or a variable is missing at send time, the message fails or is dropped by the operator. Our flow validates the template and its variables before sending, and routes failures to a queue rather than losing them silently.

Can the agent call customers directly for NDRs?

Yes, with consent and a recording notice. Voice is usually reserved for cases where a message has failed twice or the reason code needs a conversation, such as an unclear address in a dense locality. Calls run in fourteen Indian languages including code-mixed Hinglish, and the outcome is written back as a structured field. If the customer asks for a human, the call transfers with the transcript attached.

How does COD reconciliation actually work?

Proof of delivery, the carrier remittance file and the order record are matched on order identifier and amount. Deductions for weight disputes, return freight and COD fees are classified against a rule set, and anything outside tolerance becomes a case with both source rows attached. A human approves exceptions before they are raised with the carrier, so the dispute starts with evidence rather than a phone call.

Which TMS and WMS systems do you integrate with?

Common systems connect through API or webhook, and anything with a documented endpoint is reachable through a custom step. We also support scheduled file drops where a system has no API, which is still common in mid-sized Indian operations. Bidirectional sync with a heavily customised legacy system is scoped as a project; it is not something we claim works out of the box.

Will customers be able to tell they are talking to an agent?

Yes. The first message identifies the sender as an automated assistant for the brand, and a human handoff is offered in every thread. Disguising an agent as a person is not something we configure. In practice, customers care about whether the parcel arrives and whether the answer is correct, and a clearly labelled assistant that resolves a reschedule in one message is judged better than a queue.

What happens if the carrier API goes down?

The timeline stops advancing and the workflow records the stall rather than guessing. Customer messages that depend on a fresh event are held, not sent with stale data. Outbound calls retry with backoff and then land in a dead-letter queue with the payload intact, so they can be replayed once the integration recovers. The operations lead sees the stall on the exception board within the same hour.

Is customer data stored in India?

Yes for managed deployments, which run on AWS Mumbai, ap-south-1. Carrier and customer data stay in that region, and model calls for managed models are routed there too. Data retention is set per record type, and transcripts, recordings and shipment events can have different windows. Sub-processors are published, and an enterprise buyer can request the current list before signing.

What does this cost for a mid-sized 3PL?

Growth is ₹7,999 a month, excluding 18% GST, with 5,000 WhatsApp messages, 1,500 voice minutes, 25,000 marketing contacts and 10 agents. Utility WhatsApp is ₹0.22 per delivered message and voice is ₹2.20 per connected minute inside the plan. Overage is billed at the published rate, and the spend cap is on by default, so a retry loop cannot run up an unbounded bill.

How long before the first workflow is live?

About 48 hours for one workflow, typically a dispatch notification or an NDR reschedule, assuming the TMS webhook and a DLT-approved template are ready. Template registration is outside our control and can take longer. A full deployment across NDR, COD and proactive notifications usually takes two to three weeks, with the first week spent on event mapping and the rest on tuning escalation clocks.

Sources and further reading

  1. Telecom Regulatory Authority of India
  2. Ministry of Electronics and Information Technology, DPDP Act
  3. GST Council
  4. Reserve Bank of India
LoopNow AI Answers from published LoopNow pages
Hi — ask me about LoopNow products, pricing, DPDP or migration. I answer from the published site and can connect you to the team.
Contact page