← Back to all field notes

Turning Freight Inquiries and Quotes into a First AI Workflow

Start from the inquiry desk and separate field extraction, rule checks, exception handoff, and result write-back into a measurable workflow.

I am participating in an AI workflow project for a cross-border logistics company. To protect the client and an active project, this article does not reveal identities, prices, routes, internal documents, or unverified business results.

It records a reusable method: why the inquiry desk can be a useful first workflow and how to make its boundary observable.

Break “quote this shipment” into visible actions

An inquiry may arrive through email, chat, a form, or an attachment. What appears to be one request actually contains several actions:

  • identify origin, destination, transport mode, cargo, and timing;
  • detect missing or conflicting fields;
  • ask for the information that changes the rule scope;
  • retrieve the relevant pricing rule and validity period;
  • detect oversize cargo, restricted categories, unusual routes, or customer exceptions;
  • prepare a review package;
  • return the approved result to communication and internal records.

Putting the entire process into one agent makes failure hard to locate. Separating the actions makes each input, source, output, and stop condition testable.

Classify fields before extracting them

Field groupExamplesWhy it mattersAction when missing
Transportorigin, destination, modedefines the search scopeask; do not guess
Cargocommodity, pieces, weight, dimensionsdetermines applicability and exceptionspause matching when critical units are missing
Timingexpected departure, service preferenceremoves expired or unsuitable optionsmark as pending; do not promise
Commercial termsIncoterms, service scopedefines responsibilitymake required or conditionally required
Special attributespackaging, restrictions, sensitivitymay require escalationroute risk hits to a person
Provenancechannel, attachment, receipt timepreserves traceabilitydo not issue an external response without provenance

The output should distinguish original text, normalized values, inferred values, and unresolved fields.

Two synthetic examples

These examples were written for this article and do not contain real customer data.

Example A — insufficient chat message

We have some ordinary cargo going from A to B. Can it move soon?

Only origin, destination, and a vague time request are present. Commodity, pieces, weight, dimensions, mode, and service scope are missing. The correct output is a prioritized question list, not a speculative quote.

Example B — a complete-looking but conflicting form

Origin A; destination B; sample commodity; pieces, weight, and dimensions supplied; requested mode: option one; note: please use the transit time of option two.

The requested mode conflicts with the note. The system must preserve both source statements and ask for confirmation. Completeness is not enough; consistency matters.

Six measurable workflow nodes

NodeSystem actionObservable outputHuman trigger
1. Receivepreserve original text, attachment references, and channelimmutable input recordunreadable attachment or unknown source
2. Extractextract and normalize fieldsvalues, citations, and state labelscritical field has multiple interpretations
3. Validatefind missing values, unit problems, and conflictsmissing and conflict listscritical information is missing or inconsistent
4. Retrieve rulessearch using confirmed fieldssource, version, validity, and scoperules conflict or are expired
5. Human decisionsummarize input, rules, and exceptionscontinue, return, or escalatethis is a formal node, not a temporary patch
6. Output and write backprepare internal material and save the decisiontraceable result and exception recordexternal sending follows the permission policy

The first pilot only needs to prove this small loop: the system receives the input correctly, knows when to stop, gives the person enough context, and carries the decision back into the process.

Prepare decisions before automating commitments

While rules are still being verified, the agent should prepare decision material rather than promise a final price. It can extract fields, identify gaps, cite candidate rules, and draft an internal summary. A commercial operator keeps the final price and external message.

Human corrections then become evidence. They reveal recurring missing fields, conflicting rules, and exceptions that belong in the SOP.

Every pricing rule needs provenance and validity

A freight quote is not one number copied from a static spreadsheet. Route, supplier, customer agreement, surcharge, and validity can all change the result.

Every retrieved rule should include:

  • source and version;
  • applicable customer, route, and cargo scope;
  • effective and expiry dates;
  • maintenance owner;
  • escalation conditions.

An answer without a reviewable basis cannot be safely maintained.

Make handoff a first-class node

Missing information, conflicting rules, high-risk cargo, and unusual customer agreements may need different recipients. The handoff must include the inquiry, extracted fields, cited rules, conflicts, and suggested next action.

After the person decides, the result should return to the inquiry record and, when useful, update the SOP or exception log. See the full human handoff design and SOP maturity checklist.

Start by measuring field completeness, number of follow-up questions, review time, rule conflicts, and exception write-back. Only after those measures stabilize should the team discuss deeper automation of replies or calculations.

You can compare candidate workflows with the AI pilot priority scorecard, review the anonymized case summary, or place this example inside the AI agent workflow topic.

Continue reading
Pilot Design & EvaluationAI Agents Owning Real Work
How AI Agents Take Ownership of Real Work—and How People Reorganize Around Them Define a deliverable unit of work, expand agent responsibility through evidence-based authorization, and move human effort toward customers, products, judgment, and growth. Human Handoff Is Not a Fallback. It Is Part of the Workflow A reliable AI workflow knows when to stop, who should take over, what context to transfer, and how the decision returns to the process. How Should a Company Measure the Value of an AI Agent? Build an auditable evidence chain from work ownership and process speed to delivery quality, customer experience, and operating outcomes.