基于Gemini AI、Supabase和Nano-Banana的端到端博客创建自动化
高级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 51 个节点。主要使用 If, Set, Code, Wait, Supabase 等节点。 使用Gemini AI、Supabase和Nano-Banana实现端到端博客创建自动化
前置要求
- •Supabase URL 和 API Key
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
使用的节点 (51)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "b6be3264d10563f53f60f119665bef14019561878be2f73c07ebd4200e9255cf"
},
"nodes": [
{
"id": "5fd2f145-ebbf-41cb-b9a0-b18c2b4f52d3",
"name": "定时触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-3632,
128
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "bf5d3d2c-5ca8-43a2-a511-551838664ad7",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"maxTries": 2,
"position": [
-1728,
144
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 2.2,
"alwaysOutputData": true,
"waitBetweenTries": 5000
},
{
"id": "4dc7ae88-0acf-4196-92be-f550ac1bdca2",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-1440,
384
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "3d654105-be79-4358-bf60-c14e816ce733",
"name": "Groq聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGroq",
"position": [
-1680,
544
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7483a0a5-451f-4246-b04d-f466c79e5ebf",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-1808,
560
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d1bc72c3-2f07-416c-a111-a70352e6853c",
"name": "RSS阅读",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
-1472,
608
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "c028f0b6-0481-4780-9846-406a4e61ec9f",
"name": "创建一行",
"type": "n8n-nodes-base.supabase",
"position": [
960,
48
],
"parameters": {},
"typeVersion": 1
},
{
"id": "242ec5e8-8b9e-410c-878f-51d9a1f96e9b",
"name": "AI Agent1",
"type": "@n8n/n8n-nodes-langchain.agent",
"maxTries": 2,
"position": [
-2480,
128
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 2.2,
"alwaysOutputData": true,
"waitBetweenTries": 5000
},
{
"id": "553cf89c-d9ff-47f1-bda1-e1741ede320b",
"name": "Groq 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatGroq",
"position": [
-2768,
544
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7553f0f0-c6dc-4655-9247-0bb4688d79c7",
"name": "RSS 阅读1",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
-2160,
480
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e0859e59-0eb5-43c3-822d-c3e38f0b67df",
"name": "Google Gemini聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-2512,
464
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8742f8a0-6509-47ef-88e5-efaa7918050b",
"name": "条件判断",
"type": "n8n-nodes-base.if",
"position": [
-2208,
128
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "8ad60b61-2c5a-40e9-bec1-5277ba2ddb3e",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
-2112,
-96
],
"webhookId": "ccb70704-dce4-4cda-8ad4-16e08bebea2c",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "b5ad482e-779e-4cf5-8e44-7828a0ad8701",
"name": "Google Gemini聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-1296,
656
],
"parameters": {},
"typeVersion": 1
},
{
"id": "988a02a2-a245-41a1-a7ba-dcb26ab92d31",
"name": "信息提取器",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
-1040,
160
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "23180200-7219-45ba-bceb-7200fa8417b9",
"name": "Google Gemini聊天模型4",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-1024,
336
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aa7b53e8-147b-4c66-8319-7e14f0340346",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-352,
160
],
"parameters": {},
"typeVersion": 3
},
{
"id": "3e34181e-92a7-495d-8488-bf23d57c4a75",
"name": "等待1",
"type": "n8n-nodes-base.wait",
"position": [
1744,
560
],
"webhookId": "b4d2e79a-3565-4264-a23a-9a11bff40d3a",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "dc9d2978-0169-49ae-81db-c9d17c24a85c",
"name": "代码",
"type": "n8n-nodes-base.code",
"position": [
-736,
160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b8f3f1be-2158-4d1e-920e-bec06bfb80e3",
"name": "生成图像",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"position": [
704,
-464
],
"parameters": {},
"typeVersion": 1
},
{
"id": "da2085f7-fc32-4aa2-80b1-386f0499186c",
"name": "上传对象",
"type": "n8n-nodes-base.httpRequest",
"position": [
976,
464
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "36ff690e-0333-4bdb-926a-0518a7d1f913",
"name": "生成预签名URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
1200,
464
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "2a1dab10-7b73-46ce-b9b2-bed435bcb5e8",
"name": "所有图像",
"type": "n8n-nodes-base.code",
"position": [
64,
48
],
"parameters": {},
"typeVersion": 2
},
{
"id": "74085f1e-ceff-4817-ab3e-2e4098eed7d9",
"name": "HTML内容",
"type": "n8n-nodes-base.set",
"position": [
368,
48
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "d77a832d-b19b-4012-a230-9bde2559b3a4",
"name": "如果 1",
"type": "n8n-nodes-base.if",
"position": [
-1328,
144
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "463c42eb-15b7-4696-aae1-e9605328dd83",
"name": "等待 2",
"type": "n8n-nodes-base.wait",
"position": [
-1216,
-96
],
"webhookId": "863d9087-d16f-42fa-ba49-7f534073cecd",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "3cf81151-c51b-4f89-b02e-157180109ee6",
"name": "RSS 阅读2",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
-2352,
624
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b4e75dfd-ed9c-4c8a-9aec-8c8d26a0aa51",
"name": "获取多行",
"type": "n8n-nodes-base.supabase",
"position": [
-2992,
128
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fecf73e1-8314-42e9-b721-e3c95fcc4d7d",
"name": "代码2",
"type": "n8n-nodes-base.code",
"position": [
-2848,
128
],
"parameters": {},
"typeVersion": 2
},
{
"id": "d049be27-d21e-44d4-860f-db01e273d02d",
"name": "imagen4",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
-464
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "40a66714-4cc0-4396-a0fe-271e5d9baf3e",
"name": "gemini2.5flash",
"type": "n8n-nodes-base.httpRequest",
"position": [
464,
-448
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "889382e2-16a4-45c3-adc0-996fc8a0f03c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3040,
48
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "183888e0-82bb-4249-845d-44a95f1ce347",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3888,
48
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "d234c989-ede8-442e-b29a-ef78ed902792",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2576,
-192
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "852adc40-31ef-4930-a967-3dfd2d638277",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1840,
-192
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "74aca049-e4d7-426f-a2c1-4a285a22a68c",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1088,
-192
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "e8f01eca-09a9-48d5-8d45-fa6658310a34",
"name": "Google搜索",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-1584,
1392
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "548ed4e1-2aaf-4f8b-88c2-71f6a963fe87",
"name": "URL抓取器",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-1360,
1392
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "969f4f07-9da6-4929-bab4-bd722f5cdaca",
"name": "便签说明5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1776,
1168
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "73bbf094-0001-43d7-942b-3a65e2bd97f2",
"name": "在Perplexity中向模型发送消息",
"type": "n8n-nodes-base.perplexityTool",
"position": [
-1600,
1632
],
"parameters": {},
"typeVersion": 1
},
{
"id": "033a4999-740a-4a14-923f-d80bb784cbbe",
"name": "便签 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-528,
32
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "0db639b1-d9fe-4bcf-9973-757a9e5255d6",
"name": "便签 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
224
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
},
{
"id": "0980dacd-0597-4a07-af6e-ddf9dcb59818",
"name": "下载图像",
"type": "n8n-nodes-base.httpRequest",
"position": [
528,
464
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "be09de5d-350b-4f7f-a052-f0f313058484",
"name": "编辑图像(仅用于转换为PNG)",
"type": "n8n-nodes-base.editImage",
"position": [
736,
464
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1392acd6-911c-459a-8a62-dc2c9a0e0e11",
"name": "向模型发送消息(图像命名器)",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"position": [
-144,
464
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0d3641e4-ba3f-46eb-bccc-d81dc81ca82c",
"name": "nano banana",
"type": "n8n-nodes-base.httpRequest",
"position": [
336,
464
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "43c5e7f2-daf5-4bdf-b1f9-7482f543b53a",
"name": "编辑字段(设置图像提示和名称)",
"type": "n8n-nodes-base.set",
"position": [
128,
464
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5c0b8657-d31b-4650-bf21-cd6b91a8729a",
"name": "最终图像URL",
"type": "n8n-nodes-base.set",
"position": [
1520,
464
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5be8c1f6-93f9-4f54-9816-93ae0bb46c56",
"name": "在HTML中嵌入图像",
"type": "n8n-nodes-base.code",
"position": [
688,
48
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f2da0db4-a78b-4e03-a6f7-1ca23fd9ec3c",
"name": "API密钥",
"type": "n8n-nodes-base.set",
"position": [
-3376,
128
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "fddee7bc-ffe5-439b-b4f3-91456666180f",
"name": "## 为什么选择 4o 模型?👆",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3472,
48
],
"parameters": {
"content": "Emelia 触发器"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"If": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
],
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"If1": {
"main": [
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
],
[
{
"node": "Information Extractor",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "AI Agent1",
"type": "main",
"index": 0
}
]
]
},
"Code2": {
"main": [
[
{
"node": "AI Agent1",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Wait2": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"API Keys": {
"main": [
[
{
"node": "Get many rows",
"type": "main",
"index": 0
}
]
]
},
"RSS Read": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"AI Agent1": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"RSS Read1": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"RSS Read2": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"all_images": {
"main": [
[
{
"node": "html_content",
"type": "main",
"index": 0
}
]
]
},
"URL Scraper": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
},
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"nano banana": {
"main": [
[
{
"node": "download image",
"type": "main",
"index": 0
}
]
]
},
"html_content": {
"main": [
[
{
"node": "imbed images in html",
"type": "main",
"index": 0
}
]
]
},
"Get many rows": {
"main": [
[
{
"node": "Code2",
"type": "main",
"index": 0
}
]
]
},
"Google search": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
},
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Upload object": {
"main": [
[
{
"node": "Generate presigned URL",
"type": "main",
"index": 0
}
]
]
},
"download image": {
"main": [
[
{
"node": "Edit Image (only for changing to png)",
"type": "main",
"index": 0
}
]
]
},
"Groq Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 1
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "all_images",
"type": "main",
"index": 0
}
],
[
{
"node": "Message a model (image name writer)",
"type": "main",
"index": 0
}
]
]
},
"final image url": {
"main": [
[
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "API Keys",
"type": "main",
"index": 0
}
]
]
},
"imbed images in html": {
"main": [
[
{
"node": "Create a row",
"type": "main",
"index": 0
}
]
]
},
"Information Extractor": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Generate presigned URL": {
"main": [
[
{
"node": "final image url",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini Chat Model1": {
"ai_languageModel": [
[
{
"node": "AI Agent1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Gemini Chat Model2": {
"ai_languageModel": [
[
{
"node": "Structured Output Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Gemini Chat Model4": {
"ai_languageModel": [
[
{
"node": "Information Extractor",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Message a model (image name writer)": {
"main": [
[
{
"node": "Edit Fields (set image prompt and name)",
"type": "main",
"index": 0
}
]
]
},
"Edit Image (only for changing to png)": {
"main": [
[
{
"node": "Upload object",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields (set image prompt and name)": {
"main": [
[
{
"node": "nano banana",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 Gemini AI 转录和摘要的 YouTube 频道监控并同步至 Google Sheets
使用 Gemini AI 转录和摘要的 YouTube 频道监控并同步至 Google Sheets
If
Set
Code
+10
33 节点Muhammad Asadullah
内容创作
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
内容创作
LinkedIn和X病毒内容自动引擎
使用AI生成和发布自动创建LinkedIn和X的病毒内容
If
Set
Wait
+26
156 节点Diptamoy Barman
内容创作
完整的 B2B 销售流程:Apollo 潜在客户生成、Mailgun 外展和 AI 回复管理
完整的 B2B 销售流程:Apollo 潜在客户生成、Mailgun 外展和 AI 回复管理
If
Set
Code
+26
116 节点Paul
内容创作
使用Gemini AI和Elementor为多个客户生成并安排SEO博客文章
使用Gemini AI和Elementor为多个客户生成并安排SEO博客文章
If
N8n
Set
+12
39 节点Zain Khan
内容创作
工作流信息
难度等级
高级
节点数量51
分类2
节点类型19
作者
Muhammad Asadullah
@asadtechI am a Data Scientist, and Generative AI Developer with expertise in building AI applications, chatbots, and automation systems. Skilled in Python, R, and no-code/low-code platforms like n8n and Make, I combine strong technical knowledge in machine learning and NLP with hands-on experience in power systems, transformers, and solar design.
外部链接
在 n8n.io 查看 →
分享此工作流