DeepSeek v3.1
中级
这是一个AI, Marketing领域的自动化工作流,包含 10 个节点。主要使用 Set, GmailTool, McpClientTool, NotionTrigger, WordpressTool 等节点,结合人工智能技术实现智能自动化。 使用 Notion MCP、DeepSeek AI 和 WordPress 自动化博客内容创建
前置要求
- •Google 账号和 Gmail API 凭证
- •Notion API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "7eyNPahKcCuqK39V",
"meta": {
"instanceId": "a2b23892dd6989fda7c1209b381f5850373a7d2b85609624d7c2b7a092671d44",
"templateCredsSetupCompleted": true
},
"name": "DeepSeek v3.1",
"tags": [
{
"id": "ZGwSiT2o3NGleZvi",
"name": "DeepSeek",
"createdAt": "2025-03-28T00:29:11.856Z",
"updatedAt": "2025-03-28T00:29:11.856Z"
}
],
"nodes": [
{
"id": "5ccc1b78-0795-4653-8438-c9a65781e516",
"name": "监控 Notion 更新",
"type": "n8n-nodes-base.notionTrigger",
"position": [
-620,
-100
],
"parameters": {
"event": "pagedUpdatedInDatabase",
"pollTimes": {
"item": [
{
"mode": "everyHour"
}
]
},
"databaseId": {
"__rl": true,
"mode": "id",
"value": "1c33d655-0fd9-8057-ac1a-eabf12d12f6b",
"__regex": "^([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})"
}
},
"credentials": {
"notionApi": {
"id": "5rz9xchmiSCmcoOx",
"name": "Notion account"
}
},
"typeVersion": 1
},
{
"id": "f6bcd3cd-6bf9-42d7-a54a-31e945d5730d",
"name": "AI 任务规划器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
320,
-100
],
"parameters": {
"text": "=You are an expert in SEO content writing.\nYour mission is to create, publish, and notify about a search engine-optimized article for a blog.\nHere are the keywords related to my topic: {{ $('Watch Notion Updates').item.json.Name }}\n\nFollow the steps below:\n\n1. **Write an SEO-optimized article with a maximum of 20 lines** based on the provided information:\n - Structure the article with a catchy **H1 title**, one or two **H2 subtitles**, and a professional yet accessible tone.\n - Extract and include relevant keywords from the data.\n - Optimize for readability: short sentences, clear paragraphs, and a CTA if relevant.\n - Do not exceed 20 lines of content.\n\n2. **Publish the article on WordPress**, including:\n - The **title** as the article's headline\n - The **SEO content** as the body\n\n3. **Send an email** to my address : {{ $json.emailAddress }} containing:\n - The article's title\n - The **URL** of the published article on WordPress\n\n4. **Retrieve the list of available Notion tools first** using “Notion Tools”.\n Then, **add a update the entry to my Notion database** (ID database: {{ $json.notionDatabaseId }}) ID items : {{ $json.notionItemId }}\nwith the following fields:\n - The 'Name' column is of type 'title' → {{ $('Watch Notion Updates').item.json.Name }}\n The 'Subject' column is of type 'rich_text' → [the article's headline]\n - The 'Content'column is of type 'rich_text' → [The SEO content]\n - The 'URL' column is of type 'URL': → [The article link]\n - The 'Status' column is of type 'select' → Select: `publish`\n\nImportant: Ensure that each step is successfully completed **before proceeding to the next**.",
"options": {},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "1627a1ae-424e-4124-ac09-bd0f7bc92d2b",
"name": "发送邮件",
"type": "n8n-nodes-base.gmailTool",
"position": [
380,
160
],
"webhookId": "f87279e8-34e4-4fd1-81d3-677707e215de",
"parameters": {
"sendTo": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}",
"message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
"options": {},
"subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}"
},
"credentials": {
"gmailOAuth2": {
"id": "rKxQHWZ2F5XLJmwF",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "c9c6f4f5-59ff-4c58-8fbd-f7cc0bd3eb2d",
"name": "发布博客文章",
"type": "n8n-nodes-base.wordpressTool",
"position": [
500,
160
],
"parameters": {
"title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
"additionalFields": {
"status": "draft",
"content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Content', ``, 'string') }}"
}
},
"credentials": {
"wordpressApi": {
"id": "KIuXvzjOEnOsHKQE",
"name": "Wordpress account"
}
},
"typeVersion": 1
},
{
"id": "0064198f-cfe0-424b-9a75-afbdd8a67c14",
"name": "Notion 列出可用工具",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
660,
160
],
"parameters": {},
"credentials": {
"mcpClientApi": {
"id": "QQbMEB7i2XAAWTSc",
"name": "Notion"
}
},
"typeVersion": 1
},
{
"id": "fac061a7-0e91-4944-82f6-463db3e418ce",
"name": "Notion 运行工具",
"type": "n8n-nodes-mcp.mcpClientTool",
"position": [
820,
160
],
"parameters": {
"toolName": "={{ $fromAI(\"tool\", \"the tool selected\") }}",
"operation": "executeTool",
"toolParameters": "={{ $fromAI('tool_parameters', ``, 'json') }}"
},
"credentials": {
"mcpClientApi": {
"id": "QQbMEB7i2XAAWTSc",
"name": "Notion"
}
},
"typeVersion": 1
},
{
"id": "378f291a-bea7-47b3-a629-07fb8d3f9110",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-220
],
"parameters": {
"width": 1100,
"height": 580,
"content": "## 智能内容自动化工作流"
},
"typeVersion": 1
},
{
"id": "5a8d00c1-752d-4573-ace8-e578b58892d4",
"name": "编辑工作流变量",
"type": "n8n-nodes-base.set",
"position": [
-300,
-100
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "c06b2d24-1fd7-40f0-aee5-b5d6553e289e",
"name": "emailAddress",
"type": "string",
"value": ""
},
{
"id": "8a294900-f367-47a2-b260-344b133dc2ff",
"name": "notionDatabaseId",
"type": "string",
"value": ""
},
{
"id": "a34469ad-5229-4c4d-bc5d-71c88686bd37",
"name": "notionItemId",
"type": "string",
"value": "={{ $json.id }}"
}
]
}
},
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "3e76c55d-9052-4568-9e21-29e8fd305369",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-220
],
"parameters": {
"color": 6,
"width": 360,
"height": 300,
"content": "## 工作流配置面板"
},
"typeVersion": 1
},
{
"id": "27f461de-609a-4743-829c-74705191e692",
"name": "DeepSeek 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
"position": [
100,
160
],
"parameters": {
"options": {}
},
"credentials": {
"deepSeekApi": {
"id": "N4JPoebNdVQUNxXH",
"name": "DeepSeek account"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "1eae918e-03f8-49d8-9dea-cf0e441e679d",
"connections": {
"Send Email": {
"ai_tool": [
[
{
"node": "AI Task Planner",
"type": "ai_tool",
"index": 0
}
]
]
},
"Notion Run a Tool": {
"ai_tool": [
[
{
"node": "AI Task Planner",
"type": "ai_tool",
"index": 0
}
]
]
},
"Publish Blog Post": {
"ai_tool": [
[
{
"node": "AI Task Planner",
"type": "ai_tool",
"index": 0
}
]
]
},
"DeepSeek Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Task Planner",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Watch Notion Updates": {
"main": [
[
{
"node": "Edit Workflow Variables",
"type": "main",
"index": 0
}
]
]
},
"Edit Workflow Variables": {
"main": [
[
{
"node": "AI Task Planner",
"type": "main",
"index": 0
}
]
]
},
"Notion List Available Tools": {
"ai_tool": [
[
{
"node": "AI Task Planner",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
💥🛠️ 使用 GPT-4、Perplexity 和 WordPress 自动化博客内容创建
使用 GPT-4、Perplexity 和 WordPress 自动化博客内容创建
Set
Gmail Tool
Form Trigger
+7
17 节点Dr. Firas
人工智能
💥AI社交视频生成器(使用GPT-4、Kling和Blotato)—自动发布到Instagram、Facebook、TikTok、Twitter和Pinterest
使用GPT-4和Kling AI生成并自动发布社交视频到多平台
Set
Code
Wait
+8
38 节点Dr. Firas
人工智能
使用Veo3自动化视频创建并通过Blotato自动发布到Instagram、TikTok
使用Veo3和Blotato生成并自动发布AI视频到社交媒体
Set
Wait
Http Request
+7
29 节点Dr. Firas
人工智能
使用Telegram、GPT-4和Blotato自动创建并发布AI社交视频
使用Telegram、GPT-4和Blotato自动创建并发布AI社交视频
If
Set
Code
+7
42 节点Dr. Firas
人工智能
💥 使用Perplexity和Blotato克隆热门TikTok并自动发布到9个平台
使用AI虚拟形象克隆病毒式TikTok并通过Perplexity和Blotato自动发布到9个平台
Set
Code
Wait
+6
41 节点Dr. Firas
人工智能
使用OpenAI和Google Sheets从Google Maps抓取商业线索
使用OpenAI和Google Sheets从Google Maps抓取商业线索
Aggregate
Http Request
Google Sheets
+8
17 节点Dr. Firas
销售
工作流信息
难度等级
中级
节点数量10
分类2
节点类型8
作者
Dr. Firas
@drfirasAutomation expert and certified trainer. I create hands-on courses to master automation with n8n. Contact me to access my exclusive training and start building powerful workflows today. 🚀
外部链接
在 n8n.io 查看 →
分享此工作流