FlowsBook a callSign inCreate free accountSign up
Workflows by industry

How city parks teams plan maintenance rounds around crews and weather

Parks maintenance route planning for councils: put parks and playgrounds in a sensible order for each crew, and move mowing or tree work when rain or wind is forecast.

Part of the guide Workflow automation

By the xMap team · · 6 min read

Parks maintenance route planning works best as a short routine that runs before the crews leave the depot: take the list of parks and playgrounds due a visit, check tomorrow's forecast at each one, drop or swap the jobs the weather will spoil, then put what is left in a sensible driving order for each crew. Done by hand it takes a supervisor an hour with a map and a spreadsheet; done by a flow it is waiting in their inbox at six.

This article is for parks, grounds and open-space teams in councils and city governments, and for the contractors who look after public green space for them. It explains what a good round needs to account for, walks through a made-up week, lists the mistakes that make crews ignore a plan, and shows the blocks that build it in xMap Flows.

What a maintenance round has to balance

A parks round is not a delivery route. The stops are fixed, but the work at each one changes with the season and the sky, and the crews are not interchangeable.

  • Which sites are due. Playground safety checks on a fixed cycle, bin emptying several times a week in busy parks, mowing on a growth calendar, tree and hedge work booked weeks ahead.
  • Who can do what. A crew with a ride-on mower, a crew that holds the playground inspection certificate, a tree team with a chipper. Each needs its own route, not a share of one.
  • The weather. Mowing wet grass tears the turf and clogs machines, chainsaw and climbing work stops in high wind, and hot spells move watering of new planting to the top of the list.
  • Getting there. A road closure on the way to a riverside park can cost a crew half a morning if nobody knew about it at the depot.
  • Time on site. Travel is only part of the day. A large park can take a crew three hours; a pocket playground, twenty minutes.

A made-up week in Lyon

The council, crews and numbers below are invented to show the routine. A parks department in Lyon looks after 140 sites: large parks, neighbourhood squares, sports pitches and 60 playgrounds. Four crews leave one depot. On Sunday evening the supervisor's flow reads the sites due on Monday from the department's own table, 46 of them.

The forecast shows steady rain over the east of the city all Monday morning. The flow moves the eleven mowing jobs there to Tuesday, keeps the playground inspections (rain does not stop a safety check) and adds two flower beds on the west side that were due on Wednesday, so no crew finishes at eleven with nothing to do. A road closure near one of the playgrounds is noted on that stop, with the street, so the crew can approach from the other side.

The 37 sites left are shared between the four crews by what each crew can do, then each crew's sites are put in driving order from the depot and back. At 06:00 each crew lead gets one email: their stops in order, the minutes of driving between them, a directions link for each part of the round, and one line per site on what to do and anything to watch for. The supervisor gets a single summary with what was moved and why.

Mistakes that make crews stop trusting the plan

  • Ignoring time on site. A route planner orders stops by travel. The minutes it gives are driving minutes only, so add a typical duration per kind of site before deciding how many stops one crew can take.
  • One forecast for the whole city. Rain at the airport says little about a hillside park across town. Ask for the forecast at each site.
  • Moving jobs with no limit. A rule that pushes mowing back every wet day can leave grass uncut for a fortnight in a rainy spell. Cap how many times a job can move, and tell the supervisor when one hits the cap.
  • Sending the plan too early. A forecast from Thursday is weaker than one from Sunday night. Run the planning close to the shift.
  • Stops with no position. A site listed only by its name cannot be routed. Give every park and playground an address or coordinates once, in the table.

How to build it as an AI employee

In xMap Flows the routine is one flow that runs on a timetable, which is how most teams in the AI employees for field operations family start. The order below is the one the Lyon example uses.

  1. Schedule: every working day at 05:30, or Sunday evening for Monday, in your time zone.
  2. My data: your sites table, with the address or position, the kind of site, the crew skill and the date each job is due. A Filter keeps the sites due tomorrow.
  3. Weather forecast, for each incoming place: each site gets rain expected, how much, the strongest wind and a one-line summary.
  4. Traffic incidents, around each incoming place, so road closures and roadworks near a site travel with it.
  5. xMap LLM: decide for each site whether the job goes ahead, waits a day or is swapped, by rules you write in plain words (no mowing above a set amount of rain, no tree work above a set wind speed), and write one line for the crew.
  6. Route planner: start at the depot, by car, back at the end, one route for each crew by the crew field, or the stops shared between a number of crews.
  7. Email: the round for each crew lead, and a summary to the supervisor.

Route planner gives each stop its place in the round, the distance and driving time from the stop before, the round's totals and a directions link for each part. A round has at most 50 stops, which is more than any parks crew covers in a day. If the routing service is not available for a run, the order is worked out on straight lines and the email says the round is an estimate.

Two optional extras are worth adding once the basic round works. An Approval step before the email lets the supervisor look at what was moved before crews see it. A Split by territory block gives each crew a compact area of the city for the week, when your department works by fixed zones rather than skills.

The supervisor can also ask the flow's results questions later in Results, such as how many mowing jobs moved for rain last month, which helps when the season's contract hours are reviewed with the council's finance team.

Questions

Can it plan around the time each job takes on site?

Route planner orders stops by travel and gives driving minutes only. Add a typical duration per kind of site in your table and let xMap LLM or a Calculated field check that a crew's day fits before the round is sent.

Does it know which parks need mowing?

No. It works from your own sites table and its due dates; the flow checks the weather and the roads and orders the visits.

Can each crew get only its own stops?

Yes. Route planner can make one route for each value of a field, such as the crew, and the Email block can send one email per crew lead.

What happens if the routing service is down?

The round is still ordered, on straight-line distances with roads counted as longer than the straight line, and the step and the email say it is an estimate.

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.