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)?