Shipment exception management with AI
Delays, customs holds, damage and proactive customer updates. Exceptions are where logistics costs and customer frustration build up. A container misses its vessel, a truck is stuck at a checkpost, customs raises a query on a declaration, or goods arrive damaged, and the customer finds out before the account team does. Gepton builds exception agents that watch tracking events, carrier messages and documents, spot problems early, draft the recovery action for a planner to approve and send clear, timely updates to customers, while tracking claim and notice deadlines.
What we build
The parts of the system our engineers design, build and connect to your tools. Your team owns the code, prompts and models.
Watches TMS, carrier, telematics, port and visibility feeds and compares them with the shipment plan
Detects delays, missed pickups, rollovers, customs holds, short deliveries and damage reports
Drafts recovery options such as reroute, rebooking, expedite or split delivery for a planner to approve
Reads customs queries and checks invoices, packing lists and HS codes for likely causes
Proactive customer updates by email, WhatsApp or portal, using approved templates and live data
Damage and loss intake with photos, and claim notice deadlines tracked per mode and contract
E-way bill validity and extension reminders for road shipments in India
Exception log with root causes for carrier, lane and customer performance reviews
How a project runs
A fixed-scope plan first, then weekly releases you can see.
-
1
Define exceptions and playbooks
We list the exception types that matter to you, the signals that reveal them, the recovery options for each and who approves them, based on recent incidents.
-
2
Connect the data feeds
The agent connects to your TMS, WMS, visibility platform, carrier APIs or EDI, customs broker updates and messaging channels, with read access first.
-
3
Tune detection on history
We replay a few months of shipment history to tune rules and models so alerts are early enough to act on and not so frequent that planners ignore them.
-
4
Pilot on selected lanes
A pilot runs on chosen lanes or customers. Planners approve or edit every recovery action and customer message, and their choices refine the playbooks.
-
5
Expand and review
Coverage grows by lane, mode and customer, with weekly reviews of exception volumes, response times, customer contacts and claims.
Industries where we build it
-
E-Commerce
AI agents for support, personalization, and inventory optimization
See E-commerce -
Manufacturing
Predictive maintenance, quality control, and demand forecasting
See manufacturing -
Retail
Demand forecasting, pricing optimization, and customer insights
See retail -
Logistics
AI agents and custom models for logistics teams: shipment exception handling, predictive ETAs, freight document extraction, route and load planning, and customer updates that run on your TMS and WMS data.
See logistics
How we deliver it
The services our engineers use to build it.
-
Workflow Automation Agents
Agents that carry out multi-step workflows within rules you set, and pass decisions that need judgment to your team.
See workflow automation agents -
Customer Support Agents
Support agents we build and run for your team: they resolve routine requests and hand complex cases to your staff with full context.
See customer support agents -
WhatsApp AI Agents for Business
AI agents on WhatsApp that answer order, catalog and booking questions, capture leads and send payment links in English, Hindi or Hinglish, connected to your systems and within WhatsApp's business rules.
See WhatsApp AI agents for business -
Predictive Analytics
Forecasts and predictions layered into your existing business intelligence, from maintenance to demand.
See predictive analytics -
NLP & Document AI
NLP and text analysis systems that read, classify and extract insights from documents at scale.
See NLP & document AI -
Document Classification
Automatically classify, extract and route documents inside your existing workflows.
See document classification
Why exceptions deserve their own agent
Logistics AI often starts with ambitious optimization projects and stalls. A March 2026 BCG survey found that about 40% of logistics providers had deployed AI beyond pilots, but only 13% reported measurable financial value. Exception management is a practical place to begin: the data already exists in tracking feeds and messages, each exception has a visible cost, and the outcome, whether the problem was caught and handled early, is easy to measure.
From signal to action
The agent compares what is happening with what was planned. A missing departure scan, a vessel schedule change, a truck that has not moved for hours, a customs status that changes to query, or a driver's damage note are all signals. For each exception it gathers context such as the order, the customer's service level, alternative carriers or sailings and inventory at nearby nodes, and drafts a recovery option with its trade-offs. We design so that a planner approves any action that costs money or changes a commitment. Routine updates, like notifying a customer of a revised ETA within an agreed window, can be automated once you are comfortable.
Customs holds
Holds often come from document mismatches: invoice values that differ from the declaration, unclear product descriptions, HS code questions, missing licenses or certificates. The agent reads the query from your broker or the customs system, compares the commercial invoice, packing list and declaration, and suggests which document or explanation is likely needed. A licensed customs broker or your trade compliance team responds. In the EU, the eFTI Regulation requires authorities to accept electronic freight transport information from certified platforms from July 2027, which will make more of this data machine-readable.
Damage, loss and deadlines
Claims are lost on deadlines as often as on merits. Under Article 31 of the Montreal Convention, air cargo damage must be notified in writing within 14 days of receipt and delay within 21 days. Under the CMR convention for international road carriage, reservations for non-apparent loss or damage are due within seven days, excluding Sundays and public holidays. The agent collects photos and delivery notes at the time damage is reported, records the relevant deadline for the mode and contract and reminds the claims team before it expires. For road movements in India, it also watches e-way bill validity, which can be extended only in a window around expiry.
Proactive customer communication
Customers accept delays far better when they hear first. The agent sends updates with a revised window, the reason in plain words and the next step, through the channel each customer prefers. Complaints, claims and key accounts go to a person with the full history. See customer support agents and WhatsApp AI agents.
Data notes
- Agents start with read access to shipment data; writes are limited to notes, tasks and approved messages.
- Consignee phone numbers and addresses are personal data under the GDPR and India's DPDP Rules, 2025, and are used only for delivery communication.
- Every alert, approval and message is logged per shipment for audits and customer disputes.
We have not published a logistics case study. A pilot on a few lanes or one key customer is the practical way to measure earlier detection and fewer inbound status calls. For the wider picture, see AI for logistics.
Shipment exception management in depth
Architecture of an exception agent
The agent works as an event-driven system on top of the data you already have. It does not replace your TMS or visibility platform; it watches them and handles the follow-through.
- Event ingestion: collects status events from carrier APIs, EDI messages, visibility platforms, telematics, port and airline schedules, customs broker updates and parsed carrier emails, and normalizes them into one shipment timeline.
- Plan model: holds what should happen for each shipment: milestones, promised delivery window, service level, cut-offs and the customer's rules.
- Detection: compares the timeline with the plan using rules (missed milestone, no movement for a set time, status changed to hold) and predictive models (likely late arrival based on current position, lane history and conditions).
- Context builder: gathers what a planner would look up: order value, customer priority, alternatives, inventory at nearby nodes, contract terms and past exceptions on the lane.
- Action drafting: proposes recovery options with trade-offs and drafts customer messages from approved templates.
- Approval and execution: sends drafts to the planner's queue and, after approval, writes tasks, bookings or notes back through APIs.
- Exception log: records each exception, decision, timing and root cause for later analysis.
Data quality is the real project
Tracking data is uneven. Some carriers send rich events by API; others send emails, PDFs or nothing until delivery. Event codes differ by carrier and mode, timestamps arrive in different time zones, and the same shipment may carry different references in different systems. A large part of the work is normalization: mapping carrier codes to a common set of milestones, matching references across systems and estimating missing events. We report data coverage by carrier and lane from the start, because detection can only be as good as the events behind it. In India, sources such as e-way bill data, FASTag-based vehicle movement available through ULIP, and ICEGATE status updates for customs can fill gaps where carrier data is thin, subject to your access rights.
Choosing a detection approach
| Approach | Strength | Limit |
|---|---|---|
| Milestone rules | Simple, explainable, quick to set up per lane | Fires late, once a milestone is already missed |
| ETA prediction models | Early warning of likely delays from position and lane history | Needs good event history; less reliable on new lanes |
| Document and message reading with language models | Catches exceptions buried in carrier emails, broker queries and driver notes | Needs validation and confidence thresholds |
| Combined with business impact scoring | Prioritizes exceptions by customer, value and penalty exposure | Requires order and contract data |
Prioritization matters as much as detection. A delay on a low-value replenishment order and a delay on a production-critical shipment for a key account need different responses, and planners should see the second one first. Our predictive analytics and workflow automation agents services cover the models and the agent.
Metrics to baseline
- Detection lead time: how long before the customer-visible impact an exception was identified.
- Customer-first discovery rate: share of exceptions where the customer told you before your team knew.
- Time from detection to recovery action and to customer notification.
- Inbound "where is my shipment" contacts per shipment.
- On-time delivery and recovery success for shipments that had an exception.
- Claims filed on time versus claims lost to missed notice deadlines.
- Alert precision: share of alerts planners acted on, which keeps alert fatigue visible.
What drives running cost
Running cost depends mostly on the number of shipments and events processed, how many carrier emails and documents need a language model to read them, the number of messages sent through paid channels such as WhatsApp and SMS, and integration upkeep as carriers change their formats and APIs. Rules handle most event checks with very little compute, so language models are reserved for unstructured inputs and drafting. Grouping related events into one exception, summarizing instead of re-reading long email threads and sending customer updates only on meaningful changes keep both compute and messaging volumes in check, and also make the agent less noisy for planners and customers.
Operating model and runbooks
Once live, the agent becomes part of the control tower routine. We write runbooks with your team for each exception type: who owns it, the recovery options in order of preference, approval limits, customer message templates and escalation timing. The agent follows these runbooks when drafting actions, and planners update them as they learn. Daily, the agent produces a summary of open exceptions by customer and severity; weekly, root cause reports by carrier, lane and facility feed carrier reviews. When a data feed fails, the agent raises a data exception of its own so blind spots are visible rather than silent.
Risks and controls
The main risks are alert fatigue, wrong recovery actions that spend money, messages that give customers inaccurate information and missed claim deadlines due to data gaps. Controls include tuned thresholds and grouping of related alerts, planner approval for any action with cost or commitment, customer messages generated only from verified shipment data and approved templates, and deadline tracking that alerts the claims team well before expiry. Integration accounts start read-only and gain write access only for specific, approved actions.
Consignee names, phone numbers, addresses and delivery photos are personal data under India's DPDP Act 2023. We design for using them only for delivery and service communication, honoring channel consent such as WhatsApp opt-in, masking them in analytics, and retaining them according to your policy. Related pages: AI for logistics, customer support agents and WhatsApp integration.
Questions about shipment exception management
Something else? Send us your question and an engineer replies with next steps.
Will the agent rebook or reroute shipments on its own?
Not by default. We design the agent to draft recovery options with costs and trade-offs, and a planner approves anything that spends money or changes a customer commitment. You can later allow specific low-risk actions within limits you set.
Which data sources do you need?
Your TMS or order system, carrier status via API, EDI or email, and any visibility platform you use, such as project44, FourKites or a telematics provider. Customs broker updates and port or airline schedules help for international shipments.
Does it replace our visibility platform?
No. Visibility platforms provide tracking data and often their own alerts. The agent works on top of that data plus your orders, contracts and customer rules, and handles the follow-through: deciding what to do, drafting it and communicating it.
Can it respond to customs on our behalf?
No. It reads customs queries and suggests likely causes and documents. Your licensed customs broker or trade compliance team reviews and submits any response.
How do customers receive updates?
By email, WhatsApp using approved templates, SMS or your customer portal, depending on each customer's preference and consent. Messages use live shipment data, and replies from customers are routed to your team.
How long does a pilot take?
After a one to two week discovery to define exceptions and connect data, a pilot on chosen lanes usually runs four to eight weeks. The main dependency is access to carrier and tracking data.
What if some carriers do not provide tracking APIs?
That is common. The agent can read status emails, PDFs and portal exports from those carriers, use telematics or GPS data from transporters, and in India draw on sources such as e-way bill and vehicle movement data where you have access. Data coverage is reported by carrier, so you can see where tracking is weak and raise it in carrier reviews.
How does the agent decide which exceptions matter most?
It scores each exception by business impact: customer priority, order value, service level, penalty or production risk, and how much time remains to recover. Planners see the highest-impact exceptions first, with the reason for the ranking. You set the weights, and they can differ by customer or product line.
Can it help with road shipments within India?
Yes. For domestic road freight it watches vehicle movement from GPS, telematics or FASTag-based sources where available, flags vehicles that stop unexpectedly or deviate from route, tracks e-way bill validity and drafts extension reminders, and alerts planners when delivery appointments are at risk. Updates to consignees can go out by WhatsApp or SMS.
How do you measure whether the agent is helping?
We baseline detection lead time, the share of exceptions customers report before you know, time to recovery action, inbound status contacts and claims lost to missed deadlines over a recent period, then compare the same lanes and customers after go-live. Planner ratings of each alert also show whether alerts are useful or just noise.
Other AI solutions we build
All solutionsCustomer Support Automation
We build support agents that resolve routine requests at any hour and pass complex cases to your team with full context.
See customer support automationSales Lead Qualification
We build agents that qualify inbound leads as they arrive and route the best opportunities to sales.
See sales lead qualificationDocument Processing
Extract, validate and route data from invoices, contracts and forms automatically.
See document processingPredictive Maintenance
Predict equipment failures before they happen and schedule maintenance at the right time.
See predictive maintenanceDemand Forecasting & Inventory
Forecast demand accurately to cut stockouts and excess inventory.
See demand forecasting & inventoryLead Scoring & Churn Prediction
Score leads by likelihood to buy and spot customers at risk of churning.
See lead scoring & churn prediction