AI驱动的博客文章生成器
中级
这是一个AI领域的自动化工作流,包含 12 个节点。主要使用 GoogleDocs, Perplexity, PerplexityTool, Agent, ScheduleTrigger 等节点,结合人工智能技术实现智能自动化。 🧠 AI博客文章记者(使用Perplexity进行研究,Anthropic Claude撰写博客)
前置要求
- •Anthropic API Key
使用的节点 (12)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "91ODWr9EkSAETwX2",
"meta": {
"instanceId": "1c7b08fed4406d546caf4a44e8b942ca317e7e207bb9a5701955a1a6e1ce1843",
"templateCredsSetupCompleted": true
},
"name": "AI 驱动的博客文章生成器",
"tags": [],
"nodes": [
{
"id": "bc282e38-6c6a-409c-b017-34cb852ff5b7",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-120,
0
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "e7e64550-2d73-4797-a0f7-58456e76642c",
"name": "Perplexity - 博客主题研究节点",
"type": "n8n-nodes-base.perplexity",
"position": [
160,
0
],
"parameters": {
"model": "sonar-pro",
"options": {
"searchRecency": "week"
},
"messages": {
"message": [
{
"content": "Research on the latest AI news that will be interesting to blog about. Choose and return only the most interesting news for the blog intended for non-technical audience trying to learn more about AI."
}
]
},
"requestOptions": {}
},
"credentials": {
"perplexityApi": {
"id": "siBtNJfFZDULtMTv",
"name": "Perplexity account"
}
},
"typeVersion": 1
},
{
"id": "ce9a37b0-5fac-4cc6-8877-7a09d23467e1",
"name": "Anthropic 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
480,
200
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "claude-sonnet-4-20250514",
"cachedResultName": "Claude 4 Sonnet"
},
"options": {}
},
"credentials": {
"anthropicApi": {
"id": "Xwyc4eRrFeJRUxib",
"name": "Anthropic account"
}
},
"typeVersion": 1.3
},
{
"id": "2ac602fb-7cde-4cae-971d-c374ae429b1e",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
520,
0
],
"parameters": {
"text": "={{ $json.choices[0].message.content }}",
"options": {
"systemMessage": "=You are a professional blog content writer for a tech news site that translates the latest AI breakthroughs and developments into engaging, non-technical blog posts.\n\nYour task is to write a clear, captivating, and SEO-optimized blog post based on the latest AI topic provided by the previous node (Perplexity AI Search output). The post should be easy to understand by general readers with no technical background, while still sounding informed, current, and exciting.\n\nINSTRUCTIONS:\n\nAudience: General readers, professionals, and business folks curious about AI—but not developers or engineers.\n\nTone & Style:\n\nFriendly, conversational, curious\n\nNot clickbait, but exciting and easy to read\n\nAvoid jargon unless necessary, and always explain it simply\n\nUse storytelling or a real-world metaphor/example when possible\n\nFormat:\n\nTitle (must include primary keywords related to the topic)\n\n1-paragraph Hook/Intro (make the reader want to read on)\n\n3–5 short sections with headers\n\nFinal Takeaway / What this means for the average reader\n\nSEO Meta Description (max 155 characters)\n\nInclude 3–5 SEO keywords naturally in the body\n\nUse bullet points or bolding to improve skimmability\n\nRules:\n\nDo not fabricate facts.\n\nIf additional context is needed, call the Perplexity Search Tool for clarification\n\nDo not overuse buzzwords or technical terms—explain them simply if used\n\nKeep paragraphs short and engaging\n\nExample Topics This Prompt Can Work For:\n\n“How Apple is using AI in its new products”\n\n“Why the EU is regulating AI and what it means for us”\n\n“OpenAI’s latest model and what it can do for small businesses”\n\n# [Catchy SEO Blog Title with Keyword]\n\n*[Optional Subtitle for clarity]*\n\n**Intro:** \n[Compelling hook paragraph that introduces the topic with relevance and clarity.]\n\n## [Subheading 1]\n[Explain one key point from the research, in a simple, friendly way.]\n\n## [Subheading 2]\n[Another key aspect, ideally with a metaphor, stat, or quote.]\n\n## [Subheading 3]\n[Implications, opportunities, or what to look out for.]\n\n**Takeaway:** \n[A 2–3 sentence wrap-up telling readers what they should remember or what action they might take.]\n\n**Meta Description:** \n[Short, SEO-focused summary of the blog post. Max 155 characters.]\n\n**SEO Keywords:** \n[Include a few relevant SEO keywords you naturally used in the blog.]\n"
},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "9f7883ed-c94d-4012-a7ab-df12d9b874ca",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
600,
200
],
"parameters": {
"sessionKey": "={{ $('Perplexity - Blog Topic Research Node').item.json.id }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "e48b32af-4126-4afa-8d5b-680b95128b07",
"name": "Perplexity 搜索工具",
"type": "n8n-nodes-base.perplexityTool",
"position": [
760,
200
],
"parameters": {
"model": "sonar-pro",
"options": {},
"messages": {
"message": [
{
"content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('message0_Text', ``, 'string') }}"
}
]
},
"simplify": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Simplify_Output', ``, 'boolean') }}",
"requestOptions": {}
},
"credentials": {
"perplexityApi": {
"id": "siBtNJfFZDULtMTv",
"name": "Perplexity account"
}
},
"typeVersion": 1
},
{
"id": "28023ef7-b506-4a24-94aa-d238dd934fb7",
"name": "Google 文档",
"type": "n8n-nodes-base.googleDocs",
"position": [
1020,
0
],
"parameters": {
"actionsUi": {
"actionFields": [
{
"text": "={{ $json.output }}",
"action": "insert"
}
]
},
"operation": "update",
"documentURL": ""
},
"credentials": {
"googleDocsOAuth2Api": {
"id": "uTMixjQqDRyGwqj4",
"name": "Google Docs account"
}
},
"typeVersion": 2
},
{
"id": "1f08afc2-e82e-4299-a9d4-e5d22c61c77b",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
-200
],
"parameters": {
"width": 260,
"height": 600,
"content": "计划触发器"
},
"typeVersion": 1
},
{
"id": "3047e161-9da7-4dc3-97be-a80781bddf49",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-200
],
"parameters": {
"color": 3,
"width": 300,
"height": 600,
"content": "计划触发器"
},
"typeVersion": 1
},
{
"id": "31e687c4-363f-49ee-abd2-93fc3d13ea59",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
400,
-200
],
"parameters": {
"color": 5,
"width": 500,
"height": 600,
"content": "计划触发器"
},
"typeVersion": 1
},
{
"id": "32b8771b-67cf-4521-8d79-c032e3d70f72",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
-200
],
"parameters": {
"color": 6,
"width": 300,
"height": 600,
"content": "计划触发器"
},
"typeVersion": 1
},
{
"id": "ac2f86cc-099f-4985-a780-7c06b605bf91",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-860,
-200
],
"parameters": {
"width": 620,
"height": 1020,
"content": "🧠 AI 驱动的博客文章生成器"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "69254d17-147f-4e2a-9508-366be9ce75f2",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Google Docs",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Perplexity - Blog Topic Research Node",
"type": "main",
"index": 0
}
]
]
},
"Anthropic Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Perplexity Search Tool": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Perplexity - Blog Topic Research Node": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
终极博客内容作者 RAG AI Agent + Perplexity 研究
使用Slack、Perplexity、Pinecone和Google Docs创建研究支持的博客内容
Google Docs
Slack Trigger
Perplexity Tool
+6
14 节点Automate With Marc
内容创作
使用Perplexity Sonar Pro到Gmail的AI新闻研究代理
基于Perplexity Pro、GPT格式和Gmail发送的每日AI新闻摘要
Gmail
Perplexity
Agent
+4
11 节点Automate With Marc
市场调研
Grok-4 股票投资分析师
使用 Grok-4 和 Perplexity 的个性化股票投资组合分析与推荐
Gmail
Perplexity Tool
Agent
+5
14 节点Automate With Marc
加密货币交易
动态投资组合顾问股市新闻
使用 Perplexity AI、GPT-4 和 Google Sheets 进行股票投资组合分析
Telegram
Perplexity Tool
Agent
+5
11 节点Automate With Marc
加密货币交易
Perplexity 驱动的 AI 新闻搜索
使用Perplexity Sonar Pro自动获取每日AI新闻(通过Telegram)
Telegram
Perplexity
Google Sheets
+4
11 节点Automate With Marc
人工智能
我的工作流
使用GPT4-mini和Google Docs知识库创建Telegram客户支持机器人
Telegram
Google Docs Tool
Agent
+4
10 节点Automate With Marc
客户支持
工作流信息
难度等级
中级
节点数量12
分类1
节点类型8
作者
Automate With Marc
@marconiAutomating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc
外部链接
在 n8n.io 查看 →
分享此工作流