Templates / Plan delivery routes from Notion orders with Nominatim and email

Plan delivery routes from Notion orders with Nominatim and email

Ready for 3.0

by Kevin Yu ✓ · 5 views · created 2026-06-07 · Project Management

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 10 nodes and runs when someone submits an n8n form (“New Delivery Order”) (plus 2 other triggers). Along the way it connects Notion. It also calls nominatim.openstreetmap.org over HTTP.

How it runs

Trigger: When someone submits an n8n form (“New Delivery Order”) (plus 2 other triggers).

  1. Save Order (Code): runs custom JavaScript code
  2. Notion: get many (database page)
  3. Notion: work with database page
  4. Load Pending Orders (Code): runs custom JavaScript code
  5. Geocode (Nominatim) (HTTP Request): calls nominatim.openstreetmap.org
  6. Optimize Routes & Format (Code): runs custom JavaScript code
  7. Email Plan (Send Email): sends an email over SMTP

Services it uses

Notion

HTTP calls to: nominatim.openstreetmap.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 (7)

From the author

Quick Overview This workflow collects delivery orders via an n8n form into a Notion database, then on a weekly schedule pulls pending orders, geocodes addresses with OpenStreetMap Nominatim, generates a nearest-neighbor route plan grouped by delivery day, and…

Excerpt from Kevin Yu'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.