使用Gemini和GPT从笔记和语音创建结构化Notion工作区
高级
这是一个Multimodal AI领域的自动化工作流,包含 36 个节点。主要使用 If, Set, Code, Crypto, Notion 等节点。 使用Gemini和GPT从笔记和语音创建结构化Notion工作区
前置要求
- •Notion API Key
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
使用的节点 (36)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "7888501fe66f93847229a4fe1e4efd9754bf14b1b98634200b2ff2090b5002a3",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e1716e31-c9e1-4888-adf8-1346461f7c70",
"name": "设置完成",
"type": "n8n-nodes-base.notion",
"position": [
3024,
768
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.2
},
{
"id": "805e7523-e73e-448c-b1d8-9cf3a0410f03",
"name": "OpenAI 聊天模型4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-240,
1136
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "011d8674-ad72-40bc-be7e-6aa97a9d8523",
"name": "结构化输出解析器4",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-96,
1136
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "143afddb-a90f-4d70-9def-0d3ef399234b",
"name": "创建行",
"type": "n8n-nodes-base.notion",
"position": [
112,
912
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "35808a02-dd5c-4c20-a5be-a2027bf74bf1",
"name": "报告页面生成器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-240,
912
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "691e8cd7-b85b-4ac0-b5d2-3f1a1ed397bb",
"name": "获取现有行",
"type": "n8n-nodes-base.notion",
"position": [
336,
912
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "4fcb71bb-a65f-44e1-b8d7-832cc33c63cd",
"name": "生成请求 ID",
"type": "n8n-nodes-base.crypto",
"position": [
-448,
912
],
"parameters": {},
"typeVersion": 1
},
{
"id": "da875116-f165-404a-99e5-e4e956ba920a",
"name": "内容分析器 LLM",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
544,
1136
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "be7d0447-6477-418d-b3a1-94897723dbd5",
"name": "内容分析解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
672,
1136
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "941172d0-e0c4-4a9a-ad2b-369c1c1787b3",
"name": "结构生成器 LLM",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
896,
1136
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8f6b8029-8351-4979-bb7b-cd773f1c5d70",
"name": "结构解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1024,
1136
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ee401edd-eabd-4037-82ba-42674a80bd2a",
"name": "数据库结构生成器",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
896,
912
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "9a2e2308-d090-499f-8f76-c74358afc84f",
"name": "创建示例页面",
"type": "n8n-nodes-base.httpRequest",
"position": [
3024,
960
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "739a2590-22bb-472a-9893-9fab0c70b2e3",
"name": "LLM 智能映射",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2112,
1136
],
"parameters": {},
"typeVersion": 1
},
{
"id": "19d70272-1e05-4ef9-8941-e0cd4b1bb7a6",
"name": "解析 LLM 响应",
"type": "n8n-nodes-base.code",
"position": [
2384,
912
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5a1892f5-9de0-4e38-9c73-528f937985ab",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1952,
912
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "ad18c9db-ea38-49f6-a6f5-4af1f43f8957",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
2800,
912
],
"parameters": {},
"typeVersion": 3
},
{
"id": "b3a5c5a4-2973-47f9-b23c-da812627ee87",
"name": "拆分输出",
"type": "n8n-nodes-base.splitOut",
"position": [
2592,
912
],
"parameters": {},
"typeVersion": 1
},
{
"id": "685ce899-2f61-4819-b4f7-4108f1453059",
"name": "Google Vertex Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleVertex",
"position": [
1984,
1136
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e59af55e-a89a-48e3-ad95-3d2088b4c341",
"name": "数据格式化器2",
"type": "n8n-nodes-base.set",
"position": [
1280,
912
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f9ec1602-616d-48da-b88d-6fe7621a2780",
"name": "准备 Notion 数据1",
"type": "n8n-nodes-base.code",
"position": [
1504,
912
],
"parameters": {},
"typeVersion": 2
},
{
"id": "760d7440-a13a-48af-824a-74612f78b2ab",
"name": "创建 Notion 数据库4",
"type": "n8n-nodes-base.httpRequest",
"position": [
1728,
912
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "1c4c05d5-2777-411c-9695-b74f83313e88",
"name": "获取简报",
"type": "n8n-nodes-base.set",
"position": [
-672,
912
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8e40a68c-29a6-4614-9f9a-e57c52774391",
"name": "内容分析器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
544,
912
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "559531a8-0ed0-41be-a789-046c6f230633",
"name": "Google Drive 触发器",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-1568,
912
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a5e08e62-d63c-403d-9688-6548a8426cbb",
"name": "分析图片",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"position": [
-896,
800
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2d059c82-8476-4f39-bfbc-7c2eb867da5e",
"name": "下载文件",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1344,
912
],
"parameters": {},
"typeVersion": 3
},
{
"id": "9442d9ea-3b66-486c-b4ae-ae7ea40be58a",
"name": "如果",
"type": "n8n-nodes-base.if",
"position": [
-1120,
912
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "568c4f31-a171-43bb-b83c-349787688ac2",
"name": "转录录音",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"position": [
-896,
1024
],
"parameters": {},
"typeVersion": 1
},
{
"id": "95b09f9d-01f4-4179-a244-ca6ed006c9d5",
"name": "设置说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2128,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fc187102-ae7d-4d5b-b53e-af6efa55e971",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1600,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a49935ad-17f9-417c-b61f-56a0431d5e4c",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1152,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2c7c682a-d3bf-4da1-9c74-7c30a3075568",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-496,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6a63debe-b904-4c8b-9b5d-2cbe53d9cba8",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
512,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7810c1f7-2761-4c6c-a5bf-4dfe054adc46",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1216,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0d69c65e-e773-481e-b048-3211346227b3",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2336,
592
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"If": {
"main": [
[
{
"node": "Analyze image",
"type": "main",
"index": 0
}
],
[
{
"node": "Transcribe a recording",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Parse LLM Response",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Create Row": {
"main": [
[
{
"node": "Get Existing Row",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Generate Request ID",
"type": "main",
"index": 0
}
]
]
},
"Analyze image": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Download file": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Data Formatter2": {
"main": [
[
{
"node": "Prepare Notion Data1",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Set Done",
"type": "main",
"index": 0
}
],
[
{
"node": "Create Sample Pages",
"type": "main",
"index": 0
}
]
]
},
"Content Analyzer": {
"main": [
[
{
"node": "Database Structure Generator",
"type": "main",
"index": 0
}
]
]
},
"Get Existing Row": {
"main": [
[
{
"node": "Content Analyzer",
"type": "main",
"index": 0
}
]
]
},
"Structure Parser": {
"ai_outputParser": [
[
{
"node": "Database Structure Generator",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"LLM Smart Mapping": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 1
}
]
]
},
"OpenAI Chat Model4": {
"ai_languageModel": [
[
{
"node": "Report Page Generator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Parse LLM Response": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"Create Sample Pages": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Generate Request ID": {
"main": [
[
{
"node": "Report Page Generator",
"type": "main",
"index": 0
}
]
]
},
"Content Analyzer LLM": {
"ai_languageModel": [
[
{
"node": "Content Analyzer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Drive Trigger": {
"main": [
[
{
"node": "Download file",
"type": "main",
"index": 0
}
]
]
},
"Prepare Notion Data1": {
"main": [
[
{
"node": "Create Notion Database4",
"type": "main",
"index": 0
}
]
]
},
"Report Page Generator": {
"main": [
[
{
"node": "Create Row",
"type": "main",
"index": 0
}
]
]
},
"Transcribe a recording": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Content Analysis Parser": {
"ai_outputParser": [
[
{
"node": "Content Analyzer",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Create Notion Database4": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Structure Generator LLM": {
"ai_languageModel": [
[
{
"node": "Database Structure Generator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Vertex Chat Model2": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser4": {
"ai_outputParser": [
[
{
"node": "Report Page Generator",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Database Structure Generator": {
"main": [
[
{
"node": "Data Formatter2",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
上下文混合RAG AI文案
Google Drive到Supabase上下文向量数据库同步用于RAG应用
If
Set
Code
+25
76 节点Michael Taleb
AI RAG 检索增强
宠物店 4
🐶 宠物店预约 AI 代理
If
Set
Code
+41
187 节点Bruno Dias
人工智能
交付汉堡店MVP
🤖 餐厅与配送自动化的 AI 驱动 WhatsApp 助手
If
Set
Code
+37
152 节点Bruno Dias
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
内容创作
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作
AIAuto - 带深度研究的终极人机回环内容v2
WordPress博客自动化,集成Airtable界面、人工审核和AI研究v2
If
Set
Xml
+23
228 节点Daniel Ng
内容创作