Automated AI Newsletter Generation with Tavily and OpenRouter
detail.loadingPreview
This workflow automates AI-powered newsletter creation. It uses Tavily for initial research and OpenRouter agents for content generation and editing, sending drafts via Gmail.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow is designed to automate the creation of AI-powered newsletters. It begins by scheduling the workflow execution. Then, it uses the Tavily node to perform initial research on a specified topic. The research results are then split, and the Tavily node is used again to research each of the extracted topics. An "Agent" node, powered by OpenRouter (via Langchain), acts as a "Section Writer" to generate individual newsletter sections based on the research. These sections are then aggregated, and another "Editor Agent" (also using OpenRouter) combines them into a cohesive newsletter with an introduction, conclusion, and proper citations, formatted in HTML. Finally, the generated newsletter content is drafted in Gmail. This workflow solves the problem of manually researching, writing, and formatting newsletters by leveraging AI for efficiency and content quality.
Key Features
- Automated newsletter content generation using AI agents.
- Research capabilities powered by Tavily for up-to-date information.
- Structured output parsing for AI models.
- Content aggregation and professional editing by AI agents.
- HTML formatted newsletter drafts sent to Gmail.
How To Use
- Schedule Trigger: Configure the desired frequency for newsletter generation.
- Initial Research: Set the primary topic for your newsletter in the 'Query' field of the first Tavily node.
- API Keys: Connect your Tavily API key to both Tavily nodes and your OpenRouter API key to the 'OpenRouter Chat Model' nodes.
- Review Agents: Understand the system messages and prompts for the 'Section Writer Agent' and 'Editor Agent' to customize tone and content.
- Gmail Integration: Ensure your Gmail credentials are set up correctly in the 'Create a draft' node, and set the recipient's email address.
- Run Workflow: Execute the workflow to generate a newsletter draft.
Apps Used
Workflow JSON
{
"id": "bcdeb84f-02cb-41b9-8fdb-550ae41d73a5",
"name": "Automated AI Newsletter Generation with Tavily and OpenRouter",
"nodes": 0,
"category": "AI Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: bcdeb84f-02cb...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Master n8n Hacks: Streamline Your Automation with AI
Explore a collection of n8n hacks, demonstrating how to integrate AI nodes like OpenAI and Perplexity for advanced automation. This workflow showcases practical examples of API requests, data manipulation, and dynamic content generation.
AI Earnings Report Analysis with Vector Databases
This n8n workflow empowers an AI agent to analyze earnings reports using Pinecone and Supabase vector databases. It leverages chat triggers and HTTP requests to query and process financial data, providing detailed insights with citations.
Log AI Agent Outputs to Google Sheets and Send Emails
This n8n workflow logs AI agent outputs, including actions and token usage, to a Google Sheet. It also retrieves contacts from Airtable and can create Google Calendar events or send emails.
Automate Live Stream Chat Moderation with AI and n8n
This n8n workflow uses AI to moderate live stream chats by splitting messages, generating embeddings, querying a vector store, and responding via an agent. It logs the interactions to Google Sheets for review.
AI-Powered Ticket Tagging and Evaluation Workflow
Automate ticket categorization and priority assessment using an AI agent. This workflow integrates with Gmail and Google Sheets to evaluate AI performance and track metrics.
Automate Dental Appointment Booking with AI
This n8n workflow automates dental appointment booking using an AI agent. It integrates with Google Calendar to check availability and create appointments based on patient requests.