Documentation Index
Fetch the complete documentation index at: https://slatehq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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 |
| Find post | Search for Reddit posts by keyword across all subreddits |
Find Post Configuration
Use these settings when the operation is set to “Find post”.
Search Term
Enter the keyword or phrase to search for on Reddit. This field supports placeholders for dynamic values.
Examples:
- Static search:
best CRM software
- From previous step:
{{step_1.output.topic}}
- Combined:
{{input.product}} reviews
Max Posts
Set the maximum number of posts to retrieve from search results.
- Minimum: 1 post
- Maximum: 100 posts
- Default: 10 posts
Start with a lower number when testing. Increase as needed for comprehensive research.
Search Sort
Choose how search results are sorted.
| Sort Option | Description |
|---|
| Relevance | Most relevant to your search term (default) |
| Hot | Currently trending posts |
| Top | Highest upvoted posts |
| New | Most recently posted |
Search Time
Filter posts by time range.
| Time Option | Description |
|---|
| Week | Posts from the last 7 days (default) |
| Month | Posts from the last 30 days |
| Year | Posts from the last 12 months |
| All | Posts from all time |
Find Post Output
The Find Post operation returns an array of post objects.
Output Structure
[
{
"title": "Best CRM software for small business in 2024?",
"body": "Looking for recommendations for a CRM that works well for...",
"authorName": "business_owner_123",
"communityName": "r/smallbusiness",
"upVotes": 234,
"commentsCount": 89,
"postUrl": "https://www.reddit.com/r/smallbusiness/comments/abc123/...",
"createdAt": "2024-01-15T10:30:00Z",
"dataType": "post"
},
{
"title": "CRM comparison: HubSpot vs Salesforce vs Pipedrive",
"body": "I've tested all three and here's my breakdown...",
"authorName": "tech_reviewer",
"communityName": "r/sales",
"upVotes": 456,
"commentsCount": 124,
"postUrl": "https://www.reddit.com/r/sales/comments/def456/...",
"createdAt": "2024-01-10T14:20:00Z",
"dataType": "post"
}
]
Find Post Output Fields
| Field | Description |
|---|
title | Post title |
body | Post content/body text |
authorName | Username of the post author |
communityName | Subreddit where the post was made |
upVotes | Number of upvotes on the post |
commentsCount | Number of comments on the post |
postUrl | Direct URL to the Reddit post |
createdAt | When the post was created |
dataType | Always “post” for search results |
Accessing Find Post Data
Get first post:
Get first post title:
{{step_n.output[0].title}}
Get first post URL (to use with Get Comments):
{{step_n.output[0].postUrl}}
Loop through all posts:
{% for post in step_n.output %}
Title: {{ post.title }}
Subreddit: {{ post.communityName }}
Upvotes: {{ post.upVotes }}
{% endfor %}
Use these settings when the operation is set to “Get comments from post”.
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 |
The Get Comments operation 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
Find Post
- Use “Relevance” sort for targeted keyword research
- Use “Top” sort with “All” time to find evergreen content
- Use “New” sort with “Week” time for trending discussions
- Start with 10-20 posts, increase if you need broader coverage
- Combine with Loop + Get Comments to deep-dive into top posts
- 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
- Use “New” sort for recent feedback on trending topics
- Check parentId to understand comment threading structure
General
- Combine with LLM block to summarize or analyze discussions
- Store results in Google Sheets for tracking over time
Common Use Cases
| Use Case | Operation | Configuration Tips |
|---|
| Topic discovery | Find Post | Search your keyword, sort by Top, time: Month |
| Product research | Find Post + Get Comments | Find posts mentioning your product, then get comments |
| Competitor analysis | Find Post | Search competitor name, analyze sentiment |
| Content ideas | Find Post | Search industry topics, extract popular questions |
| FAQ generation | Get Comments | Collect common questions from support threads |
| Market research | Find Post | Search industry terms, filter by upvotes |
| Pain point discovery | Find Post + Get Comments | Find complaint threads, analyze comments |
| Trend monitoring | Find Post | Search keyword, sort: New, time: Week |
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: Topic Research with Find Post
Discover and analyze Reddit discussions on any topic:
-
Reddit Block (Find Post):
- Operation: Find Post
- Search Term:
{{input.topic}}
- Max Posts: 20
- Sort: Top
- Time: Month
-
LLM Block:
Analyze these Reddit posts about "{{input.topic}}":
1. What are the top 5 questions people are asking?
2. What are the most common pain points?
3. What solutions are being recommended?
4. What trends or patterns do you see?
Posts:
{{step_1.output}}
-
Google Sheets Block: Store research findings
Example Workflow: Deep Dive Research
Combine Find Post and Get Comments for comprehensive research:
-
Reddit Block (Find Post):
- Operation: Find Post
- Search Term:
best {{input.product_category}}
- Max Posts: 5
- Sort: Top
- Time: All
-
Loop Block: Process each post
-
Reddit Block (Get Comments):
- Operation: Get Comments from Post
- URL:
{{current.postUrl}}
- Max Comments: 100
- Sort: Top
-
LLM Block:
Summarize this Reddit discussion:
- Main recommendations
- Pros and cons mentioned
- Key insights
{{step_3.output}}
-
Google Sheets Block: Append summaries
Troubleshooting
Find Post Issues
| Issue | Cause | Solution |
|---|
| No posts found | Search term too specific | Try broader keywords or different phrasing |
| Irrelevant results | Generic search term | Add more specific keywords or context |
| Few results returned | Restrictive time filter | Expand time range (Week → Month → All) |
| Slow response | High max posts | Reduce max posts count |
| 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: