n8n Reddit API Integration Guide
If you want to connect Reddit to n8n for automation—posting, scraping, or monitoring subreddits—you’ll need to create Reddit API credentials. Here’s how to set them up properly and use them in n8n.
Step 1: Go to Reddit App Preferences
- Log in to your Reddit account.
- Navigate to https://www.reddit.com/prefs/apps.
- Scroll down and click "Create another app..." or "create app".
Step 2: Create Your Reddit App
Fill in the form as follows:
Name: Choose a recognizable name (e.g.
n8n Reddit Bot).App type: Select script (for personal automations) or web app (for n8n cloud/public workflows).
Description: Optional but recommended.
About URL: You can leave it blank or put your website/project link.
Redirect URI: For n8n, use:
https://oauth2.redirect.network/oauth2/callback(This is n8n’s default OAuth2 callback URL.)
Then click Create app.
Step 3: Get Your Credentials
After creation, Reddit will show you your client ID and client secret:
- Client ID: The short string under your app name.
- Client Secret: The long alphanumeric string beside “secret”.
Keep these private—they authorize access to your Reddit account.
Step 4: Configure in n8n
Go to your n8n credentials section.
Create new Reddit OAuth2 API credentials.
Fill in:
- Client ID → from Reddit app
- Client Secret → from Reddit app
- OAuth2 Callback URL →
https://oauth2.redirect.network/oauth2/callback
Click Connect OAuth2 Account and authorize your Reddit account.
Once connected, you can use Reddit nodes in n8n to:
- Fetch posts and comments
- Post to subreddits
- Automate responses or moderation tasks
Step 5: Testing the Connection
Add a Reddit node in your workflow and select your new credentials. Try fetching posts from a subreddit to confirm everything’s connected properly.
Notes:
- Script apps are best for personal use or local n8n instances.
- Web apps are better for cloud or shared setups where multiple users authorize.
- Reddit’s API limits requests (60 per minute per user); stay within those bounds.
Summary
Creating Reddit API credentials is straightforward—go to your Reddit app settings, create a new “script” or “web” app, copy your client ID and secret, and plug them into n8n. You’ll be ready to automate Reddit interactions in no time.