Route forwarder emails to the right desk, held cargo first
Each forwarder email gets its request, mode and urgency, with flags for customs holds, missed cut-offs and dangerous goods. The desks are an example.
Try it on this example
Subject: RE: Booking HAM-58213 / 1x40HC Ningbo - Hamburg - URGENT
Attachment file names (empty if none):
Latest message, without the quoted thread
- What does the sender mainly want from us in this email?Status chase100%
- Which transport mode does the email concern?Ocean, full container100%
- How soon must someone act on this email, from what the sender says?Critical100%
- Does the email refer to a shipment already booked with us?Yes98%
- Does the email say cargo is held, selected for inspection or stopped by customs or another authority?Yes97%
- Does the email say a cut-off, sailing, flight or delivery slot has been missed or may be missed?Yes98%
- Does the email mention dangerous or hazardous goods?No93%
- Does the sender express dissatisfaction with our service?Yes98%
- Does the email raise a second matter that a different desk would act on?Yes96%
- Is information missing that the desk needs before it can act?No78%
- Does the sender ask for a phone call or to speak to a person?Yes99%
These are real answers stored from one run on this example.
The prism behind it
Route forwarder emails to the right desk, held cargo first
Fields
- Subject
- Latest message, without the quoted thread
- Attachment file names (empty if none)
Context
We are an air and ocean freight forwarder and customs broker with branches across Europe. Customers (shippers and consignees), carriers, origin and destination agents, and authorities write to each branch's shared operations inbox. Code strips the quoted thread, so the body is the latest message only. Each email is read here on arrival and sent to one desk's queue. A duty coordinator handles anything the answers are unsure about. Emails arrive in several languages; judge them in the language they are written in. Desks: - Quotes and pricing: rate requests for new shipments. - Bookings: new bookings and load offers. - Operations (one per mode): status, amendments, pickup and delivery slots, and partner updates on booked shipments. - Documentation: bills of lading and air waybills, certificates, packing lists and commercial invoices. - Customs: duties, tariff classification, clearance and holds by customs. - Claims: damage, shortage and loss. - Billing: questions about our invoices and charges. - Dangerous goods desk: copied on any mention of dangerous or hazardous goods. A trained specialist checks every one. Routing rules: - One email, one desk. When an email raises more than one matter, route it by the matter that most needs someone to act now. Cargo that has stopped, or a cut-off being missed, comes first. - Nothing here looks up references, container numbers or bookings. Code matches them to the job. - The answers describe the email, never the member of staff who handles it.
Questions
What does the sender mainly want from us in this email? Choice
Pick the matter that most needs someone to act now, using the routing rules in the context. A second matter is recorded by its own question.
Which transport mode does the email concern? Choice
Judge from the words, equipment and references in the email: a 40HC or 20DV container is ocean full container load, an air waybill is air.
How soon must someone act on this email, from what the sender says? Scale
Rate the most urgent matter in the email. Do not compare dates with today; rely on words such as "yesterday", "tonight", "the vessel sails tomorrow" or "still not on board". The word "urgent" in a subject line is not enough on its own.
Does the email refer to a shipment already booked with us? Yes / No
Count a booking or job reference, a container, bill of lading or air waybill number, or plain words about a shipment we are already moving. Yes: The email is about a shipment already booked with us. No: The email is about a new shipment, or about no shipment.
Does the email say cargo is held, selected for inspection or stopped by customs or another authority? Yes / No
Count a hold, an inspection, an examination, a document check or a stop by customs, port health, police or any other authority, at origin or destination, even when the sender is not sure it is true. Yes: The email says cargo is, or may be, held or inspected by an authority. No: The email mentions no hold or inspection by an authority.
Does the email say a cut-off, sailing, flight or delivery slot has been missed or may be missed? Yes / No
Count a cargo, documentation or customs cut-off, a vessel or flight the cargo is not on, or a slot that will be missed. Do not compare dates yourself. Yes: The email says one of these has been missed or is at risk. No: The email says nothing has been or may be missed.
Does the email mention dangerous or hazardous goods? Yes / No
Count a UN number, a hazard class, "DG", "hazardous", "IMO", a safety data sheet, or goods often dangerous in transport such as lithium batteries, aerosols, paint, fuel or gas. This only copies the dangerous goods desk; it never clears anything. Yes: The email mentions dangerous goods or goods often dangerous in transport. No: The email mentions none.
Does the sender express dissatisfaction with our service? Yes / No
Count dissatisfaction in any words: not being told, having to chase, delays we caused, mistakes. Pressure from the sender's own customer counts only if the sender is unhappy with us. Yes: The sender is unhappy with something we did or failed to do. No: The sender expresses no dissatisfaction with us.
Does the email raise a second matter that a different desk would act on? Yes / No
Use the desks in the context. Count a matter only if a different desk from the one the main matter belongs to would have to act on it. Yes: At least two matters in the email belong to different desks. No: Everything in the email belongs to one desk.
Is information missing that the desk needs before it can act? Yes / No
Consider the main matter: which shipment or booking it is about, what cargo, where from and to, and what the sender wants done. Do not check whether a reference or container number is valid. Yes: The desk could not act without asking the sender for more. No: The email gives enough for the desk to start.
Does the sender ask for a phone call or to speak to a person? Yes / No
Yes: The sender asks to be phoned, to be called back, or to speak to someone. No: The sender asks for no call and no conversation.
Lens columns
request_type, request_type_probability, mode, mode_probability, urgency, urgency_average, existing_shipment, existing_shipment_probability, customs_hold, customs_hold_probability, cutoff_missed, cutoff_missed_probability, mentions_dangerous_goods, mentions_dangerous_goods_probability, complaint, complaint_probability, second_matter, second_matter_probability, missing_details, missing_details_probability, callback_requested, callback_requested_probability
Run it on your own text
Add this prism in the app, change any question, and test it on a file of your own.