Templates / Reddit API Hub: Manage posts, comments & subreddits via server-sent events

Reddit API Hub: Manage posts, comments & subreddits via server-sent events

Ready for 3.0

by Simeon Β· 1,573 views Β· created 2025-05-21 Β· Social Media

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (7)

RedditCall n8n Workflow

What it does

πŸ”„ Reddit Content Operations via MCP Server πŸ§‘β€πŸ’Ό Who is this for? This workflow is built for content creators, marketers, Reddit automation enthusiasts, and AI agent developers who want structured, programmable access to Reddit content. If you're researching niche communities, tracking trends, or automating Reddit engagement β€” this is for you. πŸ’‘ What problem is this workflow solving? Reddit has valuable content scattered across subreddits, but manual analysis or engagement is inefficient. This workflow acts as a centralized API interface to: - Query and manage Reddit posts - Create, fetch, delete, and reply to comments - Analyze subreddit metadata and behavior - Enable AI agents to autonomously operate on Reddit data It does this using an MCP (Model Context Protocol) Server over Server-Sent Events (SSE). βš™οΈ What this workflow does This template sets up a custom MCP Server that listens for JSON-based operation commands sent via SSE. Based on the operation, it routes the request to one of the following branches: πŸŸ₯ Post CRUD - Create a new Reddit post - Search posts across subreddits - Fetch posts by ID - Delete existing posts 🟩 Comment CRUD - Create or reply to comments - Fetch multiple comments from posts - Delete specific comments 🟦 Subreddit Read Operations - Get information about subreddits - List subreddit posts - Retrieve subreddit rules πŸ›  Setup 1. Import this workflow into your self-hosted n8n instance. 2. Configure Reddit credentials (OAuth2). 3. Connect your input system to the MCP Server Trigger node via SSE. 4. Send operation payloads to the server like this: json { "operation": "postsearch", "params": { "query": "AI agents", "subreddit": "machinelearning" } } The workflow will route to the appropriate node based on operation type. 🧩 Supported Operations postcreate postgetmany postsearch postdelete postgetbyid commentcreate commentreply commentgetmany commentdelete subredditgetabout subredditgetmany subredditgetrules 🧠 How to customize this workflow to your needs Add new operations to the operationswitch node for additional API functionality. Chain results into Notion, Slack, Airtable, or external APIs. Integrate with OpenAI/GPT to summarize posts or filter content. Add logic to score and sort content by engagement, sentiment, or keywords. 🟨 Sticky Notes Each operation group is color-coded (Posts, Comments, Subreddits). Sticky Notes explain the purpose and dependencies of each section. Easy to maintain and extend with clear logical separation. ⚠️ This template uses a custom MCP Server node and only works in self-hosted n8n. πŸ–Ό Workflow Preview !Screenshot 20250520 at 11.57.41 PM.png(fileId:1346)

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.