Overview
The Reddit block retrieves posts and comments from Reddit threads. Use it to gather user opinions, analyze discussions, research topics, or collect real user feedback for content creation and market research.
Configuration
Operation
Select the Reddit operation to perform.
| Operation | Description |
|---|
| Get comments from post | Retrieve the post details and all comments from a Reddit thread |
Reddit Post URL
Enter the URL of the Reddit post to scrape. This field supports placeholders for dynamic URLs.
Examples:
- Direct URL:
https://www.reddit.com/r/SEO/comments/abc123/how_to_improve_rankings/
- From previous step:
{{step_1.output.reddit_url}}
- From loop:
{{current.url}}
Use the full Reddit post URL. Short links (redd.it) and mobile URLs (m.reddit.com) are also supported.
Set the maximum number of comments to retrieve from the thread.
- Minimum: 1 comment
- Maximum: 1000 comments
- Default: 100 comments
Start with a lower number when testing. Large threads with many comments take longer to process.
Choose how comments are sorted before retrieval.
| Sort Option | Description |
|---|
| None | Default Reddit ordering |
| Best | Reddit’s “best” algorithm (confidence-based) |
| Top | Highest upvoted comments first |
| New | Most recent comments first |
| Controversial | Most debated comments first |
| Old | Oldest comments first |
| Q&A | Question and answer format |
Output
The block returns an array containing the post and its comments.
Output Structure
[
{
"id": "post_id",
"title": "How to improve SEO rankings in 2024?",
"body": "I've been struggling with my website rankings...",
"dataType": "post",
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "comment_1",
"parentId": "post_id",
"body": "Focus on quality content and user experience...",
"commentUpVotes": 156,
"dataType": "comment",
"commentCreatedAt": "2024-01-15T11:45:00Z"
},
{
"id": "comment_2",
"parentId": "post_id",
"body": "Technical SEO is often overlooked. Make sure...",
"commentUpVotes": 89,
"dataType": "comment",
"commentCreatedAt": "2024-01-15T12:00:00Z"
}
]
Output Fields
| Field | Description |
|---|
id | Unique identifier for the post or comment |
title | Post title (posts only) |
body | Text content of the post or comment |
parentId | ID of parent post or comment (for replies) |
commentUpVotes | Number of upvotes (comments only) |
dataType | Either “post” or “comment” |
createdAt | When the post was created |
commentCreatedAt | When the comment was created |
Accessing Output Data
Get the post (first item):
Get post title:
{{step_n.output[0].title}}
Get all comments (skip the post):
{% for item in step_n.output %}
{% if item.dataType == "comment" %}
{{ item.body }}
{% endif %}
{% endfor %}
Get total item count:
Best Practices
- Use “Top” sort to get the most valuable comments first
- Set a reasonable max comments limit to reduce processing time
- Filter comments by upvotes in subsequent steps for quality insights
- Combine with LLM block to summarize or analyze discussions
- Use “New” sort for recent feedback on trending topics
- Check parentId to understand comment threading structure
Common Use Cases
| Use Case | Configuration Tips |
|---|
| Product research | Find posts about your product, analyze sentiment |
| Competitor analysis | Scrape discussions about competitors |
| Content ideas | Extract popular questions and topics |
| FAQ generation | Collect common questions from support threads |
| Market research | Analyze user opinions on industry topics |
| Pain point discovery | Find complaints and frustrations in niche subreddits |
Example Workflow: Sentiment Analysis
Analyze user sentiment about a topic:
-
Reddit Block:
- URL: Reddit post about your product/topic
- Max Comments: 200
- Sort: Top
-
LLM Block:
Analyze these Reddit comments and provide:
1. Overall sentiment (positive/negative/neutral)
2. Top 3 positive themes
3. Top 3 concerns or complaints
4. Key feature requests
Comments:
{{step_1.output}}
-
Google Sheets Block: Store analysis results
Example Workflow: FAQ Generation
Generate FAQ content from Reddit discussions:
-
Google Sheets Block: Read list of relevant Reddit URLs
-
Loop Block: Process each URL
-
Reddit Block:
- URL:
{{current.url}}
- Max Comments: 100
- Sort: Top
-
LLM Block:
Extract the top 5 questions and best answers from this Reddit thread.
Format as Q&A pairs.
Thread content:
{{step_3.output}}
-
Google Sheets Block: Append extracted Q&As
Example Workflow: Content Research
Research a topic using Reddit discussions:
-
Google Search Block: Search for
site:reddit.com "your topic"
-
Loop Block: Process top 5 results
-
Reddit Block:
- URL:
{{current.link}}
- Max Comments: 50
- Sort: Best
-
LLM Block: Extract key insights and pain points
-
Text Block: Compile research summary
Troubleshooting
| Issue | Cause | Solution |
|---|
| No data returned | Invalid URL | Verify the Reddit post URL is correct and public |
| Missing comments | Private subreddit | Block can only access public subreddits |
| Timeout | Very large thread | Reduce max comments |
| Empty body | Deleted content | Post or comments may have been removed |
| Slow response | High max comments | Reduce max comments for faster processing |
What’s Next
Now that you understand the Reddit block: