🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Reddit to X with Google Sheets, posts stay consistent

Lisa Granqvist Partner Workflow Automation Expert

Your content cadence shouldn’t die because you forgot to “check Reddit” on a busy day. But that’s what happens. You grab a promising post, rewrite it fast, post it, then later realize you already used the same idea last week.

This Reddit X automation hits marketers first (because consistency is the job), but founders and solo creators feel it too. You will turn rising Reddit posts into first-person X tweets, automatically, and log every post in Google Sheets so repeats stop happening.

Below is the exact workflow behavior, what it produces, and how to set it up without getting lost in tech jargon.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Reddit to X with Google Sheets, posts stay consistent

The Problem: Staying consistent without reposting the same idea

Turning Reddit into X content sounds easy until you do it for two weeks straight. You have to pick a subreddit, scan what’s rising, open a handful of posts, decide what’s actually tweetable, then rewrite it so it sounds like you and not like a copied headline. The real killer is tracking. Without a simple log, you’ll reuse the same post ID or the same angle, and your feed starts feeling repetitive. Add in the pressure to post daily, and suddenly you are spending your best creative energy on busywork.

The friction compounds. Here’s where it breaks down in real life.

  • You lose about 30 minutes per post just picking, rewriting, and formatting for X.
  • Repeats happen because there’s no reliable “already used” check across weeks.
  • Manual tracking in notes or bookmarks turns into a mess once you scale beyond a few subreddits.
  • You post less often because the process requires your attention at the worst times.

The Solution: Automated Reddit-to-X posts with a no-repeat log

This workflow runs on a simple schedule and does the boring parts for you. Every couple of hours, it picks a subreddit from your preset list, pulls a rising Reddit post, and hands that content to an AI writing step (Gemini in the workflow data). The AI rewrites the idea into a short, punchy, first-person tweet so it reads like a human wrote it. Before anything gets posted, the workflow checks Google Sheets to confirm that Reddit post hasn’t been used already. If it’s new, it publishes to X via the X API and appends a clean record to your sheet (date, subreddit, post ID, and tweet text) so the workflow gets smarter over time.

The workflow starts on a schedule trigger (every 2 hours). A code step selects a subreddit, Reddit provides the rising content, and the AI agent composes the tweet with a structured output so formatting stays consistent. Then X publishes, and Google Sheets becomes your “memory” for duplicates and review.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you want 3 posts per day on X, pulled from 5 subreddits. Manually, you might spend 10 minutes finding a good Reddit post and another 10 minutes rewriting it, so about an hour a day when you include context-switching and formatting. With this workflow, you set the schedule once and it runs every 2 hours. Your “time cost” becomes a quick sheet review, maybe 10 minutes a day, while the rest is handled automatically.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Google Sheets for logging and duplicate checks
  • X (Formerly Twitter) to publish tweets via the API
  • Google Gemini API key (get it from Google AI Studio)

Skill level: Intermediate. You’ll connect accounts, add API keys, and match a few fields to your Google Sheet columns.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A schedule kicks everything off. The workflow triggers every 2 hours, so you don’t need to remember to run anything or babysit it.

A subreddit gets selected automatically. A small code step chooses from your preset array (for example: r/automation, r/n8n, r/SaaS), which keeps topics varied and avoids the “same vibe every day” problem.

Reddit content is fetched and rewritten into a tweet. The Reddit tool pulls a rising post, then the Gemini chat model plus the AI agent convert that idea into a short first-person post. A structured output parser keeps things predictable (tweet text, subreddit, post ID), which makes logging and filtering reliable.

X publishes and Google Sheets remembers. The workflow maps fields, publishes to X, and appends a row to your sheet with the date, subreddit, Reddit post ID, and tweet text so you can audit what went out.

You can easily modify the subreddit list to match your niche based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Schedule Trigger

This workflow runs automatically on a schedule to kick off the Reddit selection and tweet composition chain.

  1. Add or open Scheduled Automation Start and set the schedule rule to run every 2 hours (Field: hours, hoursInterval = 2).
  2. Confirm the execution flow starts as Scheduled Automation StartSelect Subreddit Logic.
  3. Optionally keep Flowpast Branding as a reference note; it has no execution impact.

Step 2: Connect Reddit Data Retrieval

Trending posts are pulled from Reddit as an AI tool so the agent can choose what to write about.

  1. Open Retrieve Reddit Posts and set Operation to getAll and Limit to 10.
  2. Set Subreddit to ={{$fromAI('subreddit','name of the subreddit','string')}}.
  3. Set the filter category to rising in Filters.
  4. Credential Required: Connect your redditOAuth2Api credentials. This tool is used by Compose Tweet Agent, so ensure the agent has access to the tool connection.

Step 3: Connect Google Sheets

Google Sheets is used to prevent duplicate Reddit post usage and to log the final tweets.

  1. Open Lookup Post History and set Document ID to [YOUR_ID] and Sheet Name to gid=0 (sheet posts).
  2. In Lookup Post History, set filters to: lookupColumn subreddit with lookupValue ={{ $fromAI('subreddit', `subreddit`, 'string') }}, and lookupColumn post_id with lookupValue ={{ $fromAI('id', `id of the post`, 'string') }}.
  3. Credential Required: Connect your googleSheetsOAuth2Api credentials. This tool is used by Compose Tweet Agent, so ensure the agent has access to the tool connection.
  4. Open Log Tweet Record and set Operation to append, Document ID to [YOUR_ID], and Sheet Name to gid=0.
  5. Map columns in Log Tweet Record: Date ={{$now.format('dd/MM/yyyy')}}, post_id ={{ $('Map Tweet Fields').item.json.post_id }}, subreddit ={{ $('Map Tweet Fields').item.json.subreddit }}, PAST TWEETS ={{ $('Map Tweet Fields').item.json.tweet }}.
  6. Credential Required: Connect your googleSheetsOAuth2Api credentials.

