FlowsBook a callSign inCreate free accountSign up
Workflows by industry

Service engineer route planning for machine dealers with plants to cover

Long drives between customer plants eat the service day. How a machinery dealer orders each engineer's visits, allows for time on site and still handles breakdowns.

Part of the guide Workflow automation

By the xMap team · · 5 min read

Good service engineer route planning for a machinery dealer means putting each engineer's planned visits in the order that wastes the fewest hours on the road, then adding the time they will actually spend at each machine, so the day you promise customers is one that can be done. A plant visit is rarely a quick stop. One badly ordered day can leave a skilled engineer driving past a customer they will visit tomorrow.

This is for the service manager or dispatcher at a dealer of CNC, packaging, agricultural or construction machines, with a handful of engineers and customers spread over a region. Below: what makes this routing different from delivery, a worked day, and how to have tomorrow's routes ready each afternoon.

Why plant visits are harder to route than deliveries

A courier makes many short stops. An engineer makes few long ones, and that changes the problem:

  • Time on site dominates. Ninety minutes of preventive maintenance matters more than saving five minutes of driving.
  • Not every engineer can do every job. A controls specialist and a mechanical fitter are not interchangeable.
  • Plants have their own clock. Some will only stop a line at shift change or on a planned shutdown.
  • Parts decide the order too. A job waiting for a spindle cannot go first, however close it is.
  • Breakdowns jump the queue. A stopped production line outranks everything planned.

So the sensible division of labour is this: the dispatcher decides who does which job and on which day, and software puts each person's jobs in order. Our Learn page on route planning covers the basics.

A worked day, with made-up numbers

Take an invented dealer of metal-cutting machines in Monterrey, Mexico. Engineer Ana has four preventive visits tomorrow, ninety minutes each, leaving the depot at 07:30. After ordering, the route reads:

StopDrive from lastDriving so farArrives (with 90 min per earlier job)
1. Steel fabricator35 min35 min08:05
2. Die maker25 min60 min10:00
3. Machine shop40 min100 min12:10
4. Tool room20 min120 min14:00
Back to the depot45 min165 min16:15

An invented example. The times are made up, and no lunch break is included.

The total is 165 minutes of driving plus 360 on site, or 8 hours 45 minutes, and she is back at 16:15 only if every job runs to time and she skips lunch. That is the value of writing it out: you can see at a glance that this day is full, and that a fifth visit would be a promise you cannot keep.

Have tomorrow's routes ready by mid-afternoon

Here is how to set it up in xMap Flows. Our guide to AI employees for field operations covers the wider picture.

  1. Keep open jobs in a table in My data: customer, latitude, longitude, the engineer assigned, the job type and a Due column.
  2. Start with Schedule, on weekdays at 15:00, and add a Filter that keeps jobs where Due is Tomorrow.
  3. Add Route planner. Set Start from to your depot, Routes to One route for each rep with the field engineer, By to Car, and Come back to the start on.
  4. Add Calculated field with a line such as arrive_with_work = arrive_after_min + (visit_order - 1) * 90. Route planner's times count travel only, so this adds your typical job length to each arrival.
  5. Send a row per stop to Google Sheets, so each engineer filters to their name, and Email the dispatcher the full plan to look over.

Every stop comes back with its place in the order, the kilometres and minutes from the stop before, the route's totals and a directions link the engineer can open on a phone. Long routes get more than one link. A route holds up to 50 stops, far more than any engineer will see in a day.

Check the roads before they leave

A closure on the motorway can undo a neat plan. Run a second, smaller flow at 06:30 with the same jobs, and put Traffic incidents before Route planner, set to look around each incoming place. Each stop gets the closures and roadworks near it, and the dispatcher can warn an engineer before they set off. The template Merchandiser visit plan for the week has this same shape, from your table through incidents and routing to a message, and adapts well to service visits.

What the planner will not do for you

Being clear about this saves disappointment. Route planner orders stops to cut travel. It does not know:

  • a plant's opening hours or a promised appointment time;
  • which engineer holds the right certification or the right part in the van;
  • that a line-down call has just come in;
  • where each engineer lives, since a block has one start point (for engineers who start from home, use a Branch or a separate flow for each).

For fixed appointments, the honest method is to book those first, then let the remaining jobs fill the gaps. For a breakdown, the dispatcher takes the nearest suitable engineer by hand and reruns the flow for what is left. If jobs are not yet assigned, Split by territory can share them into compact patches of a similar size, which you can then adjust by skill.

Questions

How many plant visits can a service engineer do in a day?

It depends on job length and driving. Add up the travel and the time on site for a real day; with long maintenance jobs across a region, a handful of visits can fill it.

Can the route planner handle appointment times?

No. It orders stops by travel. Book fixed appointments first, then route the remaining work around them.

Does the travel time include the work at each stop?

No. Arrival times count travel only, so add your job length with a Calculated field to see when an engineer will really arrive.

What happens when a machine breaks down mid-day?

The dispatcher sends the nearest engineer with the right skills, then reruns the flow for the jobs that remain.

Templates that do this

Read next

More on workflows by industry · Every article · Templates

Put it to work

An AI employee in xMap Flows does this on live data, on its own timetable. Start from a template or describe it in plain words.