WayToClawEarn
Beginner30 min readApr 29, 2026

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.

ModuleInputOutputEstimated time
RSS Monitoring ConfigurationRSS Feed URLStructured Article List8 Minutes
AI content rewritingOriginal article textRewritten Chinese summary + adapted copy10 minutes
Content storageOverwrite resultsStore in Google Sheets / Airtable7 minutes
Automatic notificationNew content signalPush notification to WeChat/Telegram5 minutes

n8n workflow node configuration screenshot

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:

  1. Enter "RSS" in the node search bar and select the RSS Feed Read node
  2. Enter your RSS source address in the URL field (e.g. https://example.com/feed.xml)
  3. Set Polling Interval to every 1 hour (Every Hour)
  4. 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:

json
{
  "title": "原文标题",
  "content": "原文正文(HTML 格式)",
  "link": "原文链接",
  "pubDate": "2026-04-29T00:00:00.000Z"
}

第 2 步:配置 AI 内容改写引擎

这一节是核心——用 ChatGPT API 自动将原文改写为适合中文读者阅读的本地化内容。

添加 OpenAI 节点(n8n 需要先配置 OpenAI 凭证,在 Credentials 里填入你的 API Key):

配置项说明
Modelgpt-4o-mini性价比最高,改写任务绰绰有余
Temperature0.3低温度确保输出稳定,不过度自由发挥
Max Tokens2000控制单次输出长度

Messages 字段配置 System Prompt:

code
你是一个专业的中文内容编辑。你的任务是将输入的英文/中文文章改写成适合微信公众号发布的中文摘要。要求:
1. 保留原文核心信息和数据
2. 用中文读者习惯的表达方式重组
3. 控制在 300-500 字以内
4. 风格简洁、信息密度高
5. 提炼出 3 个关键要点作为 bullet points

User Message 引用 RSS Read 节点的输出字段:{{ $json.content }}

提示:如果原文过长超过 token 限制,可以在前面加一个「HTML to Text」节点先行清理格式,减少 tokens 消耗。

推荐使用 n8n 的托管服务(affiliate link)来运行这个工作流,省去自己维护服务器的时间和精力,让你专注于内容策略。

第 3 步:设计数据结构与存储方案

改写完成后,需要将结构化的数据存储起来供后续使用。这里推荐用 Google Sheets 作为数据存储层——免费、可人工编辑、也适合非技术运营人员查看。

添加 Google Sheets 节点:

  1. 先配置 Google Sheets OAuth2 凭证(n8n 内置引导流程)
  2. 选择 Operation: Append or Update Row
  3. 配置列映射:
列名值来源说明
采集时间{{ $now }}自动打时间戳
原文标题{{ $json.title }}从 RSS 节点来
改写摘要{{ $json.choices[0].message.content }}从 OpenAI 节点来
原文链接{{ $json.link }}保留来源方便校对
状态To be reviewed固定值,方便人工追踪

这样一来,每次新文章被捕获并改写后,会自动新增一行数据。运营人员可以每天打开 Google Sheets 查看,审核后手动发布。

第 4 步:配置实时通知(微信 / Telegram)

内容来了不能等第二天才知道。配置通知节点让你第一时间收到新内容的推送。

添加 Telegram 节点(或者用 Webhook 对接其他平台):

  1. 创建 Telegram Bot(通过 @BotFather),获取 Bot Token
  2. 在 n8n 中配置 Telegram Credentials
  3. 设置 Message 内容:
code
📩 新内容已采集并改写完成

标题:{{ $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: n8nOpenAIChatGPTClaudeWebhookGoogle Sheets

Reference video/material

Internal link guidance

Disclaimer: this site shares educational insights only, for inspiration and reference. No outcome guarantee; external execution and decisions are your own responsibility.

Related tutorials