Skip to main content

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.
OperationDescription
Get comments from postRetrieve 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.

Max Comments

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.

Sort Comments

Choose how comments are sorted before retrieval.
Sort OptionDescription
NoneDefault Reddit ordering
BestReddit’s “best” algorithm (confidence-based)
TopHighest upvoted comments first
NewMost recent comments first
ControversialMost debated comments first
OldOldest comments first
Q&AQuestion 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

FieldDescription
idUnique identifier for the post or comment
titlePost title (posts only)
bodyText content of the post or comment
parentIdID of parent post or comment (for replies)
commentUpVotesNumber of upvotes (comments only)
dataTypeEither “post” or “comment”
createdAtWhen the post was created
commentCreatedAtWhen the comment was created

Accessing Output Data

Get the post (first item):
{{step_n.output[0]}}
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:
{{step_n.output | size}}

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 CaseConfiguration Tips
Product researchFind posts about your product, analyze sentiment
Competitor analysisScrape discussions about competitors
Content ideasExtract popular questions and topics
FAQ generationCollect common questions from support threads
Market researchAnalyze user opinions on industry topics
Pain point discoveryFind complaints and frustrations in niche subreddits

Example Workflow: Sentiment Analysis

Analyze user sentiment about a topic:
  1. Reddit Block:
    • URL: Reddit post about your product/topic
    • Max Comments: 200
    • Sort: Top
  2. 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}}
    
  3. Google Sheets Block: Store analysis results

Example Workflow: FAQ Generation

Generate FAQ content from Reddit discussions:
  1. Google Sheets Block: Read list of relevant Reddit URLs
  2. Loop Block: Process each URL
  3. Reddit Block:
    • URL: {{current.url}}
    • Max Comments: 100
    • Sort: Top
  4. LLM Block:
    Extract the top 5 questions and best answers from this Reddit thread.
    Format as Q&A pairs.
    
    Thread content:
    {{step_3.output}}
    
  5. Google Sheets Block: Append extracted Q&As

Example Workflow: Content Research

Research a topic using Reddit discussions:
  1. Google Search Block: Search for site:reddit.com "your topic"
  2. Loop Block: Process top 5 results
  3. Reddit Block:
    • URL: {{current.link}}
    • Max Comments: 50
    • Sort: Best
  4. LLM Block: Extract key insights and pain points
  5. Text Block: Compile research summary

Troubleshooting

IssueCauseSolution
No data returnedInvalid URLVerify the Reddit post URL is correct and public
Missing commentsPrivate subredditBlock can only access public subreddits
TimeoutVery large threadReduce max comments
Empty bodyDeleted contentPost or comments may have been removed
Slow responseHigh max commentsReduce max comments for faster processing

What’s Next

Now that you understand the Reddit block: