Skip to main content

Reddit post finder with Google Gemini summarization via Telegram

Workflow preview

Workflow preview
100%
Reddit post finder with Google Gemini summarization via Telegram preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who's it for This template is perfect for content creators, researchers, marketers, and Reddit enthusiasts who want to stay updated on specific topics without manually browsing Reddit. If you need ...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.reddit, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.filter

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Reddit post finder with Google Gemini summarization via Telegram
Workflow name
Reddit post finder with Google Gemini summarization via Telegram

Who's it for

This template is perfect for content creators, researchers, marketers, and Reddit enthusiasts who want to stay updated on specific topics without manually browsing Reddit. If you need curated, AI-summarized Reddit insights delivered directly to your Telegram, this workflow automates the entire process.

What it does

This workflow transforms your Telegram into a powerful Reddit search engine with AI-powered curation. Simply send any keyword to your Telegram bot, and it will:

  • Search Reddit across 4 different sorting methods (top, hot, relevance) to capture diverse perspectives
  • Automatically remove duplicate posts from multiple search results
  • Filter posts based on quality metrics (minimum 50 upvotes, recent content within 15 days, non-empty text)
  • Extract key information: title, upvotes, subreddit, publication date, URL, and content
  • Generate a clean, Telegram-formatted summary using Google Gemini AI
  • Deliver structured results with direct links back to you instantly

The AI summary includes post titles, upvote counts, timestamps, brief insights, and direct Reddit links—all formatted for easy mobile reading.

How it works

Step 1: Telegram Trigger User sends a search keyword via Telegram (e.g., "voice AI agents")

Step 2: Parallel Reddit Searches Four simultaneous Reddit API calls search with different sorting algorithms:

  • Top posts (all-time popularity)
  • Hot posts (trending now)
  • Relevance (best keyword matches)
  • Top posts (duplicate for broader coverage)

Step 3: Merge & Deduplicate All search results combine into one stream, then a JavaScript code node removes duplicate posts by comparing post IDs

Step 4: Field Extraction The Edit Fields node extracts and formats:

  • Post title
  • Upvote count
  • Subreddit name and subscriber count
  • Publication date (converted from Unix timestamp)
  • Reddit URL
  • Post content (selftext)

Step 5: Quality Filtering The Filter node applies three conditions:

  • Minimum 50 upvotes (ensures quality)
  • Non-empty content (excludes link-only posts)
  • Posted within last 15 days (ensures freshness)

Step 6: Data Aggregation All filtered posts aggregate into a single dataset for AI processing

Step 7: AI Summarization Google Gemini AI analyzes the aggregated posts and generates a concise, Telegram-formatted summary with:

  • Emoji indicators for better readability
  • Point-wise breakdown of top 5-7 posts
  • Upvote counts and relative timestamps
  • Brief 1-2 sentence summaries
  • Direct Reddit links

Step 8: Delivery The formatted summary sends back to the user's Telegram chat

Requirements

Credentials needed:

n8n Version: Self-hosted or Cloud (latest version recommended)

Setup Instructions

1. Create Telegram Bot

  • Message @BotFather on Telegram
  • Send /newbot and follow prompts
  • Copy the bot token for n8n credentials
  • Start a chat with your new bot

2. Configure Reddit API

3. Get Gemini API Key

4. Import & Configure Workflow

  • Import this template into n8n
  • Add your three credentials to respective nodes
  • Remove pinData from "Telegram Trigger" node (test data)
  • Activate the workflow

5. Test It

  • Send any keyword to your Telegram bot (e.g., "machine learning")
  • Wait 10-20 seconds for results
  • Receive AI-summarized Reddit insights

How to customize

Adjust Quality Filters: Edit the Filter node conditions:

  • Change minimum upvotes (currently 50)
  • Modify time range (currently 15 days)
  • Add subreddit subscriber minimum

Limit Results: Add a Limit node after Filter to cap results at 10-15 posts for faster processing

Change Search Strategies: Modify the Reddit nodes' "sort" parameter:

  • new - Latest posts first
  • comments - Most commented
  • controversial - Controversial content

Customize AI Output: Edit the AI Agent's system message to:

  • Change summary style (more/less detail)
  • Adjust formatting (bullets, numbered lists)
  • Modify language/tone
  • Add emoji preferences

Add User Feedback: Insert a Telegram Send Message node after the trigger:

"🔍 Searching Reddit for '{{ $json.message.text }}'... Please wait."

Enable Error Handling: Create an Error Workflow:

  • Add Error Trigger node
  • Send fallback message: "❌ Search failed. Please try again."

Sort by Popularity: Add a Sort node after Filter:

  • Field: upvotes
  • Order: Descending

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 - Send a text message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 2 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 3 - Reddit Search

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

Block 4 - Data Processing

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

Block 5 - AI Summary

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

Block 6 - Search: Top Posts

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

Block 7 - Search: Hot Posts

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

Block 8 - Search: Relevance

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

Block 9 - Search: new

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

Block 10 - Merge All Searches

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

Block 11 - Remove Duplicates

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

Block 12 - Extract Post Data

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

Block 13 - Filter Quality Posts

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 14 - Combine for AI

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

Block 15 - Generate Summary

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 16 - Google Gemini Chat Model7

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 17 - Simple Memory1

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 18 - Sticky Note2

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

3. Summary Table

Workflow Reddit post finder with Google Gemini summarization via Telegram
Complexity advanced
Nodes 18
Categories Market Research, AI Summarization
Author Roshan Ramani
Published 06 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10548/10548.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 Reddit post finder with Google Gemini summarization via Telegram do?

Who's it for This template is perfect for content creators, researchers, marketers, and Reddit enthusiasts who want to stay updated on specific topics without manually browsing Reddit. If you need ...

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 Market Research, AI Summarization use case.