使用GPT-4和Slack/Gmail分发自动化Reddit趋势分析
中级
这是一个AI, Marketing领域的自动化工作流,包含 11 个节点。主要使用 Gmail, Slack, Reddit, Agent, ScheduleTrigger 等节点,结合人工智能技术实现智能自动化。 通过GPT-4和Slack/Gmail分发实现Reddit趋势分析的自动化
前置要求
- •Google 账号和 Gmail API 凭证
- •Slack Bot Token 或 Webhook URL
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "5aaf4236c70e34e423fbdb2c7b754d19253a933bb1476d548f75848a01e473cf",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e5b2e77c-54df-46e4-a130-b30eed7934ab",
"name": "获取 Reddit 帖子",
"type": "n8n-nodes-base.reddit",
"position": [
2440,
3580
],
"parameters": {
"limit": 5,
"keyword": "why I stopped using it",
"operation": "search",
"subreddit": "Chatgpt",
"additionalFields": {}
},
"typeVersion": 1
},
{
"id": "696586e7-a66b-49a9-a3e7-d309bb441951",
"name": "使用 AI 总结帖子",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2780,
3580
],
"parameters": {
"text": "=Analyze the following Reddit post. Classify its main topic in 3-5 words, and write a 1-sentence summary.\n\nTitle: {{ $json[\"title\"] }} \nContent: {{ $json.selftext }}\n",
"options": {},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "c665d7bb-0c34-4d34-807c-4861c984277e",
"name": "生成 AI 见解",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2740,
3800
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "57ba5821-49e1-4ede-9bb0-a7097f94a286",
"name": "发送摘要到Slack",
"type": "n8n-nodes-base.slack",
"position": [
3340,
3480
],
"webhookId": "e021423b-e10c-4044-96e4-46cfb82be060",
"parameters": {
"text": "=Topic:\n{{ $('Fetch Reddit Posts').item.json.subreddit }}\n\nSummary:\n{{ $json.output }}\n\nView on Reddit:\n{{ $('Fetch Reddit Posts').item.json.media_metadata.cnn80k7excte1.p[0].u }}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "list",
"value": "C08TTV0CC3E",
"cachedResultName": "all-nathing"
},
"otherOptions": {}
},
"typeVersion": 2.3
},
{
"id": "b4a501fb-7f2d-4d72-ae38-c418e10b588e",
"name": "发送摘要到 Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
3340,
3720
],
"webhookId": "c118adb5-da2c-4108-ae40-a056e2d51f89",
"parameters": {
"sendTo": "uu941401@gmail.com",
"message": "=Topic:\n{{ $('Fetch Reddit Posts').item.json.subreddit }}\n\nSummary:\n{{ $json.output }}\n\nView on Reddit:\n{{ $('Fetch Reddit Posts').item.json.media_metadata.cnn80k7excte1.p[0].u }}",
"options": {},
"subject": "=New Reddit Post on {{ $('Fetch Reddit Posts').item.json.subreddit }}"
},
"typeVersion": 2.1
},
{
"id": "0eb7d480-bf92-4794-af7c-320b1bee5687",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
2760
],
"parameters": {
"color": 3,
"width": 440,
"height": 1000,
"content": "## 🛫 步骤 1:获取帖子"
},
"typeVersion": 1
},
{
"id": "c9b3000d-17df-4b32-b4d6-ca381b1f2aa7",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2660,
3120
],
"parameters": {
"color": 4,
"width": 440,
"height": 820,
"content": "## 🧠 步骤 2:帖子摘要"
},
"typeVersion": 1
},
{
"id": "bdd58493-78ed-4dbc-ad6f-3fa136168a4e",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
3160,
2980
],
"parameters": {
"color": 6,
"width": 440,
"height": 920,
"content": "## 📤 步骤 3:发送摘要"
},
"typeVersion": 1
},
{
"id": "4013e36b-6070-4120-a5cc-ae5824d3e1d9",
"name": "便签 9",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
2760
],
"parameters": {
"color": 4,
"width": 1300,
"height": 320,
"content": "======================================="
},
"typeVersion": 1
},
{
"id": "22cc5f85-cd65-4fb9-ab3d-70393e580d55",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
3100
],
"parameters": {
"color": 4,
"width": 1289,
"height": 2378,
"content": "根据您的示例,以下是您的 **Reddit 到 AI 摘要发送至 Slack 和 Gmail** 工作流的详细分解,使用相同的结构和清晰度:"
},
"typeVersion": 1
},
{
"id": "3b1c680a-0c74-4a83-bf3f-163e9b5114e6",
"name": "每日 Reddit 扫描触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
2220,
3580
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 9
}
]
}
},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"Fetch Reddit Posts": {
"main": [
[
{
"node": "Summarize Posts with AI",
"type": "main",
"index": 0
}
]
]
},
"Generate AI Insights": {
"ai_languageModel": [
[
{
"node": "Summarize Posts with AI",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Summarize Posts with AI": {
"main": [
[
{
"node": "Send Summary to Slack",
"type": "main",
"index": 0
},
{
"node": "Send Summary to Gmail",
"type": "main",
"index": 0
}
]
]
},
"Trigger Daily Reddit Scan": {
"main": [
[
{
"node": "Fetch Reddit Posts",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
自动新闻摘要与邮件简报(GPT-4、NewsAPI 和 Gmail)
使用 GPT-4、NewsAPI 和 Gmail 自动生成新闻摘要与邮件简报
Gmail
Http Request
Google Sheets
+4
7 节点Yaron Been
人工智能
FireCrawl摘要机器人
Firecrawl AI驱动的市场情报机器人:自动新闻洞察交付
Code
Slack
Http Request
+4
10 节点Yaron Been
人工智能
YouTube 视频摘要生成器(GPT-4o、Slack 审批与 Reddit 发布)
使用 GPT-4o 生成 YouTube 视频摘要,支持 Slack 审批和 Reddit 发布
Code
Slack
Reddit
+6
15 节点Yaron Been
人工智能
AI YouTube分析助手:评论分析与洞察报告
AI YouTube分析助手:评论分析器与洞察报告生成器
If
Set
Code
+9
19 节点Yaron Been
人工智能
使用 Phantombuster 的 LinkedIn 帖子互动
使用 Phantombuster、OpenAI GPT 和 Google Sheets 跟踪自动化 LinkedIn 互动
Http Request
Google Sheets
Agent
+3
14 节点Yaron Been
人工智能
Crunchbase初创公司活动监控器
每日初创公司情报:使用GPT处理Crunchbase更新并发送电子邮件摘要
Set
Gmail
Http Request
+5
12 节点Yaron Been
人工智能
工作流信息
难度等级
中级
节点数量11
分类2
节点类型7
作者
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host
外部链接
在 n8n.io 查看 →
分享此工作流