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

复杂度 触发器25 个节点🏷️ Miscellaneous👁 1,265 次查看作者:Samir Saci

概览

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

使用的节点

Google SheetsHTTP RequestGmailCodeAI AgentOpenAI Chat ModelStructured Output Parser

工作流预览

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

工作原理

  1. 1

    触发器

    工作流由 触发器 触发器启动。

  2. 2

    处理

    数据流经 25 个节点, connecting agent, code, gmail。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (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

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 ai-multi-stop-planner-for-circular-logistics-with-gpt-4o-open-route-api 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

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

集成

agentcodegmailgmailtriggergooglesheetshttprequestlmchatopenaimergeoutputparserstructuredsetsplitinbatchessplitoutwait

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点25
复杂度high
触发器trigger
查看次数1,265

创建者

Samir Saci

Samir Saci

@samirsaci

标签

agentcodegmailgmailtriggergooglesheetshttprequestlmchatopenaimergeoutputparserstructuredset

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →

Related Miscellaneous Workflows