Day 18Creative & ContentNewsletterRSSGPT-4

Newsletter Auto-Pilot — AI Agent for trending news curation

Authority-building via automated trending news curation.

Impact

Authority-building via automated trending news curation.

Mechanism

Daily News RSS Triage

DAY 18
Full README · Case Study

📰 AI Newsletter Automation System

Day 18 of the 30-Agents Automation Journey

"Most newsletters don’t fail because content is bad—they fail because the system behind them is inefficient."


🆚 The Revolution: Manual vs. Automated

Why work harder when you can work smarter? See the difference:

Feature🐢 The Old Way (Manual)🐰 The Agent Way (Automated)
ResearchSpend hours scrolling Twitter/News🤖 Instant web scraping & filtering
CurationGuessing what readers want🧠 AI-scored relevance & value
DraftingWriter's block & typos✍️ Perfectly formatted HTML drafts
TimingSending whenever you finishPrecise 8:00 AM delivery
Scalability1 newsletter = 1 day of work🚀 Infinite scale with 0 effort

👶 Explain Like I'm 5 (The "Kid Mode")

CLICK TO OPEN THE STORY BOOK 📖

Imagine you have a Robot Friend named "News-Bot 3000". 🤖

  1. Wake Up! ⏰ Every morning while you are sleeping, News-Bot wakes up.

  2. Treasure Hunt 🗺️ He flies around the internet looking for "treasure" (cool news stories).

  3. The Judge ⚖️ He puts on his glasses and reads the stories. If a story is boring, he throws it in the trash! 🗑️ If it's cool, he keeps it.

  4. The Artist 🎨 He takes the cool stories and paints a beautiful picture (the email) with colors and boxes.

  5. The Mailman 📬 He drops the letter in your mailbox so it's ready when you wake up!

You didn't do anything. The robot did everything! 🎉


⚙️ Technical Architecture

This system is a sophisticated pipeline composed of 6 key stages.

The Hands ✋

The Brain 🧠

Every Day @ 8am

URLs

Raw Text

Batch Data

Selected Topics

Final HTML

⏰ Schedule Trigger

🌍 Web Search

🕷️ Web Scraper

📊 Google Sheets Aggregation

🧠 GPT-4 Analysis Agent

📝 HTML Generator

💌 Gmail Draft/Send

🔬 Deep Dive into the Nodes

Node TypeFunctionConfiguration Needed
Cron TriggerInitiates the workflow daily.Set time (e.g., 0 8 * * *).
Google SearchFinds relevant URLs based on keywords.API Key + Search Engine ID.
HTML ExtractScrapes body text from URLs.CSS Selectors (e.g., p, article).
OpenAI (GPT-4)Analyzes content for relevance.API Key + Prompt Engineering.
Google SheetsStores raw data & history.Sheet ID + Range.
GmailSends the final output.OAuth2 Credentials.

� Quick Start Guide

Ready to build your empire? Follow these steps exactly.

Phase 1: Preparation 🛠️

You need these 3 keys before we start. Collect them now!

  1. OpenAI API Key: Get it here
  2. Google Cloud Console: Enable Sheets & Gmail APIs.
  3. n8n Instance: Self-hosted or Cloud.

Phase 2: The Setup 🏗️

1. Import the Blueprint

  • Download Newsletter System.json.
  • In n8n, go to Workflows > Import from File.
  • Select the file.

2. Configure Credentials

  • OpenAI: Paste your sk-... key.
  • Google: Sign in with OAuth2 for both Sheets and Gmail.

3. Prepare the Database

Create a new Google Sheet with these exact headers in Row 1:

ABCDE
DateTitleLinkSummaryScore

4. Customize the AI Brain 🧠

Open the AI Agent node. You will see a "System Prompt". Change it to fit your niche!

Example for a Crypto Newsletter:

text
You are a crypto expert. Ignore generic news. 
Focus on: Bitcoin price action, major regulation, and DeFi hacks.
Tone: Professional but urgent.

📊 What the AI Evaluates

The system doesn't just "summarize". It thinks.

  • Topic Relevance: Does this match the user's niche?
  • Trend Potential: Is this story going viral?
  • Value: Does it teach the reader something?
  • Context: Is it old news or breaking news?

💬 Troubleshooting & Support

❌ The workflow failed! What do I do?

  1. Check Credentials: 90% of errors are bad API keys. Re-connect them.
  2. Check Quotas: Did you run out of OpenAI credits?
  3. Check Selectors: If the scraper returns empty text, the website might block bots. Try a different source.

📧 Emails are going to Spam!

  • Make sure you are not sending too many emails at once.
  • Add an "Unsubscribe" link in your HTML template (the AI can do this!).

� Ideal For

Solo CreatorsAgenciesSaaS FoundersCommunity Managers

⬆️ Back to Top

Explore more agents

30 open-source systems · full registry

Browse All 30 Agents