What This Workflow Does
This automation solves the time-consuming problem of creating engaging weekly newsletters from scratch. Instead of spending hours researching, writing, and formatting, this workflow automatically combines your company's latest blog posts with relevant external news using Tavily's research capabilities, then uses Google's Gemini AI to write professional newsletter content, and finally sends beautifully formatted HTML emails through Gmail.
The system runs on a schedule (default weekly) to ensure consistent delivery without manual intervention. It maintains your brand voice while incorporating fresh, relevant content that keeps subscribers engaged. For businesses sending regular updates to customers, investors, or team members, this represents a complete automation of what typically takes 5-10 hours of work each week.
How It Works
1. Scheduled Trigger & Configuration
The workflow begins with a schedule trigger set to run weekly (configurable to daily, bi-weekly, or monthly). A "Set" node contains all your newsletter configuration: topic focus, company blog URL, newsletter name, author information, and branding elements like logo URLs and subscription links.
2. Dual-Stream Research with Tavily
Tavily simultaneously searches two sources: your internal blog/website for recent company updates and external sources (industry news, competitor updates, market trends) related to your configured topic. This parallel research ensures your newsletter contains both proprietary insights and relevant external context.
3. AI Content Generation with Gemini
Google Gemini processes the research results to create a complete newsletter with: a personalized introduction, a "Company Updates" section summarizing your latest blog posts, a "Curated News" section analyzing external findings, and a professional conclusion with calls-to-action. The AI maintains consistent tone and formatting.
4. HTML Template Assembly
The generated content merges with a professional HTML email template that includes your branding, responsive design for all devices, and proper email client compatibility. The template ensures consistent visual presentation regardless of the AI-generated content variations.
5. Gmail Delivery & Error Handling
Gmail sends the formatted newsletter to your subscriber list with proper headers, unsubscribe links, and tracking parameters. The workflow includes error handling for API limits, connection issues, and formatting problems with automatic retry logic and failure notifications.
Who This Is For
This template is ideal for content marketers, startup founders, agency owners, and community managers who need to maintain regular communication with their audience but lack the time for manual newsletter creation. Specifically:
- SaaS companies keeping users informed about product updates
- Agency owners sharing industry insights with clients
- Content creators distributing curated knowledge to subscribers
- Startup founders communicating with investors and stakeholders
- Community managers engaging member bases with relevant updates
What You'll Need
- Tavily API Key (free tier available) for web research capabilities
- Google Gemini API Key (free tier available) for AI content generation
- Gmail Account with API access enabled for email delivery
- n8n instance (cloud or self-hosted) to run the workflow
- Your company blog URL or internal content source for updates
- Subscriber email list (can start with a small test group)
Pro tip: Use Tavily's advanced search filters to exclude specific domains or prioritize certain sources. This ensures your external research focuses on high-quality, relevant publications rather than generic news aggregators.
Quick Setup Guide
- Download and import the JSON template into your n8n instance
- Configure the "Set newsletter config" node with your topic, blog URL, newsletter name, and branding elements
- Add API credentials for Tavily, Google Gemini, and Gmail in their respective nodes
- Test with a single recipient using the manual execute button to verify formatting and content quality
- Adjust the schedule trigger to match your desired frequency (weekly is recommended for most use cases)
- Update the recipient list in the Gmail node with your actual subscriber emails
- Activate the workflow and monitor the first few automated sends for any adjustments
Key Benefits
Save 5-10 hours weekly on newsletter creation by automating research, writing, and formatting tasks that typically require manual effort from marketing teams or content creators.
Maintain consistent quality with AI-generated content that follows your brand guidelines and maintains professional tone, eliminating the variability of human-written newsletters during busy periods.
Improve engagement rates through timely, relevant content that combines your proprietary insights with curated external news, providing unique value subscribers can't find elsewhere.
Scale effortlessly from dozens to thousands of subscribers without additional time investment—the automation handles list growth seamlessly.
Gain competitive insights through Tavily's external research that monitors industry trends and competitor activities automatically as part of your newsletter process.