Mape
Mape
View all case studies

Crew4You

AI-Powered Daily Workforce Logistics

AI AgentProcess AutomationLogistics

Key Result

Daily planning → one Telegram command

The Problem

Crew4You is a Dutch event staffing company that provides construction crews for festivals, events, and pop-up installations across the Netherlands. With roughly 30 employees and around 10 dispatched daily, the logistics were a daily headache.

Every morning, the manager had to manually compose a detailed transportation plan: figuring out who has a car, which employees need a ride, calculating optimal carpool groupings, determining pickup times and routes, and finding public transit alternatives when carpooling was not possible.

This was not a five-minute job. It involved cross-referencing shift assignments, employee locations, vehicle availability, and travel times — all before the team even left for work. Mistakes meant someone arriving late to a job site, directly impacting client satisfaction.

What We Built

A fully automated logistics agent triggered by a single Telegram command. The manager types /planning and receives a complete, optimized transportation plan within seconds — ready to forward to the team.

How the System Works

1. Live data from the workforce platform. The agent connects to the company's shift management system and pulls real-time assignments: who is working where, when they need to arrive, and their contact details.

2. Smart carpool optimization. Using Google Maps, the system identifies which employees have vehicles, calculates driving times between all employee homes and job sites, and assigns passengers to drivers based on minimum detour time. It works backwards from required arrival times to calculate exact pickup moments.

3. Public transit fallback. When no carpool option works — no drivers at a location or detours that are too long — the system finds public transit routes. It specifies arrival time (not departure), returns specific bus and train connections, and flags "last mile" problems when the walk from a transit stop to the job site exceeds 1 km.

4. Complete Dutch planning message. The output matches the exact formatting the team is used to: date headers, per-location blocks with job details, carpool instructions with pickup times and addresses, public transit directions with line numbers, and standard reminders.

5. Interactive problem resolution. When the system detects an impossible transport scenario, it does not just fail. It sends a message with inline buttons: accept a late arrival or manually reschedule. Edge cases become quick decisions instead of blockers.

Challenges We Solved

The carpool math is not trivial. With multiple drivers, multiple passengers, and multiple job sites, finding the optimal grouping requires testing permutations. We built deterministic route optimization that handles this reliably — no AI guesswork for calculations that need to be exact.

Public transit quirks. Google Maps sometimes suggests leaving the night before for very early shifts, or proposes four-hour journeys for domestic travel. We built validation layers: same-day departure checks, duration caps, and honest messaging when no viable transit route exists.

Real-time accuracy. Shifts change frequently. The system fetches fresh data on every request rather than relying on cached schedules — slightly slower, but the planning is always based on the latest assignments.

The Result

What used to consume significant daily time now takes seconds. The manager types one command and gets a complete, optimized plan. The system handles last-minute shift changes, employees calling in sick, and venue changes — all automatically.

More importantly, it removed a scaling bottleneck. Before, growing the team meant linearly growing the coordination overhead. Now, whether Crew4You manages 10 or 50 daily assignments, the logistics coordination takes the same effort: one Telegram tap.

"I used to dread the morning planning. Now I type one command and it's done. The system even handles weird edge cases better than I did manually."

Technology

  • Python for the core automation engine
  • Google Maps API for route optimization and transit routing
  • Telegram Bot API for delivery and interactive problem resolution
  • Modal for serverless deployment — zero infrastructure to maintain

Want results like this?

Book a free 30 minute call. We'll map your processes and tell you honestly which ones are worth automating.

AI-Powered Daily Workforce Logistics | Crew4You | Mape