通过Tavily和Gemini自动化每周好莱坞电影简报
中级
这是一个Social Media, AI Summarization领域的自动化工作流,包含 11 个节点。主要使用 Gmail, Agent, HttpRequestTool, ScheduleTrigger, LmChatGoogleGemini 等节点。 通过Tavily和Gemini自动化每周好莱坞电影简报
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
- •Google Gemini API Key
使用的节点 (11)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "oca5MgiXvuk6uO9B",
"meta": {
"instanceId": "9c8f658dbece48b519a8ad7757c7d7db7a30c5f3fd29c9dc8afae32fe0c7711a",
"templateCredsSetupCompleted": true
},
"name": "通过 Tavily 和 Gemini 自动化每周好莱坞电影简报",
"tags": [],
"nodes": [
{
"id": "33bd06d0-a733-47d0-88ea-d921780bc4a9",
"name": "发送消息",
"type": "n8n-nodes-base.gmail",
"position": [
1504,
0
],
"webhookId": "68887666-c2da-4012-8d34-1713fb13960d",
"parameters": {
"sendTo": "titanfactz@gmail.com",
"message": "={{ $json.output.body }}",
"options": {},
"subject": "={{ $json.output.subject }}"
},
"credentials": {
"gmailOAuth2": {
"id": "tgaDxPWU6CLLz8ly",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "49971303-18e4-4c16-b007-061cc84dbf62",
"name": "好莱坞新闻研究代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
736,
0
],
"parameters": {
"text": "=You are an AI summarizer creating a daily Hollywood film industry briefing.\n\nYou will receive four Tavily search results:\n- Hollywood movies releasing this week\n- Hollywood box office results last week\n- Hollywood news\n- Must‑watch Hollywood movies currently in theatres\n\nEach result contains `title` and `content`.\n\n---\n\n### TASK\nSummarize each result into Gmail‑friendly HTML with emojis and bullet points:\n\n🎬 Releases \n📊 Box Office \n📰 News \n🎥 Must-Watch Movies \n\nFor **Must-Watch Movies**:\n- If details (reviews/hype) exist, summarize them briefly.\n- If only movie names appear, **assume reasons** (e.g., “great for IMAX/4DX,” “big visual effects,” “audience buzz,” or “fan‑favorite franchise”).\n\nIf no data at all, write “No data available”.\n\n---\n\n### OUTPUT FORMAT\nReturn JSON:\n{\n \"subject\": \"Daily Hollywood Film Industry Briefing – {{ $json['Readable date'] }}\",\n \"body\": \"<html>\n 🎬 Releases\n <ul><li>Movie 1</li></ul>\n 📊 Box Office\n <ul><li>Result 1</li></ul>\n 📰 News\n <ul><li>Update 1</li></ul>\n 🎥 Must-Watch Movies\n <ul><li>Recommendation 1 with assumed reason (if needed)</li></ul>\n </html>\"\n}\n",
"options": {},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2.1
},
{
"id": "13a2e59f-09f9-45f4-8751-6ac14c2957b6",
"name": "获取每周新片(Tavily)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
512,
224
],
"parameters": {
"url": "https://api.tavily.com/search",
"method": "POST",
"options": {},
"jsonBody": "={\n \"query\": \"hollywood movies releasing this week\",\n \"search_depth\": \"basic\",\n \"time_range\": \"week\",\n \"max_results\": 5\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "{{$credentials.TavilyApiKey}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "59d02c90-23b9-4837-836a-e47357c043bf",
"name": "获取每周票房(Tavily)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
704,
224
],
"parameters": {
"url": "https://api.tavily.com/search",
"method": "POST",
"options": {},
"jsonBody": "={\n \"query\": \"hollywood box office results last week\",\n \"search_depth\": \"basic\",\n \"time_range\": \"week\",\n \"max_results\": 5\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "{{$credentials.TavilyApiKey}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "5bbbfe58-2e1f-47ab-a76c-86a98a2e82ee",
"name": "获取好莱坞新闻(Tavily)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
896,
224
],
"parameters": {
"url": "https://api.tavily.com/search",
"method": "POST",
"options": {},
"jsonBody": "={\n \"query\": \"hollywood news latest casting director production\",\n \"search_depth\": \"basic\",\n \"time_range\": \"week\",\n \"max_results\": 5\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "{{$credentials.TavilyApiKey}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "f126d4d3-ff36-46bc-9fba-6a6035db4068",
"name": "获取必看电影(Tavily)",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
1088,
224
],
"parameters": {
"url": "https://api.tavily.com/search",
"method": "POST",
"options": {},
"jsonBody": "={\n \"query\": \"best hollywood movies playing in theatres\",\n \"search_depth\": \"basic\",\n \"time_range\": \"week\",\n \"max_results\": 5\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "{{$credentials.TavilyApiKey}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "465e0a1c-648d-4960-b476-fd6502d9e5ed",
"name": "格式化邮件输出",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1296,
224
],
"parameters": {
"jsonSchemaExample": "{\n \"subject\": \"Daily Hollywood Film Industry Briefing – July 25, 2025\",\n \"body\": \"<html> ... formatted content ... </html>\"\n}\n"
},
"typeVersion": 1.3
},
{
"id": "11dacc4f-424c-467b-91c3-8fb86f30ab12",
"name": "每周四触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
144,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "weeks",
"triggerAtDay": [
4
],
"triggerAtHour": 7
}
]
}
},
"typeVersion": 1.2
},
{
"id": "52a88f90-5dcf-4a9e-ad46-2a499da4049c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-512,
-400
],
"parameters": {
"width": 576,
"height": 992,
"content": "## 试试看!🎬"
},
"typeVersion": 1
},
{
"id": "aba34eae-8a56-4093-86d4-e7aad9859bc0",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1760,
-400
],
"parameters": {
"color": 7,
"width": 752,
"height": 896,
"content": "## 示例邮件输出"
},
"typeVersion": 1
},
{
"id": "b93ba6e8-080c-48fd-8a19-517e2a985182",
"name": "Google Gemini 2.5 Flash",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
304,
224
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "SuWwLWBsAfrDFgCm",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "dfc3ce2a-95ab-45e2-816b-f35f72fbba05",
"connections": {
"Format Output for Email": {
"ai_outputParser": [
[
{
"node": "Hollywood News Research Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini 2.5 Flash": {
"ai_languageModel": [
[
{
"node": "Hollywood News Research Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Weekly Thursday Trigger": {
"main": [
[
{
"node": "Hollywood News Research Agent",
"type": "main",
"index": 0
}
]
]
},
"Fetch Hollywood News (Tavily)": {
"ai_tool": [
[
{
"node": "Hollywood News Research Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Hollywood News Research Agent": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Fetch Weekly Releases (Tavily)": {
"ai_tool": [
[
{
"node": "Hollywood News Research Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch Must-Watch Movies (Tavily)": {
"ai_tool": [
[
{
"node": "Hollywood News Research Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch Weekly Box Office (Tavily)": {
"ai_tool": [
[
{
"node": "Hollywood News Research Agent",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 社交媒体, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
10 跟踪电子邮件营销活动表现
使用 Bright Data 和 OpenAI 自动化邮件营销活动分析与智能跟进
If
Set
Gmail
+8
17 节点Yaron Been
社交媒体
使用 Jotform、Gemini AI 和 Google Sheets 自动化内部投诉处理
通过 Jotform、Gemini AI 和 Google Sheets 实现内部投诉处理的自动化
If
Gmail
Google Sheets
+7
22 节点iamvaar
工单管理
自动化新闻检索与Telegram广播,使用OpenAI、SerpAPI和LangChain
自动化新闻检索与Telegram广播,使用OpenAI、SerpAPI和LangChain
If
Set
Wait
+15
23 节点DevCode Journey
社交媒体
AI内容侦察 - 每周竞品博客和新闻摘要
每周竞品内容摘要(Gemini和OpenAI、Google Sheets和Firecrawl)
Code
Gmail
Split Out
+9
22 节点Michael Yang
市场调研
AI 自动保存 Gmail 收据
AI自动保存Gmail收据到Google表格和Google云端硬盘
Set
Gmail
Merge
+8
14 节点Matt Chong
发票处理
AI驱动的反馈分诊系统:Jotform到Trello、Airtable和Slack,集成Gemini
AI驱动的反馈分诊系统:Jotform到Trello、Airtable和Slack,集成Gemini
If
Set
Gmail
+9
21 节点Atta
市场调研
工作流信息
难度等级
中级
节点数量11
分类2
节点类型7
作者
Manav Desai
@manavdesai17Exploring AI and automation with n8n. Here to share builds, learn from the community, and create useful workflows together.
外部链接
在 n8n.io 查看 →
分享此工作流