AI Template Search
N8N Bazar

Find n8n Templates with AI Search

Search thousands of workflows using natural language. Find exactly what you need, instantly.

Start Searching Free
Oct 21, 2025

Automate Reddit Posts with n8n

Automate Reddit Posts with n8n Ever wished you could hit one button and have Reddit take care of itself for a bit? With n8n, you can do exactly that. In this guide, you’ll walk through a compact workflow that: Creates a Reddit post automatically Grabs the data of that new post Immediately adds a comment […]

Automate Reddit Posts with n8n

Automate Reddit Posts with n8n

Ever wished you could hit one button and have Reddit take care of itself for a bit? With n8n, you can do exactly that. In this guide, you’ll walk through a compact workflow that:

  • Creates a Reddit post automatically
  • Grabs the data of that new post
  • Immediately adds a comment to it

We’ll wire together a Manual Trigger, plus three Reddit nodes (create post, get post, and create comment), and by the end you’ll have a reusable automation that you can run on demand or on a schedule.

Why bother automating Reddit with n8n?

If you post on Reddit regularly, you already know how repetitive it can get. Writing similar posts, copying links, adding the same comment or FAQ under every post… it adds up.

With an n8n workflow handling this for you, you can:

  • Save time by skipping manual posting and commenting
  • Stay consistent with your messaging and formatting
  • Scale up if you manage multiple subreddits or accounts
  • Build no-code or low-code automations that you can tweak without writing scripts

Whether you are a solo maker, a community manager, or part of a social media team, this workflow gives you a neat little pipeline that publishes a post, fetches the post ID, then drops in a follow-up comment without you lifting a finger.

What this n8n Reddit workflow does

Let’s quickly break down what you’ll actually build before jumping into the steps.

In this workflow, you’ll have:

  • A trigger
    • Start with a Manual Trigger for easy testing
    • Later, you can swap it for a Cron node or other trigger to schedule or automate it
  • Reddit node 1 – Create a post
    • Posts to a specific subreddit
    • Lets you define the title and body (or inject dynamic content with expressions)
  • Reddit node 2 – Get post details
    • Uses the post ID from the previous node
    • Fetches metadata, permalink, and status
  • Reddit node 3 – Add a comment
    • Posts a comment directly under the new post
    • Can include static text or dynamic data from the rest of the workflow

All of this is built with standard n8n nodes and Reddit’s OAuth2 API, so you stay within Reddit’s rules while still automating the boring parts.

Before you start: prerequisites

You do not need to be a developer to follow this, but you do need a few things set up first:

  • An n8n instance (cloud or self-hosted)
  • A Reddit account with an OAuth2 application (client ID and secret)
  • Reddit OAuth2 credentials configured in the n8n credentials manager
  • Basic familiarity with how n8n nodes and expressions work

If that all sounds good, let’s start by getting Reddit talking to n8n.

Step 1 – Set up Reddit OAuth2 credentials

Before n8n can post or comment on Reddit for you, Reddit needs to know who you are. That is where OAuth2 comes in.

1. Register your app on Reddit

  1. While logged into Reddit, go to https://www.reddit.com/prefs/apps
  2. Click “create an app”
  3. Choose “script” (or “web app” if that suits your deployment better)
  4. Fill in the details:
    • Name: anything descriptive for your automation
    • Redirect URI: for n8n this usually looks like https://n8n.example.com/rest/oauth2-credential/callback or the equivalent callback URL for your instance
  5. Save the app and copy the client ID and client secret

2. Configure Reddit OAuth2 in n8n

Now connect that Reddit app to n8n:

  1. Open n8n and go to the Credentials section
  2. Create a new credential of type “Reddit OAuth2 API”
  3. Paste in your:
    • Client ID
    • Client secret
    • Redirect URL (same as configured in Reddit)
  4. Start the authorization flow that n8n prompts you with
  5. When Reddit asks for permissions, make sure you grant at least these scopes:
    • submit – to create posts
    • read – to fetch post details
    • identity – to identify the user

Once this is done, n8n is officially allowed to post and comment on your behalf using the Reddit node.

Step 2 – Build the n8n workflow

With credentials sorted, you can build the actual workflow. It is a simple linear chain of four nodes:

  • Manual Trigger
  • Reddit (create: post)
  • Reddit1 (get: post)
  • Reddit2 (create: postComment)

Let’s walk through each one and how to configure it.

Manual Trigger node

Start by dropping in a Manual Trigger node. This is your on-demand start button.

While you are testing, this is the easiest way to run the workflow. Later on, you can swap it for:

  • Cron node for scheduled posts (daily, weekly, etc.)
  • Webhook trigger to post when something happens in another app
  • Any other trigger that fits your use case

For now, keep it simple with Manual Trigger so you can click and run the whole flow whenever you want.

Reddit node – create a post

Next, add your first Reddit node and set it up to create a post in a subreddit.

