Reddit API Hub: Manage Posts, Comments & Subreddits via Server-Sent Events
π 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:
{ "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
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
π€ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments