Reddit content Q&A chatbot with GPT-4o and Reddit API
Workflow preview
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER
Early Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Important notice
This workflow is provided as-is. Please review and test before using in production.
Overview
This workflow lets you chat with Reddit using OpenAI and the Reddit API.
The chatbot pulls posts from a subreddit and uses GPT to answer your questions.
⚙️ Setup Instructions
2️⃣ Set Up OpenAI Connection
- Go to OpenAI Platform
- Navigate to OpenAI Billing
- Add funds to your billing account
- Copy your API key into the OpenAI credentials in n8n
2️⃣ Set Up Reddit API
- Go to Reddit Apps
- Click Create App → Choose script type
- Fill in:
- Name: (your choice)
- Redirect URI:
http://localhost:8080(or your n8n URL) - Save → copy Client ID and Secret
- In n8n → Credentials → New → Reddit OAuth2 API
- Enter Client ID + Client Secret
- Log in with your Reddit account and approve access
- Attach this credential to the Reddit Tool node
🧠 How It Works
- Reddit Tool Node → Fetches posts from chosen subreddit (e.g.,
r/n8n) - OpenAI Agent → Processes posts and your chat question
- Chatbot → Returns summarized answers with Reddit context
📬 Contact
Need help customizing this (e.g., targeting multiple subreddits or filtering posts)?