How to build an AI content automated distribution system with n8n + ChatGPT: a complete 30-minute tutorial
From RSS monitoring to AI rewriting to multi-platform publishing, build your content automated production line with zero code
Beginner · 30 min · Apr 29, 2026
Tutorial Objectives
In 30 minutes, complete a complete AI content automated distribution system. From RSS feed monitoring, AI rewriting and polishing, to automatic publishing to WeChat public accounts and websites. This article is a complete step-by-step tutorial that you can get started with.
What will you build?
- Automated Content Collector: Scan designated RSS sources regularly to grab the latest articles
- AI Content Rewriting Engine: Use ChatGPT API to summarize, rewrite, and localize the original text
- Multi-platform automatic distribution: The rewritten content will be automatically stored in the draft box for you to review and publish.
Preparation list
- n8n account (self-hosting is free, or use n8n Cloud hosting version, monthly fee starts at $20)
- OpenAI API Key (requires ChatGPT API access permission)
- RSS source address (at least 1-2 industry sites you follow)
- Basic understanding of HTTP/Webhook concepts (zero foundation is also acceptable, just follow the steps)
Overall architecture
The teaching process is broken down into 4 modules and can be advanced in order.
| Module | Input | Output | Estimated time |
|---|---|---|---|
| RSS Monitoring Configuration | RSS Feed URL | Structured Article List | 8 Minutes |
| AI content rewriting | Original article text | Rewritten Chinese summary + adapted copy | 10 minutes |
| Content storage | Overwrite results | Store in Google Sheets / Airtable | 7 minutes |
| Automatic notification | New content signal | Push notification to WeChat/Telegram | 5 minutes |
Step 1: Build the n8n workflow basic framework
First log into your n8n instance. If you are using self-hosting, access http://localhost:5678 to enter the editor. If it is n8n Cloud (recommended for novices to save server operation and maintenance costs), log in directly on the official website.
After creating a new workflow, the first step is to configure the RSS Feed Read node:
- Enter "RSS" in the node search bar and select the RSS Feed Read node
- Enter your RSS source address in the
URLfield (e.g.https://example.com/feed.xml) - Set
Polling Intervalto every 1 hour (Every Hour) - Click "Execute Node" to test the connection and confirm that the article list can be successfully pulled.
Tip: When testing for the first time, it is recommended to choose an actively updated RSS source, such as the feed of a well-known technology blog. Do not set the frequency too short (less than 30 minutes) to avoid triggering source site current limiting.
The output data structure is as follows:
{
"title": "原文标题",
"content": "原文正文(HTML 格式)",
"link": "原文链接",
"pubDate": "2026-04-29T00:00:00.000Z"
}第 2 步:配置 AI 内容改写引擎
这一节是核心——用 ChatGPT API 自动将原文改写为适合中文读者阅读的本地化内容。
添加 OpenAI 节点(n8n 需要先配置 OpenAI 凭证,在 Credentials 里填入你的 API Key):
| 配置项 | 值 | 说明 |
|---|---|---|
| Model | gpt-4o-mini | 性价比最高,改写任务绰绰有余 |
| Temperature | 0.3 | 低温度确保输出稳定,不过度自由发挥 |
| Max Tokens | 2000 | 控制单次输出长度 |
在 Messages 字段配置 System Prompt:
你是一个专业的中文内容编辑。你的任务是将输入的英文/中文文章改写成适合微信公众号发布的中文摘要。要求:
1. 保留原文核心信息和数据
2. 用中文读者习惯的表达方式重组
3. 控制在 300-500 字以内
4. 风格简洁、信息密度高
5. 提炼出 3 个关键要点作为 bullet pointsUser Message 引用 RSS Read 节点的输出字段:{{ $json.content }}
提示:如果原文过长超过 token 限制,可以在前面加一个「HTML to Text」节点先行清理格式,减少 tokens 消耗。
推荐使用 n8n 的托管服务(affiliate link)来运行这个工作流,省去自己维护服务器的时间和精力,让你专注于内容策略。
第 3 步:设计数据结构与存储方案
改写完成后,需要将结构化的数据存储起来供后续使用。这里推荐用 Google Sheets 作为数据存储层——免费、可人工编辑、也适合非技术运营人员查看。
添加 Google Sheets 节点:
- 先配置 Google Sheets OAuth2 凭证(n8n 内置引导流程)
- 选择 Operation:
Append or Update Row - 配置列映射:
| 列名 | 值来源 | 说明 |
|---|---|---|
| 采集时间 | {{ $now }} | 自动打时间戳 |
| 原文标题 | {{ $json.title }} | 从 RSS 节点来 |
| 改写摘要 | {{ $json.choices[0].message.content }} | 从 OpenAI 节点来 |
| 原文链接 | {{ $json.link }} | 保留来源方便校对 |
| 状态 | To be reviewed | 固定值,方便人工追踪 |
这样一来,每次新文章被捕获并改写后,会自动新增一行数据。运营人员可以每天打开 Google Sheets 查看,审核后手动发布。
第 4 步:配置实时通知(微信 / Telegram)
内容来了不能等第二天才知道。配置通知节点让你第一时间收到新内容的推送。
添加 Telegram 节点(或者用 Webhook 对接其他平台):
- 创建 Telegram Bot(通过 @BotFather),获取 Bot Token
- 在 n8n 中配置 Telegram Credentials
- 设置 Message 内容:
📩 新内容已采集并改写完成
标题:{{ $json.title }}
摘要:{{ $json.choices[0].message.content }}
请前往 Google Sheets 审核发布。如果你习惯用微信接收通知,可以用 Webhook 对接企业微信机器人,原理相同。
常见问题排查(FAQ)
Q1:RSS 节点抓不到内容怎么办?
先手动访问 RSS URL 确认源站是可访问的。有些站点需要 User-Agent 头——你可以在 RSS Feed Read 节点的高级选项里自定义 HTTP Headers。如果源站使用 JavaScript 渲染内容(如 Medium 的部分站点),RSS 方式可能无效,建议改用 n8n 的 HTML 抓取节点配合 CSS Selector。
Q2:OpenAI API 返回超时或 Rate Limit?
gpt-4o-mini 的速率限制较高,但如果你的 RSS 源一次性返回 50 篇文章(比如周报聚合),建议在前面加一个「Split In Batches」节点,每批只处理 5 篇,批次之间间隔 1 秒。
Q3:Google Sheets 写入失败?
最常见的原因是 OAuth token 过期。在 n8n 的 Credentials 管理中重新授权即可。另外确保你的 Google Sheets 表头行(Header Row)与配置的列名一致,不要有空格或特殊字符。
Q4:这个工作流能直接自动发布到微信公众号吗?
可以扩展。在 Google Sheets 之后再加一个 Webhook 节点,对接微信公众平台的草稿箱 API(需要微信认证的服务号)。不过出于内容质量考虑,建议保留人工审核环节。有人实践成功:数据分析师用 Claude Code + n8n 搭建自动化报表 SaaS,月入 $3,800 的真实案例,他的核心思路就是这个自动化工作流思路。
SEO+GEO:FAQ 结构满足 GEO 提取偏好,同时覆盖长尾搜索词
工具词条(触发工具悬浮卡)
正文中自然出现的工具名,平台侧会匹配已维护 tools 库生成 hover-card:
n8n、OpenAI、ChatGPT、Claude、Webhook、Google Sheets
Reference video/material
Internal link guidance
- Someone has successfully practiced it: 数据分析师用 Claude Code + n8n 搭建自动化报表 SaaS,月入 $3,800 的真实案例
- Recommended reading: 独立开发者用 n8n + OpenClaw 搭建自动化工作流,月入 5000 美元的实战案例
Related tutorials
AI Coding Agents Complete Guide: Setup, Security, Workflow & Case Studies
If you are researching AI coding agents and want to know which one to use, how to set it up safely, and what real developers are building with them — this hub organizes every tutorial, case study, and comparison we have published. Start with the decision guide below to find the right path for your skill level and goals.
AI Micro SaaS FAQ: 25 Common Questions Answered (2026)
Everything you need to know about building and profiting from AI Micro SaaS products. This FAQ covers idea generation, tech stack choices, pricing strategy, marketing on a $0 budget, legal considerations, and scaling from $100 to $10K MRR. Based on real case studies and data from successful solo builders using Claude Code, Cursor, and other AI coding tools.
Topic hub
YouTube AI Content Policy Hub
Answer-style evergreen hub for AI labels, auto detection, and disclosure—not just breaking news.
Explore YouTube AI Content Policy Hub →Monetization angle
How can you make money from this trend?
WayToClawEarn focuses on verified earn playbooks—not just news. Start from these cases.
n8n + OpenAI affiliate site
Automate content and affiliate monetization
Claude + n8n automation agency
Charge monthly for agent workflow builds