← Back to work

Automating routing with an AI rules engine

A vision for routing that runs itself: warehouse teams write business rules in plain English, AI turns them into logic, and manual routing goes away.

CompanyOdeko
RoleUX Research · UX/UI Design · AI product design
StatusVision designed · MVP shipped
Timeline2026

Research

It started by watching how routing actually happened

This didn't come from a strategy deck. At a warehouse offsite, I ran observational research, watching operators and dispatchers do the job on the floor, recording walkthroughs of the full operation, and talking through the friction as it surfaced. Several problems surfaced that week, but one stood out. The solution below came directly from what I saw and heard on the floor, not from the top down.

The problem

Warehouses were routing by hand, sometimes up to 5 hours a day

Odeko used Routific to generate delivery routes, but teams across warehouses didn't fully trust it, so they kept routing by hand, sometimes up to 5 hours a day. Real-world routing carries business rules Routific couldn't express, like loading frozen items first or keeping a set of enterprise stops on one vehicle for white-glove service. With no way to encode those rules, teams overrode the system and rebuilt routes themselves.

That cost more than time. The hand-built routes ran longer, more miles and more hours on the road, which pushed driver overtime up, and they came out inconsistent from person to person and impossible to scale. The real issue underneath wasn't effort, it was trust: teams fell back on manual routing because they didn't believe the automated routes reflected how their market actually runs.

The vision

Teams describe a rule in plain English, and AI builds it

The heart of the vision is a routing rules engine driven by an LLM. Instead of hard-coding logic in code, a warehouse team writes what they want in plain language, like "keep all my enterprise stops downtown on one truck", and AI turns it into a real rule. They test it in a scenario and publish it to Routific. Over time this becomes set-it-and-forget-it: the rules capture how each market actually runs, and routing happens on its own, with a person stepping in only when something genuinely needs a human call.

Routing rules list with an AI New Rule panel that turns plain English into routing logic
Every rule lives in one place. Click New Rule, describe what you want in plain English, like "keep all my enterprise stops downtown on one truck," and AI turns it into routing logic you can test and publish to Routific.

And every rule shows what it costs

This is the part I'm most excited about, and it speaks directly to the trust problem. A rule that protects a key account can also quietly add miles, road time, and overtime. So the engine prices each rule against the day's stops and surfaces that tradeoff right where you toggle it, with AI flagging which rules are worth their cost and which to relax. Routing stops being a black box the team overrides by hand and becomes something they can see, question, and steer.

Routing rules list where each rule shows its weekly cost in miles, road hours, and overtime, with an AI suggestion to relax the most expensive rule
Each rule carries a live cost in miles, road hours, and overtime, and AI points to the one worth relaxing. This is what answers the trust gap: teams can finally see exactly what every rule is doing to their routes.

Building a scenario

A scenario is just the rules you turn on

Before anything touches real routes, a team builds a scenario by toggling which rules apply, names it, and runs it against the day's stops. Nothing ships until they've seen the result, so there's no risk in trying something.

A named routing scenario with its rules toggled on or off
A named scenario with its rules toggled on, ready to run against the day's stops.

Validating with the people who'd use it

I tested the flow with warehouse operators across markets. The response was consistent: this was the part of their day they most wanted back.

“This is amazing. This would save me so much time.”Mike · warehouse operator, LA

The MVP

We proved it with two rules and a scenario builder

Constraints meant we couldn't ship the full rules engine at once. So we hard-coded just two of the most impactful rules, Frozen Items First and Keep Together (grouping stops that have to stay on one route), and paired them with a scenario builder where teams could run and compare safely before committing, instead of by hand. The goal was simple: prove that even a couple of rules could meaningfully cut manual routing time.

Scenarios sit side by side, each panel's plan chosen from a dropdown, so a team can hold the current plan against a proposed one, or compare any two plans they've built. The routes, the miles, the drive time, and exactly what changed are right there, the better option is obvious at a glance, and it publishes to Routific in one click instead of being routed by hand.

Two routing plans compared side by side on a map, each selected from a dropdown, with distance and drive-time metrics and one-click publish
Compare any two plans side by side: pick each from a dropdown, see the routes and the metric deltas, and publish the winner to Routific in one click.

Impact

Less routing by hand, with a safe way to compare first

With just two hard-coded rules, the goal was to prove teams would route by hand far less, and to give them a safe way to compare options before committing. Done well, that shows up as fewer miles, less time on the road, and a better DPRH, and ultimately as real cost savings, which was the top-line metric we were aiming at. Those results were still being measured as the rollout expanded.

Built, not just designed

I didn't hand this off and walk away. I wrote front-end code for the logistics web app myself, with AI, opening PRs and working in the same repo as engineering, so the design shipped the way I intended. I'm a designer first, but these days I build too.

Reflection

The MVP intentionally shipped small, one rule and a guided scenario builder, but it already removed the need to route by hand and gave teams a safe way to compare options first. The path forward is the full rules engine shown above: any team writing any rule, testing it, and publishing to Routific, until routing largely runs itself.