Software

TMS vs route optimization layer: How do they work together?

December 3, 2026

Most logistics teams already have a transport management system (TMS) which holds the orders, the customers, the carriers and the invoices. So when route optimization comes up, the first question is usually "doesn't our TMS already do that?"

While there is a little overlap, there's a lot that a TMS doesn't do that route optimization does. This guide covers what each system is responsible for, where the boundary between them should sit, which integration pattern to use, what data flows in each direction, and common mistakes to avoid so your integration goes smoothly.

What does a TMS do, and what does an optimization layer do?

A TMS is a system of record that does future-looking planning. Typical TMS responsibilities include:

  • Order entry and booking, including customer references and service levels
  • Customer, site, and carrier master data
  • Rating, quoting, invoicing, and freight audit
  • Proof of delivery, status history, and exceptions
  • Compliance records and reporting for finance and customers

An optimization layer looks at what happened in retrospect to evaluate the performance of the plan and improve future outcomes.

is a decision engine. It takes a set of work and a set of resources, and works out the best way to match them. In practice that means:

  • Assigning jobs to vehicles and drivers
  • Sequencing stops on each route
  • Respecting time windows, capacities, vehicle types, shift lengths and site access
  • Calculating ETAs, driving time, waiting time and cost for every stop
  • Re-planning when something changes during the day

The two overlap at the edges. Many TMS platforms include some routing, and optimization platforms like Adiona's FlexOps include dispatch, driver apps and reporting.

Where should the boundary sit between a TMS and an optimizer?

The TMS should remain the single source of truth for what has been ordered, who the customer is, what was agreed, and what was delivered and billed, setting up your resource planning. The optimization layer takes this information and runs scenarios to find the best way to execute the workload, assigning vehicles, routes, shifts, and stops orders.

Where teams run into trouble is when both systems are allowed to edit the same thing, such as a customer's delivery window or a job's assigned vehicle, without agreeing which edit gets prioritised and accepted.

Which integration pattern should you use?

There are three common ways to connect a TMS to an optimization layer. Many complex integrations end up using more than one.

1. API request and response

The TMS sends a set of jobs and vehicles to the optimizer's API, the optimizer returns a plan, and the TMS stores the result. This is the most common pattern and the easiest to justify.

Use it when:

  • Planning happens at set points in the day, such as an evening plan for tomorrow's runs
  • Your TMS or integration platform can make outbound API calls and handle the response
  • You want the TMS to control exactly when a plan is requested

2. Batch or file-based exchange

The TMS exports orders as a CSV or similar file, the file is loaded into the optimizer, and the finished plan is exported back. This sounds old-fashioned, but it's often the fastest way to get value, especially in the first few weeks.

Use it when:

  • Your TMS has limited API capability, or IT resources are tied up
  • Planning is a once-a-day activity with a clear cut-off time
  • You're running a pilot and want to prove the savings before building a full integration

The weakness is speed and manual work. With lots of reliance on file transfers, if there's any delay, it sets all downstream work back.

3. Event-driven integration and webhooks

Instead of sending a full batch, each system publishes changes as they happen. A new order in the TMS triggers an event, the optimization layer adds it to the live plan, and route updates or status changes flow back the same way.

Use it when:

  • Orders keep arriving after the plan is built, such as same-day or on-demand work
  • Dispatchers need to react to delays, cancellations, and new jobs during the shift
  • Customers expect live ETAs and status updates

Every event needs a unique ID so duplicates can be ignored, systems need to handle events arriving out of order, and someone needs to own what happens when a message fails.

What data goes into the optimizer?

The quality of the plan depends on the inputs. At a minimum, the optimization layer needs:

  • Jobs or orders
    A stable job ID, pickup and delivery locations, load in the units your vehicles fill up on (kilograms, pallets, cartons or volume), and service time on site
  • Time windows and priorities
    Customer delivery windows, site receiving hours, and which jobs must go today versus which can move
  • Vehicles and capacities
    Vehicle type, capacity in each dimension, start and end depot, shift times, and any equipment such as tail-lifts or refrigeration
  • Depots
    Locations, opening hours, and loading times
  • Constraints
    Site access limits, vehicle and job compatibility, driver skills, break rules, and any jobs that must stay together or apart

Coordinates are best. If you only have addresses, the optimizer will need to geocode them, so the address format coming out of the TMS matters. For a deeper checklist of what to collect, see what data you need before you optimize a transport network.

What comes back to the TMS?

The return flow is where many integrations underperform.Take your operations to the nex level by returning:

  • Assignments
    Which vehicle and driver each job is on
  • Sequenced routes
    ‍
    The stop order for each run, with a route ID the TMS can reference
  • ETAs
    ‍
    Planned arrival and departure times for every stop
  • Unassigned jobs
    Any job the optimizer couldn't fit, with the reason, such as a capacity limit or a time window that can't be met
  • Route KPIs
    Distance, driving time, waiting time, load and cost per route, which you'll want for reporting and for tracking the KPIs that matter for delivery fleets

Unassigned jobs often go unnoticed, and in a worst-case scenario, they're detected by a customer rather than your own team. Having them surface somewhere noticeable, either in the TMS exception queue or in the optimization platform's own view.

How should re-optimization and live changes work?

For scenarios where stops are loaded in overnight for morning runs, a lot can happen between the planning hours and the shift starting. From a van breaking down to a driver being sick, re-optimization is an everyday occurance. An integration where the TMS, optimization layer, and relevant staff are updated is the ideal solution to this.

In Adiona, dispatchers can monitor live routes, see where delays will affect later stops, and send updated routes to drivers through the Adiona Driver App. The Dispatch tool covers this side of the workflow.

What are the common pitfalls in TMS and optimizer integrations?

Dirty addresses and poor geocoding

A missing unit number or a postcode in the wrong field can put a stop kilometers away from where it should be. One bad location can distort a whole route. Validate addresses at order entry, store coordinates in the TMS once they're confirmed, and flag low-confidence geocodes for review rather than letting them through. We've covered this in more detail in cleaning logistics data.

Constraint mismatches

The TMS might record a delivery window as "AM", while the optimizer needs 07:00 to 12:00. Vehicle capacity might be stored as pallets in one system and kilograms in the other. Agree the units, formats and defaults before launching the integration, and document how each TMS field maps to each optimizer field.

Unclear master data ownership

If customer sites, vehicles and depots can be edited in both systems, they will drift apart. Pick one owner for each type of master data, sync it in one direction, and make the other system read-only for those fields.

Do you need a separate optimization layer, or is TMS-native routing enough?

TMS-native routing can be enough for some operations. It's a reasonable choice when routes are stable from week to week, stop counts are low, constraints are simple, and planners rarely need to change the plan once it's built.

A dedicated optimization layer usually earns its place when:

  • Planners regularly override or rebuild the TMS routes by hand
  • You have tight time windows, mixed vehicle types or multiple capacity dimensions
  • Volumes are high enough that small routing gains add up across the fleet
  • Work changes during the day and routes need to be re-planned live
  • You want to test scenarios, such as a new depot, a new customer or a move to EVs, before committing to them with a tool like the FlexOps Fleet Simulator

Test your real requirements in Adiona's platform, free for 14 days

Start with CSVs to test out Adiona's optimization platform and see how our outputs are over 10% better than our competitors, then talk to us about directly integrating via API.

Talk to our team about connecting your TMS to FlexOps, or try Adiona free for 14 days with your own data.