使用Gemini AI、实时Amadeus航班和Airbnb住宿规划旅行行程
中级
这是一个Personal Productivity, AI Chatbot领域的自动化工作流,包含 10 个节点。主要使用 Set, Code, Webhook, HttpRequest, McpClientTool 等节点。 使用Gemini AI、实时Amadeus航班和Airbnb住宿规划旅行行程
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "b6731f6e46273cffeac6b5188a5b3bcb0840c00108e73b48ae2b799ac6e8e081",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "bfc008db-0ce3-408e-81e0-7ae4a59827ae",
"name": "MCP 客户端列表工具",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
2240,
208
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4c023674-f122-461f-8b2a-7a4cf8bcf0f8",
"name": "MCP 执行工具",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
2432,
208
],
"parameters": {},
"typeVersion": 1
},
{
"id": "261e170e-3cc4-46af-99c1-7258689c37ba",
"name": "Google Vertex 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleVertex",
"position": [
2048,
208
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0b8d99c9-2e6c-45c9-a357-4e367fb9f74e",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
1888,
-32
],
"webhookId": "87b12eb4-a4fb-418d-816e-a72730c35480",
"parameters": {},
"typeVersion": 2
},
{
"id": "ff786384-4d96-4dac-bf7a-2a0874c61254",
"name": "响应 Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3472,
-32
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "0ff2d625-a11d-4f46-8a43-319d80737eee",
"name": "编辑字段",
"type": "n8n-nodes-base.set",
"position": [
3248,
-32
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "76879d17-f704-44a4-a201-3779581ea062",
"name": "带票价的航班搜索",
"type": "n8n-nodes-base.httpRequest",
"position": [
2800,
-32
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "0ad516da-6610-40d4-b0d6-e41b15b7fa2b",
"name": "抓取清洁数据",
"type": "n8n-nodes-base.code",
"position": [
2576,
-32
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f88182f5-aa5a-42b1-acf0-7196aa614278",
"name": "航班数据 + Airbnb 房源",
"type": "n8n-nodes-base.code",
"position": [
3024,
-32
],
"parameters": {},
"typeVersion": 2
},
{
"id": "c4d03699-1ae0-4b90-be6b-16e6fd245cbf",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2144,
-32
],
"parameters": {},
"typeVersion": 1.8
}
],
"pinData": {},
"connections": {
"Webhook": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Grabbing Clean Data",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"MCP Execute Tool": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Grabbing Clean Data": {
"main": [
[
{
"node": "Flight Search with fare",
"type": "main",
"index": 0
}
]
]
},
"MCP Client List Tool": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Flight Search with fare": {
"main": [
[
{
"node": "Flight Data + Airbnb Listings",
"type": "main",
"index": 0
}
]
]
},
"Google Vertex Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Flight Data + Airbnb Listings": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 个人效率, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI Excel公式机器人副本
使用DeepSeek AI生成并解释Excel/Google Sheets公式
Set
Code
Switch
+4
9 节点Gerald Denor
个人效率
Qwen3-VL-8B-Thinking旅行规划器
基于Skyscanner、Booking.com和Gmail的AI优化旅行行程生成器
Set
Code
Gmail
+7
18 节点Cheng Siong Chin
个人效率
来自多个招聘网站的求职自动化
使用 5 个招聘平台和 AI 简历生成器自动化求职与申请
If
Set
Code
+14
34 节点Gerald Denor
个人效率
基于Supabase、Google表格和Gmail的自动化用户重新激活系统
使用Supabase、Google表格和Gmail的自动化用户重新激活系统
Set
Code
Gmail
+9
14 节点iamvaar
社交媒体
使用Gemini+LangChain+Sheets监控Reddit负面公关品牌声誉
使用Gemini+LangChain+Sheets监控Reddit负面公关品牌声誉
Set
Code
Split Out
+7
10 节点iamvaar
AI 摘要总结
RAG驱动的AI语音客户支持代理(Supabase + Gemini + ElevenLabs)
RAG驱动的AI语音客户支持代理(Supabase + Gemini + ElevenLabs)
Code
Webhook
Supabase
+8
14 节点iamvaar
客服机器人