How to create a task and plan routes
Create a task, add stops and drivers, run optimization and check the routes before publishing. Covers the full flow from a new task to routes ready to send.
In iDirect, every delivery run is a task: a set of stops, the drivers who will take part, and the routes that optimization produces for them. This guide walks through the whole flow on a computer, from creating the task to having routes ready to publish.
Before you start
- Add your drivers to the team first. See How to add dispatchers and drivers into the team.
- Have your stops ready, either in a spreadsheet (see Importing orders from a spreadsheet) or as addresses you will add one by one.
- Optional but recommended: set your team defaults under Settings → Optimization (default service time per stop, vehicle capacity, toll roads). Each task starts from these values.
1. Create a task
- Open Tasks in the left menu and click Create Task.
- Fill in the basics:
- Name, 2 to 15 characters, for example Mon North Run.
- Task Date, the day the deliveries happen.
- Time, the start and end of the working window. Optimization will not plan stops outside it.
- Start address, usually your depot or warehouse. Type to search, or click Map to drop a pin.
- Route Type: One Way (no fixed end point), Round Trip (drivers return to the start address) or Custom End (a different end address).
- Click Next. The task opens on the planning map.

2. Add stops to the task
The Stops section in the left panel lists every order in the task. Add stops in any of these ways:
- Add one address: click next to the stop list, search the address, then fill in order number, recipient and phone. You can drag the pin to the exact spot before saving.
- Right-click the map and choose Add Delivery Stop to create a stop at that point.
- From the order list: orders that were imported earlier without a task sit in the order pool. Select them in Orders and assign them to this task.
Use the search box above the list to find a stop by address, recipient, phone or order number.

Check the Problem Stops section
If an address could not be located precisely, it is listed under Problem Stops instead of being planned:
- Address Pending Confirmation: only a region-level point was found. Open the stop, check the pin, then either Confirm Coordinates or Edit Address.
- Address Geocoding Failed: nothing was found. Edit the address or enter latitude and longitude by hand.
Fix these before optimizing. Stops in this section are not included in routes.
3. Choose the drivers
- In the Drivers section click Add Driver.
- Tick the drivers who will work this task and click Done. Only selected drivers take part in optimization.
- Click a driver's avatar to open their Task Settings. Here you can override the task defaults for that driver only: Capacity, Work Time, Route Type, Start Address and End Address. Leave a field on Task default to inherit the task value.
If a driver had custom settings in an earlier run of the same task, you are asked whether to Use Previous or Use Defaults.

4. Run the optimization
- Click Create Route at the bottom of the panel.
- A progress toast shows what is happening with a rough time remaining. Small tasks finish in seconds; a few hundred stops can take a minute or two. You can keep the page open or come back later.
- When it finishes, the left panel switches to the Route List: one route per driver, with its number of stops, total distance and estimated duration.
If you did not select any drivers, iDirect still creates routes and then opens Assign Drivers to Routes. Pick a driver for each route by hand, or click Auto-Assign. With delivery zones turned on, Auto-Assign by Zone gives each route to a driver from the matching zone. You can also choose Later and assign from the route list.

5. Review the result
- Click a route to open Route Details and its Delivery Timeline: the stop sequence, estimated arrival at each stop and the return to depot if the route type requires it.
- Routes or stops with a problem are marked. Typical labels are Late 15 min, Early 10 min, Exceeds capacity and Exceeds max travel time. These are warnings, not blockers.
- Stops that could not be placed on any route appear under Unassigned with the reason, such as Time window conflict, Capacity exceeded, Skill mismatch or Unreachable. Fix the cause (widen the time window, add a driver, correct the address) and run the optimization again, or move the order to another task.
To change a route by hand, drag stops to reorder them or move them between routes. See Adjusting routes manually for the details and for when a re-optimization is needed.

6. Re-run when something changes
After routes exist, two things trigger a new optimization:
- Changing the driver selection (Drivers → Edit) and clicking Save.
- Clicking Reoptimize in the Route List.
Both open the Optimization Mode dialog. Preview Changes shows the effect of your current edits before anything is written. Reoptimize All redistributes every order across the selected drivers and overwrites manual adjustments. Reoptimize All is not available once a driver has started or completed stops on the task.
7. Publish the routes
Routes are only visible to drivers after you publish them. Click Publish All Routes at the bottom of the Route List, or Publish Route inside a single route, tick the routes to send and confirm. Drivers receive a notification and the routes appear in the iDirect Driver app. See Publishing routes and tracking drivers in real time.
Troubleshooting
Create Route is disabled. The task has no stops yet, or every stop is in Problem Stops. Add or fix addresses first.
"Another optimization is currently in progress." A previous run for this task has not finished. Wait for the progress toast to complete, then try again.
Some orders stay unassigned every time. Open the order and read the reason. The most common causes are a time window that no driver can reach within the task time, a load larger than any vehicle capacity, and an address outside the road network.
Routes look unbalanced. Optimization minimises the number of vehicles and total completion time rather than splitting stops evenly. Reduce the driver selection, set capacities, or move stops by hand.
Can't find what you need?
Chat with our team and we'll get back to you shortly.