# Extract & filter Reddit posts & comments: n8n workflow template

> Started by another system calling it, and works across Reddit. 24 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/extract-and-filter-reddit-posts-and-comments (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Extract & filter Reddit posts & comments

Started by another system calling it, and works across Reddit. 24 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fextract-and-filter-reddit-posts-and-comments)

**24 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 3 Logic 15 Service 6

The steps in the order they run, from what starts it.

- 1 **reddit tool** Http Request Tool *Service*
- 2 **reddit tool webhook** Webhook *Starts it*
- 3 **reddit tool webhook subreddit** Webhook *Starts it*
- 4 **reddit tool http request (for subreddit)** Http Request *Service*
- 5 **reddit tool http request** Http Request *Service*
- 6 **Set keywords** Set *Logic*
- 7 **Set subreddit** Set *Logic*
- 8 **Search for posts by keywords** Reddit *Service*
- 9 **Get posts from subreddit** Reddit *Service*
- 10 **Set Reddit Posts** Set *Logic*
- 11 **Posted in Last x days** Code *Logic*
- 12 **Upvotes Requirement Filtering** If *Logic*
- 13 **Remove Duplicates** Code *Logic*
- 14 **Sort by upvotes (descending)** Sort *Logic*
- 15 **Limit** Limit *Logic*
- 16 **Loop Over Items1** Split In Batches *Logic*
- 17 **Aggregate** Aggregate *Logic*
- 18 **Set post for Loop** Set *Logic*
- 19 **Combine Posts** Code *Logic*
- 20 **Get Comments** Reddit *Service*
- 21 **Respond to Webhook** Respond To Webhook *Starts it*
- 22 **Extract Top 20 Comments** Code *Logic*
- 23 **Format Comments** Code *Logic*
- 24 **Set Final Report** Set *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 1 branch, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Reddit
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Reddit account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fextract-and-filter-reddit-posts-and-comments)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Reddit](https://millionrounds.com/workflows?service=Reddit#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Automate blog-to-social media with OpenAI and Reddit** 24 steps · calls a model · LinkedIn, Postgres](https://millionrounds.com/workflow/automate-blog-to-social-media-with-openai-and-reddit)
- [**Promote YouTube videos on Reddit with OpenRouter and Gmail** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/promote-youtube-videos-on-reddit-with-openrouter-and-gmail)
- [**Reddit API Hub: Manage posts, comments & subreddits** 26 steps · Reddit](https://millionrounds.com/workflow/reddit-api-hub-manage-posts-comments-and-subreddits)
- [**Auto-comment on Reddit posts with Baserow** 21 steps · calls a model · Baserow, Reddit](https://millionrounds.com/workflow/auto-comment-on-reddit-posts-with-baserow)
- [**Reddit questions into SEO blog posts with OpenAI** 27 steps · calls a model · Google Sheets, Reddit](https://millionrounds.com/workflow/reddit-questions-into-seo-blog-posts-with-openai)
- [**Subreddit scraper for content ideas with OpenAI** 21 steps · calls a model · Google Sheets, Reddit](https://millionrounds.com/workflow/subreddit-scraper-for-content-ideas-with-openai)
