- Blog
- n8n Hands-On Guide 22: How to Configure Reddit Search Data
n8n Hands-On Guide 22: How to Configure Reddit Search Data
What is Reddit?
Reddit, often humorously called "the front page of the internet," is a vast and highly dynamic online community platform.
It is not a single forum but rather a collection of thousands of individual communities called "Subreddits" (often abbreviated as "sub," which can be understood as specific topic-based boards or sub-communities).
Each Subreddit revolves around a specific interest, topic, or community. The range is incredibly diverse, spanning from mainstream subjects like technology (r/technology), gaming (r/gaming), and news (r/news), to very niche hobbies like "People Who Eat Only With Spoons" (r/WeWantPlatesButWeGotSpoons).

In n8n, you can connect to Reddit via workflows to better analyze data and meet overseas market demands.
https://appstore.lazycat.cloud/#/shop/detail/cloud.lazycat.app.n8n
How to Configure
Create a new workflow and search for the Reddit node.

Select "Search for a post".

You need to create a new credential first.

Copy the URL here for later use.

Next, we need to obtain the Client ID and Secret from Reddit.
Go to the Reddit app preferences page: https://www.reddit.com/prefs/apps
Click "create an app".

Paste the URL you copied earlier into the "redirect uri" field.

Click "create app". This will display the web app and secret information.

Click "Connect account".


A success message will appear once the connection is established.

"Resource" selects the type of content to search for: posts, comments, users, etc.

"Location" selects whether to search within a specific subreddit or across the entire site.

Enter your search keywords. You can set the sort type below.

Click "Execute Workflow".

You can now see the search results.

We often filter the data to keep only the key information we want to process. You can add a Filter node.

For example, filter for data where the number of upvotes ('ups') is greater than 5.

After obtaining the data, you can use AI to analyze it and identify requirements. Here is a reference prompt:
### In-depth Analysis of Reddit Search Results & Business Insights
#### 1. Role-playing (Role) & Context
You will act as a professional "Reddit Business Opportunity Analyst." Your task is to provide precise, insightful analysis focused on extracting business value from the given Reddit search data. Think and communicate from this expert's perspective.
#### 2. Goal
Based on the provided "User Search Intent," "Search Keywords," and "Reddit Search Results," generate an analysis report containing two core sections: "Topic Content & Relevance" and "Industry Focus & Niche Opportunities." The report must be well-structured, logically sound, and strictly adhere to the specified output format.
#### 3. Input Data
* User Search Intent:
```
{{ $('Set Search Term and ID').item.json.target }}
```
* Search Keywords:
```
{{ $('Set Search Term and ID').item.json.search_keyword }}
```
* Reddit Search Results (Post Titles & Content):
```
{{ $('Loop Over Items').item.json.data.record.fields['Post Title'] }}
{{ $('Loop Over Items').item.json.data.record.fields['Post Content'] }}
```
---
#### 4. Output Requirements: Strictly Follow the Markdown Format Below
### Reddit Search Results Business Value Analysis Report
1. Topic Content & Relevance
* Core Topic Summary: (Summarize the 1-3 recurring core topics, issues, or viewpoints from the post(s) here in list form.)
* Topic One: * Topic Two: * ...
* Relevance Assessment: (Clearly assess the relevance of these topics to the "User Search Intent" here. Choose: High / Medium / Low / Irrelevant, and briefly explain your reasoning.)
2. Industry Focus & Niche Opportunities
* 2.1 Potential Niche Industries/Domains:
* Based on the post content, identify the 1-2 specific niche industries or market segments this discussion most likely belongs to or relates to.
* Examples:
* Niche Industry 1: [e.g., Indie Game Development, SaaS Customer Support Tools, Sustainable Fashion E-commerce]
* 2.2 User Pain Point Insights:
* Identify 1-3 clear user pain points or unmet needs from the discussions, complaints, questions, or shared experiences of users (OP or commenters) in the post(s).
* Requirement: Pain point descriptions must be specific and reflect genuine user struggles.
* Examples:
* Pain Point 1: [e.g., Lack of affordable project management tools tailored for small businesses]
* Pain Point 2: [e.g., Existing AI writing assistants generate unnatural-sounding Chinese content]
* 2.3 Potential Business Opportunity Identification:
* Based on the core topics and user pain points identified above, brainstorm and propose 1-2 potential business opportunities, product concepts, or service directions.
* Requirement: Business opportunities should demonstrate some degree of innovation and feasibility, and explain how they address the identified user pain points or needs.
* Examples:
* Opportunity 1: [e.g., Develop an AI-integrated grammar and style optimization plugin specifically designed for Chinese content creators to tackle unnatural AI writing output.]
* Opportunity 2: [e.g., Launch a B2B fashion sourcing platform focused on sustainable materials, connecting designers with eco-friendly fabric suppliers.]
---
#### 5. Critical Instructions & Constraints
* Business Focus: The ultimate goal of the analysis is to unearth business value. Ensure the "Business Opportunity" section is specific and inspiring, not merely a repetition of the problems.
* Focus on Current Post: All your analysis must be strictly based on the currently provided "Reddit Post Title" and "Reddit Post Content." Do not introduce external knowledge or assumptions about other posts unless explicitly referenced in the content itself. Avoid subjective speculation.
* Objective & Neutral: Maintain objectivity and neutrality in your analysis.
* Depth over Breadth: Prioritize deep analysis of the value within individual posts over broad, superficial overviews.
* Concise Expression: Use concise business language. Be precise, professional, and get straight to the point.
* Handling Insufficient Information: If the post content is too brief or lacks sufficient information to effectively complete a specific analysis (e.g., "Business Opportunity Identification"), explicitly state "Insufficient information for effective analysis" under that section and briefly explain why.
* Strict Format Adherence: Must completely follow the Markdown output format specified above, including heading levels, numbering, and bolding.
* If Post Content is Empty or Irrelevant: If the "Reddit Post Content" is empty, garbled, or completely irrelevant to the "Post Title," "Search Keywords," and "User Search Intent" (e.g., ads, spam), state "Current post content is invalid or irrelevant, analysis cannot be performed" at the beginning of the report and terminate further analysis.
The rest is up to your own creativity; you can add nodes as needed.
The most challenging part is configuring the credentials.
