Reddit API Hub Manage posts comments subreddits via server s
🔄 Reddit Content Operations via MCP Server 🧑💼 Who is this for? This workflow is built for content creators, marketers, Reddit automation enthusiasts, and...
🔌 Nodes & Integrations Used (4)
📖 Implementation & Setup Guide
🔄 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
- Import this workflow into your **self-hosted n8n instance**.
- Configure Reddit credentials (OAuth2).
- Connect your input system to the MCP Server Trigger node via SSE.
- Send operation payloads to the server like this:
```json { "operation": "post_search", "params": { "query": "AI agents", "subreddit": "machinelearning" } } The workflow will route to the appropriate node based on operation type.
🧩 Supported Operations post_create
post_get_many
post_search
post_delete
post_get_by_id
comment_create
comment_reply
comment_get_many
comment_delete
subreddit_get_about
subreddit_get_many
subreddit_get_rules ```
🧠 How to customize this workflow to your needs Add new operations to the operation_switch 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
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Reddit_API_Hub_Manage_posts_comments_subreddits_via_server_s.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....