Automate Top Reddit to LinkedIn & Twitter with n8n Workflow
Automate Top Reddit to LinkedIn & Twitter with n8n Workflow
Couldn't load pickup availability
Automate Top Reddit to LinkedIn & Twitter with n8n Workflow
Transform Reddit's top content into engaging LinkedIn posts, Twitter threads, and Telegram messages with this intelligent n8n automation workflow. Instead of manually scouring subreddits for trending topics, this workflow automatically discovers viral content and creates platform-optimized posts for your approval.
What this workflow does
Every week, a scheduled cron trigger activates the automation to fetch top posts from your specified subreddits using Reddit's API. The workflow intelligently processes each post, preserving key metrics like upvotes, upvote ratios, and comment counts. A sophisticated deduplication system eliminates duplicate content by URL and title, while a scoring algorithm ranks candidates using the formula "ups × upvote_ratio" to identify the most engaging content.
The top-scoring post and 10 candidates are then sent to GPT-4 via LangChain, which generates three platform-specific content drafts: a comprehensive LinkedIn post, a 250-character Twitter/X tweet, and a concise Telegram message with link. Gmail delivers all drafts to your inbox with convenient APPROVE/DECLINE buttons for final review.
Upon approval, the workflow simultaneously publishes to LinkedIn, Twitter/X, and Telegram through parallel branches, automatically logging results to separate Google Sheets tabs. If you decline, the system processes your feedback and selects alternative content for a retry. A monthly cleanup cron keeps your tracking sheets organized.
Use cases
- Social media managers maintaining consistent posting schedules across platforms
- Content creators sourcing trending topics from niche Reddit communities
- Marketing teams amplifying viral content with platform-specific messaging
- Personal brands building thought leadership through curated industry discussions
Technical details
This n8n workflow integrates Reddit OAuth2 for content fetching, OpenAI API for GPT-4 content generation, and Gmail OAuth2 for approval workflows. Social media publishing uses LinkedIn OAuth2 for personal or company page posting, Twitter API integration, and Telegram bot functionality. Core automation nodes include cron triggers, code transformation, conditional logic gates, merge operations, and Google Sheets logging.
Setup requires 15-20 minutes connecting OAuth credentials and configuring subreddit lists. The workflow runs autonomously with human oversight through email approvals.
