Write and send AI newsletters automatically
An n8n agent finds a trending AI topic, writes a newsletter with Gemini, formats it and emails it to subscribers without manual work.
- What they did
- A schedule trigger starts an n8n workflow daily or weekly. One Gemini node picks a trending AI topic from the last 24–48 hours, and a second writes a structured HTML newsletter. A JavaScript Code node strips escape characters and metadata. The workflow then reads subscriber emails from a Google Sheet, aggregates them, and sends the email through Gmail.
- How it went
- The article says the workflow runs on schedule with no manual effort and produces a styled email with a gradient header and topic badge. It gives no usage numbers or measured results.
- Worth knowing
- Raw Gemini output needed cleanup code to avoid broken email layouts, and the author advises reviewing the first few outputs manually before fully automating.
Try it yourself with n8n
Build me an n8n workflow that runs every [day/week], finds a trending topic in [niche, e.g. AI] from [sources], and uses Gemini to write a newsletter in this voice: [tone description]. Format it as clean HTML and prepare it to send to my subscriber list in [email tool or sheet]. Before the send step is enabled, pause and show me the full draft and recipient count so I can approve it.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: dev.to · Undated
Related use cases
Orchestrate a multi-phase RAG migration
A walkthrough of using Gemini CLI to coordinate a complex, multi-phase cloud migration project.
Turn reservation calls into calendar bookings
An n8n workflow takes Vapi call transcripts, extracts reservation details, creates Calendar events, logs to Sheets and sends follow-ups.
Play a voice-driven RPG with an AI Dungeon Master
An n8n template agent with persistent memory runs a fantasy RPG over Telegram voice messages, narrating scenes, resolving dice rolls and saving state.
Produce a track in Ableton Live by talking
An MCP server that lets Codex drive Ableton Live, used to write and mix a full song from chat messages.
Draft and schedule a weekly newsletter
A /newsletter command in Claude Code finds the week's posts, drafts in the author's voice, gets approval, then creates and schedules the broadcast in Kit in about two minutes.
Turn PDFs and textbooks into interactive courses
Hassan's agent parses source documents, plans lesson structure via tool calls, picks interactive components, and a Lesson Reviewer agent checks the final course.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.