Templates / Automated viral content engine for LinkedIn & X with AI generation & publishing

Automated viral content engine for LinkedIn & X with AI generation & publishing

Ready for 3.0

by Diptamoy Barman ✓ · 6,743 views · created 2025-09-30 · Social Media, Multimodal AI

Ready 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)

Google SheetsText ClassifierOpenRouter Chat ModelGoogle Gemini Chat ModelTelegramCall n8n WorkflowGoogle DriveAI AgentStructured Output ParserBasic LLM ChainLinkedInX (Formerly Twitter)

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.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.