⚠️ Common Pitfall: Replace [YOUR_ID] with your actual Google Sheet ID, or the lookup and logging steps will fail.

Step 4: Set Up the Processing and AI Nodes

This step selects a subreddit or promo mode and generates a structured tweet using the AI agent and parser.

  1. Open Select Subreddit Logic and keep the JavaScript as provided to randomly choose between advertise and a subreddit while avoiding repeats.
  2. Open Compose Tweet Agent and set Text to ={{ $json.tweet }}.
  3. In Compose Tweet Agent, set Prompt Type to define and keep System Message as provided to enforce the tweet style and tool usage rules.
  4. Open Structured Result Parser and set Schema Type to manual with the JSON schema that requires tweet and optionally subreddit and id.
  5. Connect Gemini Chat Engine as the language model for Compose Tweet Agent. Credential Required: Connect your googlePalmApi credentials in Gemini Chat Engine.
  6. Confirm tool connections: Retrieve Reddit Posts and Lookup Post History are connected as AI tools, and Structured Result Parser is connected as the output parser for Compose Tweet Agent.

The execution flow is linear: Scheduled Automation StartSelect Subreddit LogicCompose Tweet AgentMap Tweet FieldsPublish TweetLog Tweet Record.

Step 5: Configure Publish Tweet Output

The agent’s structured output is mapped into tweet fields and then posted to Twitter.

  1. Open Map Tweet Fields and set assignments: tweet ={{$json.output.tweet}}, subreddit ={{$json.output.subreddit || null}}, post_id ={{ $json.output.id || null}}.
  2. Open Publish Tweet and set Text to ={{ $json.tweet }}.
  3. Set Additional Fields → Attachments to ={{ $json.image_id || null }} if you plan to include media.
  4. Credential Required: Connect your twitterOAuth2Api credentials.

Step 6: Test and Activate Your Workflow

Verify that the full chain runs end-to-end and posts a tweet while logging to Google Sheets.

  1. Click Execute Workflow to run a manual test from Scheduled Automation Start.
  2. Confirm a structured output is produced by Compose Tweet Agent, then mapped by Map Tweet Fields.
  3. Check Twitter to ensure Publish Tweet successfully posted the text.
  4. Verify the row append in Log Tweet Record with the correct Date, post_id, subreddit, and PAST TWEETS values.
  5. Enable the workflow by toggling the Active switch for production use.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Google Sheets credentials can expire or need specific permissions. If things break, check the n8n credential entry for Google Sheets and confirm the connected Google account still has access to the target spreadsheet.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • X (Twitter) API access is picky about permissions and app status. If publishing suddenly fails, check your X developer dashboard for revoked tokens, missing write access, or an account-level restriction.

Frequently Asked Questions

How long does it take to set up this Reddit X automation automation?

About an hour if you already have the API access sorted.

Do I need coding skills to automate Reddit X automation?

No. You’ll mostly connect accounts and paste API keys. The only “code” you might touch is the subreddit list, and it’s a simple array you can copy and edit.

Is n8n free to use for this Reddit X automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Gemini API usage and any X API costs tied to your developer plan.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Reddit X automation workflow for a specific brand voice and subreddit mix?

Yes, and you should. Update the subreddit array in the “Select Subreddit Logic” code node, then tighten the writing rules inside the Gemini Chat Engine / Compose Tweet Agent prompt so it matches your tone (calm, edgy, technical, whatever). You can also adjust the structured output to include extras like “hook type” or “CTA style,” then log those fields in Google Sheets for later analysis.

Why is my X (Formerly Twitter) connection failing in this workflow?

Usually it’s expired or revoked OAuth credentials in n8n, so reconnect your X account and try again. If that doesn’t fix it, check your X developer app permissions to confirm it still has write access. Rate limits can also bite if you crank the schedule too aggressively. Frankly, X changes policies more than most tools, so this is the first place I look.

How many tweets can this Reddit X automation automation handle?

If you self-host, there’s no execution limit (it depends on your server). On n8n Cloud, your monthly execution cap depends on plan, but this workflow is lightweight and typically handles a tweet every couple of hours without stress. The practical limit is usually your X API plan and how strict you want to be about duplicate filtering in Google Sheets.

Is this Reddit X automation automation better than using Zapier or Make?

Often, yes. This workflow benefits from logic like “check the sheet, then post, then log,” plus structured AI output, which is easier to control in n8n. Self-hosting is also a big deal if you want lots of runs without paying per task. Zapier and Make can still be fine for a simple “new row → post tweet” flow, but they get awkward when you add AI prompting, branching, and dedupe rules. If you’re on the fence, Talk to an automation expert and describe your posting goals.

Once this is running, your “post consistently” plan stops depending on motivation and free time. The workflow handles the repeatable parts, and your Google Sheet keeps you honest.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal