Curate and send weekly AI newsletters with Tavily, Gemini, and Gmail
UnknownWhat this workflow does
This AI workflow has 13 nodes and runs on a schedule (every 7 days at 09:00). Along the way it connects Gmail, Google Gemini Chat Model and Tavily (community).
How it runs
Trigger: On a schedule (every 7 days at 09:00).
- Set newsletter config (Edit Fields (Set)): sets 9 fields: topic, company_blog_url, logo_url…
- Search external news (Tavily) (Tavily): uses Tavily
- Search company blog (Tavily) (Tavily): uses Tavily
- Extract news results (Edit Fields (Set)): sets 1 field: news_results
- Extract blog results (Edit Fields (Set)): sets 1 field: blog_results
- Combine search results (Merge): merges the data from its input branches
- Aggregate all articles (Code): runs custom JavaScript code
- Load email template (Code): runs custom JavaScript code
- Generate newsletter content (AI Agent): runs an AI agent, with model: Gemini 1.5 Flash
- Build final email (Code): runs custom JavaScript code
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @tavily/n8n-nodes-tavily is verified or supports 3.0 (used in Search company blog (Tavily), Search external news (Tavily)).
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - Tavily
@tavily/n8n-nodes-tavily.tavily - Merge
n8n-nodes-base.merge - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
What this workflow does Automatically curates and sends a weekly newsletter by combining your internal blog posts with external news. The workflow researches your topic using Tavily, has Gemini write professional newsletter content, and delivers a beautifully…