Automated viral content engine for LinkedIn & X with AI generation & publishing
Ready for 3.0What this workflow does
This AI workflow has 115 nodes and runs manually, when you click “Execute workflow” (plus 7 other triggers). Along the way it connects Google Sheets, OpenRouter Chat Model, Google Gemini Chat Model and Telegram and 3 more. It also calls api.apify.com, upload.twitter.com and generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 7 other triggers).
- Find competitors (HTTP Request): calls api.apify.com
- Get competitors (Google Sheets): uses Google Sheets
- Get Viral Ideas (Google Sheets): uses Google Sheets
- Get content (Google Sheets): uses Google Sheets
- Get content (Google Sheets): uses Google Sheets
- Get valid content (Google Sheets): uses Google Sheets
- Operation ? (Switch): routes items into 4 branches
- >100 likes (Filter): keeps only the items that match a condition
- Edit Fields (Edit Fields (Set)): sets 1 field: LinkedIn URL
- Edit Fields (Edit Fields (Set)): sets 2 fields: Source_Content, Source_URL
…plus 79 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Gemini + Google Sheets templates (819) · Other Telegram + OpenAI templates (807)
HTTP calls to: api.apify.com, upload.twitter.com, generativelanguage.googleapis.com, api.browseract.com, api.perplexity.ai, api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
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
From the author
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…