♻️ AI multi-stop planner for circular logistics with GPT-4o & Open Route API — Workflow n8n

Élevé complexité Déclencheur25 nœuds🏷️ Miscellaneous👁 1,265 vuespar Samir Saci

Aperçu

Tags*: AI Agent, Supply Chain, Logistics, Circular Economy, 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 logistics teams reduce operational workload and errors by combining AI automation, route optimisation APIs, and workflow automation.

This workflow is part of a circular economy project, where stores return reusable packaging (bins, crates, containers) to a central ware

Nœuds utilisés

Google SheetsHTTP RequestGmailCodeAI AgentOpenAI Chat ModelStructured Output Parser

Aperçu du workflow

3. Record Shipment Request Information and fe
This starts by recording all the information parsed by
1. Workflow Trigger with Gmail Trigger
The workflow is triggered by a new email received in yo
How to setup?
- Gmail Trigger No
2. AI Agent to parse the collection process
This node will analyze the content of the email to extr
4. Reply with a confirmation of shipment allo
We first collect all the information of the sequence of
modelmodelparser
G
Gmail Trigger
Structured Output Parser
AI Agent Parser
Record Email Content
5
5 sec
Query Open Route API Pic…
Save Pickup GPS
G
GPS Pickup
Collect Coordinates
Request Open Route API
Collect Shipment Informa…
OpenAI Chat Model
AI Agent Reply
Reply
OpenAI Chat Model2
L
Loop Over Items
S
Split by Address
Extract Job
J
Jobs Mapping
Format Jobs
S
Split Jobs
M
Merge Sequence with coor…
F
Format GPS Coordinates
Save Sequence & Duration
Format Schedule
25 nodes26 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 25 nœuds, connecting agent, code, gmail.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (25)

GO

Google Sheets

googleSheets

#1
HT

HTTP Request

httpRequest

#2
GM

Gmail

gmail

#3
CO

Code

code

#4
AI

AI Agent

n8n-nodes-langchain.agent

#5
OP

OpenAI Chat Model

n8n-nodes-langchain.lmChatOpenAi

#6
ST

Structured Output Parser

n8n-nodes-langchain.outputParserStructured

#7

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier ai-multi-stop-planner-for-circular-logistics-with-gpt-4o-open-route-api téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "♻️ AI multi-stop planner for circular logistics with GPT-4o & Open Route API", "nodes": [...], ...}

Intégrations

agentcodegmailgmailtriggergooglesheetshttprequestlmchatopenaimergeoutputparserstructuredsetsplitinbatchessplitoutwait

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds25
Complexitéhigh
Déclencheurtrigger
Vues1,265
CatégorieMiscellaneous

Créé par

Samir Saci

Samir Saci

@samirsaci

Tags

agentcodegmailgmailtriggergooglesheetshttprequestlmchatopenaimergeoutputparserstructuredset

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows