Automated Batching: Scaling Logistics with Logic

How we moved from a manual, error-prone dispatch process to a 'set-and-forget' automated system that optimizes routes based on geolocation and time constraints.

  • The configuration side-panel overlays the operational map, allowing real-time parameter adjustment.
    Configuration Interface on Map

My Role

  • Senior Product Designer (UI/UX & Logic)

The Team

  • 1x Designer
  • 1x Product Owner
  • 4x Developers (Squad Entregas)

Key Contributions

  • System Logic Mapping
  • Edge Case Definition
  • UI Design
  • Developer Handoff

Tools Used

  • Figma (Flowcharts)
  • Miro

Duration

  • 2024

Constraints

  • High technical complexity
  • Critical operation (cannot fail during peak hours)

The Challenge: Manual Sorting Bottlenecks

Delivery hubs were facing a ceiling on scalability. The process of grouping orders into a single route was 100% manual. Operators had to visually scan the map, check destinations, and manually merge requests. This was slow, prone to human error, and impossible to sustain during peak hours or in large cities. By mapping the database, we identified that most orders were single-delivery (only 1 drop-off), because rushed operators didn't wait for other orders to batch.

Key Challenges

  • Defining the Rules: Translating abstract logistics needs into concrete parameters (Distance, Time, Quantity).
  • Handling Edge Cases: What happens if an operator tries to edit an order while the algorithm is processing it? We had to design strict locking mechanisms.
  • Trust & Visibility: Operators were afraid of 'losing control'. The system needed to clearly show what it was doing.

Objectives & KPIs

1

Automate Route Merging

Implement a feature that groups orders without human intervention based on pre-set hub configurations.

Success Metric:Increase in the number of finalized grouped orders.

2

Ensure Operational Flexibility

Allow each hub to define their own 'aggressiveness' for the algorithm (e.g., max distance or max wait time).

Success Metric:Adoption rate of the auto-configuration by different companies.

Process & Logic

Mapping the Logic

In Figma, I worked with developers to map the entire decision tree in flowcharts. We defined criteria like: 'Only group same payment method', 'Only group same category', and 'Orders must be in the same map direction' to avoid driver issues and ensure efficient routes.

Mapping the Logic

Designing the Configuration

To ground the solution, I conducted a benchmark of national and international competitors to understand what parameters they used for route batching. With these insights, I designed a side-panel interface where managers can set parameters (Max Distance: 10km, Max Orders: 2). This allows granular control without cluttering the map view.

Designing the Configuration

Key Features

Activation by Delivery Hub

The delivery hub activates the automatic batching feature, enabling configuration so restaurants can set their own parameters directly on the map.

Activation by Delivery Hub

Restaurant Self-Configuration

This is the panel that appears for restaurants and establishments to activate the feature themselves and configure parameters according to their needs: quantity limit, max distance, and time interval.

Restaurant Self-Configuration

Grouped Request Card

The in-progress request card visually displays when that new request is an automatic batch of multiple other deliveries, making it easier for operators to track.

Grouped Request Card

Edge Case Handling

Error states and modals were designed to handle conflicts. If a manual change clashes with an auto-process, the system locks and clearly informs the user.

Edge Case Handling
Outcomes
The feature transformed the dispatcher's role from 'manual sorter' to 'strategic monitor'.

Impact

  • Single-Order Reduction: After implementation, we verified a significant drop in single-delivery orders from integrations, with a proportional increase in orders with multiple batched deliveries.
  • Operational Scalability: Enabled hubs to handle higher order volumes without hiring more dispatchers.
  • Error Reduction: Reduced human errors, such as grouping incompatible payment methods or distant routes, since the rules block incompatible combinations.
Why this matters:This project proves my ability to design for system logic, not just screens. I bridged the gap between business rules and developer constraints to build a robust automation tool.

Next steps and what I'd do differently

AI Optimization

Future iterations could use ML to suggest the optimal parameters for each city based on historical traffic data.

Let's talk

I'm open to conversations about remote Senior Product Designer roles, including international ones, in B2B and logistics products. The fastest way to reach me is to book a call or message me on LinkedIn.