Automated viral content engine for LinkedIn & X with AI generation & publishing
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (28)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Aggregate
n8n-nodes-base.aggregate - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Remove Duplicates
n8n-nodes-base.removeDuplicates - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Convert to File
n8n-nodes-base.convertToFile - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - LinkedIn
n8n-nodes-base.linkedIn - X (Formerly Twitter)
n8n-nodes-base.twitter - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch - Telegram Trigger
n8n-nodes-base.telegramTrigger - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
What it does
Social Media Spark (SMS) — Automated Viral Content Engine Automate your entire content workflow: discover viral ideas, generate posts in your tone, repurpose for X, and auto-publish — reducing 90% of manual effort. --- 🚀 What it Does - Scrapes competitors or niche profiles on LinkedIn to find high-performing posts. - Classifies and saves evergreen content ideas for later use. - Generates fresh posts in your own voice with matching images. - Repurposes content for X (Twitter) in a platform-optimized style. - Automatically publishes content to LinkedIn and X on your schedule. - Allows on-demand commands via Telegram for research or instant content generation. --- 🧩 Why Use It - Save time: no more manual scraping, idea collection, or formatting. - Stay consistent: maintain a daily content pipeline. - Multi-platform leverage: create once, adapt for LinkedIn and X. - Creative control: mix automation with optional human review. - Scalable: extend to more platforms, analytics, and workflows as you grow. --- 🔧 Prerequisites & Setup Before importing or activating the workflow, prepare these: - AI Provider (OpenAI / Gemini / OpenRouter) For classifying posts, generating new content, repurposing for X. - Google Sheets Central database for competitors, ideas, generated posts, and posting status. - Google Drive Stores generated images. - Apify & Browseract Scrapes LinkedIn profiles, posts, and performs research tasks. - LinkedIn API Needed for automated LinkedIn publishing. - X (Twitter) API Requires OAuth 1.0a for image uploads and OAuth 2.0 for text posting. - Telegram Bot Enables on-demand commands and notifications. Set your Telegram User ID in the trigger node. > 🔎 In each sub-workflow, look for nodes marked “Configure Me!” to replace example prompts, search keywords, sheet IDs, etc. --- ⚙️ How It Works (Simplified Flow) 1. Scrape & Classify: Collect high-engagement posts → keep evergreen ones. 2. Generate Content: Rewrite ideas into new posts in your voice → create images. 3. Repurpose for X: Adapt LinkedIn posts for short-form, high-impact tweets. 4. Auto-Publish: Post daily on LinkedIn and X. 5. Control via Telegram: Manually trigger scraping, research, or post generation. --- 💡 Best Practices & Tips - Keep all API keys private — never share them in public repos or screenshots. - Adjust cron schedules (e.g., scraping on weekends, posting on weekdays) to fit your content rhythm. - Add Human-in-the-Loop review steps for brand-sensitive content. - Extend to other platforms (Instagram, TikTok, YouTube Shorts) as needed. - Experiment with prompt variations for different tones or creative styles. - Add analytics logging (likes, comments, clicks) to measure content performance. --- 🙋♂️ Who is This For - Solo creators & founders who want to post consistently but don’t have time for daily ideation. - Small marketing teams that need to keep up with trends without spending hours on research. - Consultants & thought leaders who want to amplify their personal brand on LinkedIn and X. - Startups & bootstrapped businesses that need a lean but reliable content engine. - Content strategists who want a data-driven, repeatable pipeline for finding and using what works. Or anyone who wants to boost social presence by 300% --- 💡 Why SMS Stands Out - Authentic voice: Uses your own tone and style (defined in prompts and examples), so posts feel personal — not generic AI fluff. - Data-driven: Pulls from real, viral posts in your niche to inspire fresh content. - Quality over quantity: Focuses only on proven viral ideas instead of churning random posts. - Consistent growth: Keeps your posting regular, so you stay visible and relevant. - Efficient workflow: Minimizes manual work while letting you step in when needed (e.g., for approvals or special campaigns). > ⚡ SMS combines real market data with your unique voice — so you post smarter, not just more often.