使用Claude、GPT-4o和OpenAI TTS将新闻标题转换为音频新闻简报
高级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 18 个节点。主要使用 Gmail, SplitOut, Aggregate, HttpRequest, Agent 等节点。 使用Claude、GPT-4o和OpenAI TTS将新闻标题转换为音频新闻简报
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "cbbe3d07d282d90d2165a7ab7800571be416166e6eb660e7a28cfe9b84473f49",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "39081db1-dab2-4453-beac-af3217697b44",
"name": "获取最新新闻",
"type": "n8n-nodes-base.httpRequest",
"position": [
128,
-144
],
"parameters": {
"url": "https://newsapi.org/v2/top-headlines?country=us&apiKey=YOUR_NEWSAPI_KEY",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "8c1ccc13-3ec3-486d-b087-77cb36d74ec9",
"name": "分离输出",
"type": "n8n-nodes-base.splitOut",
"position": [
352,
-144
],
"parameters": {
"options": {},
"fieldToSplitOut": "articles"
},
"typeVersion": 1
},
{
"id": "3ec09b1c-bbc6-4508-b96d-7c90f8275e92",
"name": "模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
176,
192
],
"parameters": {
"model": "anthropic/claude-3.7-sonnet",
"options": {}
},
"credentials": {
"openRouterApi": {
"id": "PnhGPHp7RqMOPhZN",
"name": "OpenRouter account"
}
},
"typeVersion": 1
},
{
"id": "e2058424-6d9c-49e4-be50-5d59ec6d1a78",
"name": "聚合",
"type": "n8n-nodes-base.aggregate",
"position": [
416,
112
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"renameField": true,
"outputFieldName": "news",
"fieldToAggregate": "output"
}
]
}
},
"typeVersion": 1
},
{
"id": "a71b5a13-55d3-4b8e-9cee-98366151c66c",
"name": "每日新闻提取器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-112,
112
],
"parameters": {
"text": "=News Details:\nAuthor - {{ $json.author }}\ntitle - {{ $json.title }}\ndescription - {{ $json.description }}\ncontent - {{ $json.content }}\npublish date - {{ $json.publishedAt }}\n\n",
"options": {
"systemMessage": "take the details and rewrite a newsletter post\n\ninclude the date, and author too, let it blend in\n"
},
"promptType": "define"
},
"typeVersion": 2.2
},
{
"id": "aaf4f384-e63e-4eb3-a1a9-a55e0ad90c99",
"name": "新闻简报代理",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-144,
448
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "GPT-4O-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "={{ $json.news.toJsonString() }}"
},
{
"role": "assistant",
"content": "=Rewrite all this newsletter into a 2-minute script that will be transcribe into audio \n\ndont put spcial characters, because a audio will transcribe the text to audio\n\nyou can start with Max here bring you the top new around the world"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "BmIUKpYmW7YRSbaU",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "414c2613-c7f7-4548-a756-767729a17b23",
"name": "转录新闻简报",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
176,
448
],
"parameters": {
"input": "={{ $json.message.content }}",
"options": {},
"resource": "audio"
},
"credentials": {
"openAiApi": {
"id": "BmIUKpYmW7YRSbaU",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "9dcb3abc-bfad-434f-b951-7326ad78c03c",
"name": "通知订阅者",
"type": "n8n-nodes-base.gmail",
"position": [
432,
448
],
"webhookId": "5ce3da89-caad-4f21-a6bf-3acf3b80b4f0",
"parameters": {
"sendTo": "YOUR_EMAIL@example.com",
"message": "=Dear Sir,\n\n\nKindly Find the Latest News for {{ $now.format('yyyy-MM-dd') }}\n\n\nRegards,\nMax,\nYour business name",
"options": {
"attachmentsUi": {
"attachmentsBinary": [
{}
]
},
"appendAttribution": false
},
"subject": "=Top News Headline for {{ $now.format('yyyy-MM-dd') }}",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "VI8hpbWunRMMvR6a",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "958391a6-215a-4c51-9209-82a3d465bbbd",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1024,
-256
],
"parameters": {
"width": 800,
"height": 848,
"content": ""
},
"typeVersion": 1
},
{
"id": "def6a9ac-6cfd-48d0-958d-5c98084daf4c",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-96,
-144
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "5f453ec6-55dc-4b2b-b0b1-2a31c36fa41d",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
-272
],
"parameters": {
"color": 6,
"width": 256,
"height": 272,
"content": "### 步骤 1:每日新闻计划"
},
"typeVersion": 1
},
{
"id": "8137fa81-242a-4ccf-91bc-9b24b11b5cb7",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-272
],
"parameters": {
"color": 3,
"height": 272,
"content": "### 步骤 2:获取新闻头条"
},
"typeVersion": 1
},
{
"id": "4c9d24e5-ce3d-41e2-b90a-990abb66a9e0",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
-272
],
"parameters": {
"color": 4,
"height": 272,
"content": "### 步骤 3:数据提取"
},
"typeVersion": 1
},
{
"id": "4f750a45-2f6f-4d25-a050-6c3920413dd4",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
16
],
"parameters": {
"color": 5,
"width": 512,
"height": 272,
"content": "### 步骤 4:AI 内容处理"
},
"typeVersion": 1
},
{
"id": "d33eb059-8c5c-4ac9-9796-25198bd8e56c",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
16
],
"parameters": {
"color": 2,
"height": 272,
"content": "### 步骤 5:数据转换"
},
"typeVersion": 1
},
{
"id": "77a05457-303d-425a-a7d7-2ec9d07b437b",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
304
],
"parameters": {
"color": 4,
"width": 304,
"height": 320,
"content": "### 步骤 6:脚本生成"
},
"typeVersion": 1
},
{
"id": "a27adfed-7bd7-4321-b955-fcfedede7718",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
128,
304
],
"parameters": {
"color": 5,
"width": 192,
"height": 320,
"content": "### 步骤 7:文本转语音转换"
},
"typeVersion": 1
},
{
"id": "809ec6c2-b8d6-42ac-ad1c-ecb34ee06fe7",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
304
],
"parameters": {
"color": 6,
"height": 320,
"content": "### 步骤 8:邮件发送"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Model": {
"ai_languageModel": [
[
{
"node": "Daily News Extractor",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Newsletter Agent",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Daily News Extractor",
"type": "main",
"index": 0
}
]
]
},
"Get Latest News": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"Newsletter Agent": {
"main": [
[
{
"node": "Transcribe Newsletter",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get Latest News",
"type": "main",
"index": 0
}
]
]
},
"Daily News Extractor": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Transcribe Newsletter": {
"main": [
[
{
"node": "Notify Subscriber",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
TikTok轮播复制器与翻译器
使用Gemini Vision和Midjourney自动翻译并重新创建TikTok轮播内容
If
Wait
Gmail
+11
21 节点Xavier Tai
内容创作
使用GPT-5和fal.ai图像从关键词到WordPress自动化SEO博客流程
使用GPT-5和fal.ai图像从关键词到WordPress自动化SEO博客流程
Set
Code
Wait
+20
96 节点Paul
内容创作
使用Perplexity和GPT为WordPress创建SEO优化博客,包含关键词和媒体
使用Perplexity和GPT为WordPress创建SEO优化博客,包含关键词和媒体
Set
Code
Limit
+22
124 节点Paul
内容创作
使用特定工具为WordPress创建SEO优化博客
使用特定工具为WordPress创建SEO优化博客
Set
Code
Limit
+22
124 节点Paul
内容创作
AI驱动股票交易自动化
使用AI技术分析和Alpaca交易自动化股票交易
Set
Code
Gmail
+24
96 节点Paul
加密货币交易
WordPress + 社交媒体
基于GPT/Gemini和WordPress的自动化博客创建与多平台发布
If
Set
Switch
+18
44 节点Khairul Muhtadin
内容创作
工作流信息
难度等级
高级
节点数量18
分类2
节点类型9
作者
Abideen Bello
@bideenData/Automation consultant with experience helping Sales & Marketing teams to streamline their processes. Use my link to book an initial consultation for custom n8n work.
外部链接
在 n8n.io 查看 →
分享此工作流