Skip to main content

Create curated newsletters from Reddit discussions with GPT-4o Mini and Gmail

Workflow preview

Workflow preview
100%
Create curated newsletters from Reddit discussions with GPT-4o Mini and Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.reddit, n8n-nodes-base.set, n8n-nodes-base.splitinbatches, n8n-nodes-base.merge, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Luis Acosta.

Original n8n.io source

1.1 Workflow description

Title
Create curated newsletters from Reddit discussions with GPT-4o Mini and Gmail
Workflow name
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 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 main_post_summary, comment_insights, and key_learnings
  • ✍️ 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 TriggerGet many posts (from subreddit)
  2. Select Top 10 (Code node, ranking by ups + comments + date)
  3. Set topic of interestAI filterString to JSONIf topic of interest
  4. Loop Over Items for each valid post
  5. Fetch post commentsClean comments (Code)Merge commentsMerge with post
  6. Summarize post + comments (AI) → Merge summariesCreate newsletter HTML
  7. Send Gmail message with the generated HTML

⚙️ Key fields to adjust

  • Subreddit name and “new” filter in Get many posts
  • Ranking logic inside Top 10 Code node
  • Text inside Set topic of interest
  • Prompts for AI filter, Summarize, and Create newsletter (tone & structure)
  • Recipient & subject line in Send Gmail message

✨ Use cases

  • Weekly digest of your niche community
  • Podcast or newsletter prep with community insights
  • Monitoring specific themes (e.g., “how to get first customers”) and delivering insights to a team or client

🧠 Tips & gotchas

  • ⏱️ Reddit API limits: tune batch size and rate if the subreddit is very active
  • 🧹 Robust JSON parsing: the String to JSON node handles clean, fenced, or escaped JSON; failures return error + raw for debugging
  • 📨 Email client quirks: test long newsletters; some clients clip lengthy HTML
  • 💸 AI cost: the two-step (summarization + HTML generation) improves quality but can be merged to reduce cost

🧭 Quick customization

  • Change microsaas to your target subreddit
  • Rewrite the topic of interest (e.g., “growth strategies”, “fundraising”, etc.)
  • Adapt the newsletter outline prompt for a different tone/format
  • Schedule with a Cron node for daily or weekly digests

📬 Contact & Feedback

Need help tailoring this workflow to your stack?

📩 [email protected]
🐦 @guanchehacker

If you’re building something more advanced with curation + AI (like turning the digest into a podcast or video), let’s connect — I may have the missing piece you need.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get many posts

Type / Role
n8n-nodes-base.reddit - reddit
Config choices
Version 1

Block 3 - Set topic of interest

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - post

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - clean comments

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - merge comments

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - merge summaries

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - create newsletter

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 11 - Summarize post + comments

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 12 - filter topic of interest

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 13 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 14 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note - Summarize post + comments

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note - Merge

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note - merge comments

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note - Send a message

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note - clean comments

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note - Get many comments in a post

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note - create newsletter

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note - post

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note - merge summaries

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note - Loop Over Items

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create curated newsletters from Reddit discussions with GPT-4o Mini and Gmail
Complexity advanced
Nodes 35
Categories Multimodal AI
Author Luis Acosta
Published 21 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7709/7709.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create curated newsletters from Reddit discussions with GPT-4o Mini and Gmail do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Multimodal AI use case.