Key settings to configure:

  • Resource: post
  • Operation: create
  • Subreddit: the subreddit you want to post to, for example n8n
  • Title: the title of your post
    • Use plain text for something static
    • Or use an n8n expression to build it dynamically
  • Text (optional): the body of the post if you are creating a text post
  • Credentials: select the Reddit OAuth2 credentials you configured earlier

When this node runs successfully, Reddit responds with a JSON object that includes the newly created post and its id. That ID is the key piece of data you will pass into the next nodes.

Reddit1 node – get post details

Now add a second Reddit node. This one will confirm the post exists and pull extra metadata like the permalink.

Configure it to:

  • Resource: post
  • Operation: get

For the postId field, you will not type a static value. Instead, use an expression that references the output of the previous node.

You can use either of these expression styles:

{{ $json["id"] }}

or, more explicitly referencing the node by name:

{{ $node["Reddit"].json["id"] }}

Both approaches tell n8n to grab the id from the JSON output of the create-post node. Once this node runs, you will have a richer set of data about the post, which can be handy for logging, cross posting, or building a comment that includes the permalink.

Reddit2 node – create a comment

Finally, add a third Reddit node that will post a comment under the newly created post.

Set it up like this:

  • Resource: postComment
  • Operation: create
  • commentText: the text of your comment

To make sure the comment is attached to the right post, you again use the post ID via an expression. You can pull it from the previous node:

{{ $json["id"] }}

or from the explicitly named node:

{{ $node["Reddit1"].json["id"] }}

You can keep the comment static, or get fancy and use expressions to inject:

  • Links or resources
  • Data returned from other nodes
  • Timestamps or stats

At this point, your workflow is ready for a test run.

Step 3 – Test the workflow and debug issues

How to test your Reddit automation

  1. Click Save on your workflow
  2. Select the Manual Trigger node
  3. Run the workflow
  4. Watch each node execute in order
  5. Inspect the output of the Reddit nodes:
    • The first Reddit node should show the created post data with an id
    • The second should show full post details
    • The third should return a successful response for the comment

If everything looks good, check Reddit itself to see your new post and its automatic comment.

Common troubleshooting tips

If something breaks, here are a few usual suspects to check:

  • Authentication errors
    • Re-open your Reddit OAuth2 credential in n8n and run the authorization again
    • Confirm the correct scopes were granted: submit, read, identity
  • Subreddit or permission issues
    • Some subreddits restrict automated posts or require moderator approval
    • Test in your own or a private/dev subreddit first
  • Rate limits
    • Reddit has API rate limits, so avoid tight loops or very frequent posting
    • If you hit limits, wait before retrying to avoid temporary bans
  • Invalid postId
    • If the get-post or comment node fails, double check the expression for the id
    • Open the previous node’s JSON output and confirm the exact path to the ID

Once those are sorted, your workflow should run reliably.

Level it up: enhancements and best practices

As soon as you have the basic flow working, you can start making it smarter. Here are some ideas to expand this Reddit workflow with n8n.

  • Schedule recurring posts
    • Replace the Manual Trigger with a Cron node
    • Use it for weekly community updates, recurring announcements, or content series
  • Add conditional logic
    • Use an If node to only post when certain criteria are met
    • For example, only post if content passes validation, or if something is trending
  • Tap into Reddit’s newer APIs
    • If you need advanced features not yet available in the Reddit node, use the HTTP Request node
    • Let n8n still handle OAuth, while you call the newer endpoints directly
  • Log everything for analytics
    • Send post and comment data to Google Sheets, Airtable, or a database
    • Use it for tracking performance, auditing, or reporting
  • Build in error handling and alerts
    • Add error branches to handle failures gracefully
    • Send alerts to Slack or email if a post or comment fails

This way, you are not just automating a single task, you are building a small but robust social automation system around Reddit.

Real-world use cases for this Reddit workflow

Wondering where this actually fits into your day to day work? Here are some concrete ways people use this type of automation:

  • Scheduled community updates
    • Post weekly or monthly updates, then auto-comment with links, FAQs, or follow up info
  • Automated content distribution
    • Summarize a new blog post or newsletter and post it to Reddit automatically
    • Keep a consistent presence without manually copying content every time
  • Cross posting with quality checks
    • Pull content from other platforms, validate it, then post to Reddit when it meets your criteria
  • Auto-response comments
    • Post a comment under your own post with:
      • A link to your FAQ
      • Helpful resources
      • Disclaimers or additional context

Once you have the pattern in place, it is easy to adapt to different subreddits and workflows.

Security and compliance tips

Since this automation uses OAuth and posts on your behalf, it is worth keeping things secure and compliant.

  • Protect your credentials
    • Keep your Reddit OAuth2 client ID and secret private
    • In team environments, limit who can view or edit the Reddit credential in n8n
  • Respect Reddit’s rules
    • Follow Reddit’s API terms of use
    • Check each subreddit’s rules, especially around

Leave a Reply

Your email address will not be published. Required fields are marked *

AI Workflow Builder
N8N Bazar

AI-Powered n8n Workflows

🔍 Search 1000s of Templates
✨ Generate with AI
🚀 Deploy Instantly
Try Free Now