Create curated newsletters from Reddit discussions with GPT-4o Mini and Gmail
๐ฐ Reddit to Newsletter (Automated Curation with Open AI 4o Mini ) Turn the best posts from a subreddit into a ready-to-send HTML newsletter โ no copy-pasting, no wasted time. This workflow fetches new posts, filters ...
Template notes
๐ฐ Reddit to Newsletter (Automated Curation with Open AI 4o Mini )
Turn the best posts from a subreddit into a ready-to-send HTML newsletter โ no copy-pasting, no wasted time. This workflow fetches new posts, filters by topic of interest, analyzes comments, summarizes insights, and composes a clean HTML email delivered straight to your inbox with Gmail.
---
๐ก What this workflow does - โ Fetches posts from your chosen subreddit (default: r/microsaas, sorted by โnewโ) - ๐ Selects the Top 10 by upvotes, comments, and recency - ๐งญ Defines a topic of interest and runs a lightweight AI filter (true/false) without altering the original JSON - ๐ฌ Pulls and flattens comments into a clean, structured list - ๐ง Summarizes each post + comments into mainpostsummary, commentinsights, and keylearnings - โ๏ธ Generates a newsletter in HTML (not Markdown) with headline, outline, sections per post, quotes, and โby the numbersโ - ๐ค Sends the HTML email via Gmail with subject โReddit Digestโ (editable)
---
๐ What youโll need - ๐ Reddit OAuth2 connected in n8n - ๐ OpenAI API key (e.g., gpt-4o-mini) for filtering and summarization - ๐ Gmail OAuth2 to deliver the newsletter - ๐งต A target subreddit and a clearly defined topic of interest
---
๐งฉ How it works (high-level) 1. Manual Trigger โ Get many posts (from subreddit) 2. Select Top 10 (Code node, ranking by ups + comments + date) 3. Set topic of interest โ AI filter โ String to JSON โ If topic of interest 4. Loop Over Items for each valid post 5. Fetch post comments โ Clean comments (Code) โ Merge comments โ Merge with post 6. Summarize post + comments (AI) โ Merge summaries โ Create newsletter HTML 7. Send Gmail message with the generated HTML