Geofencing for field service & fleet
Field service and fleet operations depend on knowing exactly when a technician, driver, or vehicle enters or leaves a job site, depot, or route segment. Geofencing replaces manual timesheets and radio check-ins with automatic, verifiable location events — an entry webhook the moment a rep reaches an assigned territory, an exit event with dwell time attached the moment they leave.
What it unlocks
- Automated clock-in / clock-out — technicians are marked "on site" the moment they enter a job-site geofence, and "departed" on exit, with no manual timers.
- Route and depot compliance — verify vehicles followed assigned routes and returned to depot geofences at end of shift.
- Idle & dwell detection — flag vehicles that linger unusually long in a zone (an efficiency issue) or skip a zone entirely (a missed job), using dwell thresholds evaluated server-side.
- Job verification — cross-reference "job marked complete" against actual presence inside the site geofence, cutting down on billing disputes.
- Fleet safety zones — alert dispatch if a vehicle exits an approved operating area, such as a designated city or region.
- Real-time dispatch — reassign nearby technicians automatically based on live entry/exit data instead of stale GPS pins.
How the trigger flow works
Each location ping is checked against every job-site and depot polygon assigned to that device, and an exit event carries the dwell time for free:
{
"event": "exited",
"device_id": "TECH-118",
"territory_code": "SITE-EAST-04",
"lat": 40.7128,
"lon": -74.0060,
"timestamp": "2026-08-18T09:14:02Z",
"dwell_seconds": 2140
}
Fencemaker supports high-density fleet tracking with native webhook delivery to Slack and Telegram, so dispatch teams get instant, actionable alerts rather than needing to watch a live map — and because zones are versioned PostGIS polygons rather than radius circles, a depot or service territory boundary matches the real shape of the site instead of a crude approximation. Country-specific breakdowns are below.