Templates / 🚚 Estimate driving time and distance for logistics with Open Route API

🚚 Estimate driving time and distance for logistics with Open Route API

Ready for 3.0

by Samir Saci ✓ · 2,131 views · created 2025-06-01 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 7 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.openrouteservice.org over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Collect Routes (Google Sheets): uses Google Sheets
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Request Open Route API (HTTP Request): calls api.openrouteservice.org
  4. Extract Results (Edit Fields (Set)): sets 3 fields: distance, duration, n_steps
  5. Save Results (Google Sheets): update
  6. 5 sec (Wait): pauses before continuing

Services it uses

Google Sheets

HTTP calls to: api.openrouteservice.org

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Tags: Supply Chain, Logistics, Route Planning, Transportation, GPS API Context Hi! I’m Samir, a Supply Chain Engineer and Data Scientist based in Paris, and founder of LogiGreen Consulting. I help companies improve their logistics operations using data, AI,…

Excerpt from Samir Saci's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.