
Client work · Logistics & Freight · 2026
Quote-to-Closeout TMS
A 3PL freight forwarding TMS built on one canonical workflow from inquiry to closeout.
Challenge
A growing 3PL operator had outgrown its admin tooling. Multiple intake channels — public wizard, contact form, chat, Gmail ingestion, admin quote calculator — created divergent records of the same shipment. Customer signatures were partly working, B/L drafts had no review loop, and payment release was disconnected from document state. The board wanted a defensible operating model, not more tools.
Approach
Adopted a projection-based customer task model — no parallel customer_task_package tables. Tasks are projections of the SSOT.
Collapsed five intake paths into one canonical lead-creation service with provenance tracked per source.
Built the customer workspace as a single guided link with grouped nav, progress bar, and task panels — never scattered form links.
Hardened the Odyssey carrier-rate automation bot using local Playwright, secure service-role separation, and an admin queue for human review.
Wired Stripe Checkout + PaymentIntents with proper webhook reconciliation, gated B/L release on payment + signature state.
Integrated Groq AI for chatbot lead capture and quote enrichment, with structured handoff into the same SSOT.
Outcome
The 3PL now operates on one canonical workflow: inquiry → quote → acceptance → shipment → documents → payment → closeout, with every step instrumented and auditable. The platform has shipped 30+ admin pages, 107 API routes, and 37 migrations to date, with the projection model standing up to real operational load.
The stack we used.
- Next.js 15 App Router
- TypeScript
- Supabase Postgres
- Stripe
- Resend
- Twilio
- Groq AI
- Playwright (local automation)
- pnpm monorepo
Also in Logistics & Freight.
Client work
Have a similar problem? Let's talk about yours.
Tell us where your operation is stuck. The partner who reads it is the one who would do the work.


