Automated Viral Content Engine for LinkedIn & X with AI Generation & Publishing — рабочий процесс n8n

Высокая сложность Триггер115 узлов AI👁 402 просмотровот Diptamoy Barman

Обзор

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.

Использованные узлы

Google SheetsHTTP RequestTelegramGoogle DriveX (Formerly Twitter)LinkedInAI AgentBasic LLM ChainStructured Output ParserCall n8n Workflow ToolGoogle Gemini Chat ModelText ClassifierOpenRouter Chat Model

Предпросмотр рабочего процесса

System 2: Content Discovery
Scrape Viral Posts based on defined niche/keywords from
Only Evergreen Content
Save only evergreen content. Notify the user via Telegr
Make sure to change the system prompt of the classifier
System 1: Initialization (Optional)
Scrape Competitor Profiles from LinkedIn and save to a
Configure Me!
Make sure to append the keywords for your niche in this
I used AI, Automation niche keywords.
OpenAI image gen
May use instead of Gemini image gen
Generate Post Image 🖼️
Takes the image_description from the AI Agent.
Uses a reference image (Minimalistic) for style guidanc
Calls the Gemini Image Generation API to create a new,
Sub workflow
search the web for relevant data
System 3: Generate New Post from viral posts
Fetch Viral Post Ideas 📥
Grabs all rows from the 'Viral Ideas' Google Sheet wher
Loops through each idea one by one for processing.
Generate New Post from user's idea
This is a seperate workflow.
Add a` When executed by another workflow ` trigger no
This will execute when the user sends a post idea via t
SYSTEM 4: Repurpose for X
Note
Good to run a week behind SMS (LinkedIn)
Generate New Post Idea from viral posts
Make sure to change the system prompt accordi
Appends post and the same image used for link
Generate New Post Idea from user's idea
This is a seperate workflow.
Add a` When executed by another workflow ` trigger no
This will execute when the user sends a post idea via
This will generate 4-6 X threads for a post i
Make sure to configure the system prompt according to y
Post to LinkedIn
Check for valid contents
Post a valid content to LinkedIn and append the post re
System 5: Auto Post to different platforms
Post to X
Check for valid contents
Post a valid content to X and append the post record to
NOTE:
X OAuth (Not OAuth2) crential is needed here.
Search for necessary info
Add a` When executed by another workflow ` trigger no
This will execute when triggered by `LinkedIn Post Gen`
Free alternative of perplexity
browseract.com
worths more than it costs
Perplexity search
a bit costly but worth it
Execute any SMS operation
This will execute when the user sends a query in a pred
Notify Wrong user For convenience
System 6: Helper for SMS
1. Search for necessary info/data for a LinkedIn post
2. Works as a telegram trigger.
Configure Me!
- Create an agent in browseract.com
- Get your API key for that agent
- Make a credential (header Auth w Bearer YOUR_TOKEN_HE
- Paste the Task ID in json fields
🚀 Welcome to Social Media Spark (SMS)
This is your end-to-end social media content engine.
It discovers viral ideas in your niche, generates posts
EXPLANATION OF EACH SYSTEM
🟩 PART 1 — The Foundation
*(Initialization & Content Discovery — Systems 1 + 2)*
System 1: Initialization (Optional)
- Purpose: Build a list of competit
💡Tips:
- Create 4 different workflows.
1. Scrape Idea + Auto post:
System 1 + system 5
2. LinkedIn Post gen
System 3
Configure Me!
- Paste your telegram chatID in the `chat ID` field
- Paste your specified sheet_ID in the `message` field
Paste your chatID
Paste your chatID
Paste your chatID
Paste your chatID
Configure Me!
- Paste your telegram chatID in the `chat ID` field
- Paste your specified sheet_ID in the `message` field
Configure Me!
- Paste your telegram chatID in the `chat ID` field
- Paste your specified sheet_ID in the `message` field
Paste your chatID
Paste your chatID
Paste your chatID
modelmodelmodelmodeltoolmodeltoolmodelmodelmodelmodelmodelmodelmodelmodelparserparserparserparser
M
Manual Trigger
E
Edit Fields
Add competitors
>
>100 likes
Find competitors
Scrape viral posts
Get competitors
A
Aggregate
E
Edit Fields1
E
Edit Fields2
Text Classifier
Deepseek
append ideas
R
Remove Duplicates
T
Telegram trigger
A
Aggregate1
S
Saturday 11 PM
Gemini flash
>
>100 likes1
OpenAI Image
C
Convert to File
A
Aggregate2
Gemini flash1
Notify (HitL)1
E
Edit Fields3
Deepseek1
S
Set content
Mark Idea as Done
P
Pic exist?
G
Generated ?
S
Sunday 1 AM
Gemini 2.5 pro
L
Loop Over Items
Reasearch
Minimalistic
G
get base64
S
set base64
C
Convert to File1
Get Viral Ideas
HTTP- Gemini
Post repurpose
Save Post
Save Image
Structured Output Parser
Structured Output Parser1
HTTP- Gemini1
C
Convert to File2
S
set base
G
get base
Minimalistic1
Reasearch1
Post generator
Send post
Deepseek2
Gemini 2.5 pro1
Send image
P
Pic exist?1
no pic
Get content
Content repurpose
Append post
All Done
Gemini pro
S
Sunday 7am
E
Edit Fields5
Structured Output Parser2
Deepseek3
E
Edit Fields6
L
Loop Over Items1
Gemini flash2
A
Aggregate3
G
Generated ?1
Content repurpose1
Gemini pro1
E
Edit Fields4
Structured Output Parser3
Deepseek4
Gemini flash3
Send post1
G
Generated ?2
6
6 pm
Create a post
Download file
Update status
Notify user
Get content1
6
6:30 pm
Get valid content
Create Tweet
Update status1
Get image
I
Image valid?
Create Tweet1
Update status2
Upload image to X
1
1 min
S
Switch
E
Error
Create task
Get task status
get output
O
Output
Perplexity Research
O
Output1
T
Telegram Trigger
I
If Dipt
Wrong user
Incorrect input
E
Execute post scraper
O
Operation ?
Start notif
G
Generate Linkedin post
G
Generate X post
Notify (HitL)
Notify (HitL)2
115 nodes119 edges

Как это работает

  1. 1

    Триггер

    Рабочий процесс запускается триггером триггер.

  2. 2

    Обработка

    Данные проходят через 115 узлов, connecting agent, aggregate, chainllm.

  3. 3

    Вывод

    Рабочий процесс завершает автоматизацию и доставляет результат в настроенное место назначения.

Детали узлов (115)

GO

Google Sheets

googleSheets

#1
HT

HTTP Request

httpRequest

#2
TE

Telegram

telegram

#3
GO

Google Drive

googleDrive

#4
X

X (Formerly Twitter)

twitter

#5
LI

LinkedIn

linkedIn

#6
AI

AI Agent

n8n-nodes-langchain.agent

#7
BA

Basic LLM Chain

n8n-nodes-langchain.chainLlm

#8
ST

Structured Output Parser

n8n-nodes-langchain.outputParserStructured

#9
CA

Call n8n Workflow Tool

n8n-nodes-langchain.toolWorkflow

#10
GO

Google Gemini Chat Model

n8n-nodes-langchain.lmChatGoogleGemini

#11
TE

Text Classifier

n8n-nodes-langchain.textClassifier

#12
OP

OpenRouter Chat Model

n8n-nodes-langchain.lmChatOpenRouter

#13

Как импортировать этот рабочий процесс

  1. 1Нажмите кнопку Скачать JSON справа, чтобы сохранить файл рабочего процесса.
  2. 2Откройте ваш экземпляр n8n. Перейдите в Рабочие процессы → Новый → Импорт из файла.
  3. 3Выберите скачанный файл automated-viral-content-engine-for-linkedin-x-with-ai-generation-publishing и нажмите Импортировать.
  4. 4Настройте учётные данные для каждого узла сервиса (ключи API, OAuth и т.д.).
  5. 5Нажмите Протестировать рабочий процесс, чтобы убедиться в правильной работе, затем активируйте его.

Или вставьте напрямую в n8n → Импорт из JSON:

{ "name": "Automated Viral Content Engine for LinkedIn & X with AI Generation & Publishing", "nodes": [...], ...}

Интеграции

agentaggregatechainllmconverttofileexecuteworkflowexecuteworkflowtriggerextractfromfilefiltergoogledrivegooglesheetshttprequestiflinkedinlmchatgooglegeminilmchatopenroutermanualtriggeroutputparserstructuredremoveduplicatesscheduletriggerset

Получить этот рабочий процесс

Скачайте и импортируйте одним кликом

Скачать JSONПросмотреть на n8n.io
Узлы115
Сложностьhigh
Триггерtrigger
Просмотры402
КатегорияAI

Создан

Diptamoy Barman

Diptamoy Barman

@diptamoy-barman

Теги

agentaggregatechainllmconverttofileexecuteworkflowexecuteworkflowtriggerextractfromfilefiltergoogledrivegooglesheets

Новичок в n8n?

n8n — бесплатный инструмент автоматизации рабочих процессов с открытым исходным кодом. Разверните самостоятельно или используйте облачную версию.

Получить n8n бесплатно →

Related AI Workflows

AGCOFIGM+10
high

Automate Digital Product Delivery: Stripe to Gmail via n8n

Transform your post-purchase operations with this high-performance n8n workflow designed for digital creators and SaaS founders. Instead of manual fulfillment, this automation acts as a 24/7 digital concierge. It begins by scanning Stripe for successful transactions, cross-referencing buyer data against a centralized Google Sheets inventory to identify the correct digital asset. Utilizing advanced AI via GPT-4o, the system then drafts a personalized onboarding email, including secure access credentials and custom instructions, ensuring a premium customer experience without manual intervention. This flow eliminates the 'human-in-the-middle' delay, significantly reducing support tickets related to missing downloads. By integrating an AI agent, the workflow can intelligently parse complex product variations, making it far more robust than standard linear automations. Whether you are selling automation templates, software licenses, or protected PDF guides, this system provides a scalable infrastructure that grows with your sales volume while maintaining a personal touch through LLM-generated content. **Common Use Cases:** - Scaling a niche digital marketplace for selling specialized code snippets or design assets. - Automating the distribution of unique software license keys and documentation after a SaaS subscription purchase. - Delivering personalized AI-generated consulting reports or audit results based on customer input data.

Scheduled·25 nodes
AGCHCOEX+10
high

Automated AI Resume Parser & JD Matcher via n8n & GPT-4

Transform your recruitment funnel with this advanced AI-driven candidate evaluation engine. This n8n workflow eliminates manual screening fatigue by autonomously analyzing batches of resumes against specific job descriptions. Using GPT-4 and LangChain's structured output parsers, the system extracts key qualifications, scores them against your criteria, and generates objective alignment reports. The process begins with a custom n8n form for document upload, followed by intelligent text extraction from PDFs. The data is then processed through an LLM chain to ensure unbiased scoring. Results are synchronized directly to Google Sheets for centralized tracking, while high-match alerts are dispatched via Slack and SendGrid to keep hiring managers informed in real-time. This workflow is essential for high-volume recruitment agencies and scaling startups that need to maintain a rigorous, auditable, and data-backed shortlisting process without increasing headcount or sacrificing quality of hire. **Common Use Cases:** - High-volume university recruitment and internship screening - Technical talent sourcing for niche engineering roles - Internal mobility matching for large corporate restructuring

Trigger·21 nodes
AGCHGMGM+5
medium

AI Gmail Auto-Labeler: Smart Inbox Sorting with GPT-4 & n8n

Stop drowning in a cluttered inbox and regain control of your digital communication. This advanced n8n automation leverages GPT-4's natural language processing to intelligently analyze, categorize, and label incoming Gmail messages in real-time. Unlike basic filter rules that rely on rigid keywords, this workflow understands the context and sentiment of every email, ensuring high-precision organization. The process begins with a Gmail Trigger that captures new messages. It then passes the content through a LangChain LLM chain where OpenAI evaluates the intent—distinguishing between urgent client requests, internal project updates, or low-priority newsletters. Using structured output parsing, the workflow extracts key metadata and applies the appropriate Gmail labels automatically. This eliminates the manual cognitive load of triaging emails, allowing your team to focus on high-value tasks rather than administrative upkeep. Whether you are managing high-volume support tickets or complex sales inquiries, this workflow ensures that critical messages are highlighted and organized without human intervention. **Common Use Cases:** - Automated Customer Support Triage: Instantly tag emails as 'Urgent Support', 'Feature Request', or 'Billing' to speed up response times. - Sales Lead Prioritization: Automatically identify high-intent inquiries and label them for immediate follow-up by account executives. - Project Management Sync: Categorize incoming vendor updates and stakeholder feedback by project name or department for better visibility.

Trigger·11 nodes
AGGMGOLM+3
medium

AI Dental Lead Follow-up: n8n, OpenAI & Google Sheets Sync

Stop losing high-value patients to delayed responses. This advanced n8n workflow bridges the gap between lead capture and appointment booking by deploying an AI-driven engagement layer. When a prospect submits a query via your website or landing page, the automation immediately triggers, logging the data into Google Sheets for centralized tracking. Instead of sending a generic auto-reply, the integrated LangChain agent utilizes GPT-4/3.5 to analyze the specific treatment interest—be it Invisalign, dental implants, or routine cleaning—and crafts a personalized, empathetic response delivered via Gmail. The workflow includes a strategic 'Wait' node to mimic natural human timing and a 'Memory Buffer' to maintain context if the lead replies. This system is essential for clinics looking to scale their patient acquisition without increasing administrative headcount, ensuring every inquiry is nurtured instantly with professional, clinical-grade communication. By automating the initial touchpoint, your front-desk team can focus on confirmed arrivals rather than chasing cold leads. **Common Use Cases:** - Automated Patient Triage: Categorizing and responding to specific dental treatment inquiries based on urgency and procedure type. - Medical Spa Lead Nurturing: Instantly engaging prospects interested in high-ticket aesthetic treatments to increase conversion rates. - Multi-Location Clinic Sync: Centralizing lead data from various web forms into a single Google Sheet while maintaining personalized local email follow-ups.

Trigger·8 nodes
AGCOGOHT+8
high

Automate AI UGC Video Production with Google Sheets & Veo

Transform your digital marketing strategy by automating the production of high-converting User-Generated Content (UGC) at scale. This sophisticated n8n workflow eliminates the logistical bottleneck of traditional content creation by orchestrating a seamless pipeline between Google Sheets and advanced AI video models. By leveraging NanoBanana Pro for precise image synthesis and Veo 3.1 for fluid motion, the system takes three distinct visual inputs—your product, a chosen persona, and a target environment—and blends them into hyper-realistic, selfie-style video assets. The automation begins by monitoring a Google Sheet for new campaign parameters, triggers an intelligent AI agent to handle complex image processing, and manages asynchronous API calls to ensure high-fidelity video rendering. This is an enterprise-grade solution for performance marketers who need to refresh creative assets daily without manual intervention. It effectively handles the heavy lifting of prompt engineering and file management, allowing you to focus on strategy while the workflow generates 8-second, platform-ready clips optimized for the TikTok and Instagram algorithms. **Common Use Cases:** - Scaling creative testing for TikTok and Meta Ads by generating hundreds of product variants - Automating personalized influencer-style shoutouts for e-commerce loyalty programs - Rapid prototyping of social media video content for global brand localization

Scheduled·24 nodes
@BAGCOIF+7
high

Automate AI Twitter Threads via Telegram & n8n (No-Code)

Streamline your social media presence with this enterprise-grade n8n automation that bridges the gap between raw inspiration and professional X (Twitter) publishing. By integrating Telegram as a mobile command center, this workflow allows you to dictate or type thread ideas on the go. The system leverages OpenAI’s LLMs and LangChain agents to draft high-engagement thread structures, which are then sent back to your private Telegram chat for review. Unlike basic automation, this setup features a sophisticated 'human-in-the-loop' approval system. You can interactively refine the AI-generated content, request edits, or finalize the draft. Once you provide the 'Okay' confirmation, the workflow automatically formats and publishes the entire thread to X via the Blotato integration. This eliminates the friction of manual drafting and copy-pasting, ensuring your brand stays active without the constant overhead of social media management. It is the perfect solution for creators and businesses looking to maintain a high-quality digital presence using a voice-to-thread mobile pipeline. **Common Use Cases:** - Thought Leadership: Convert spontaneous voice memos into structured educational threads while commuting. - Event Live-Tweeting: Rapidly draft and approve professional event summaries from a mobile device without opening the X app. - Content Repurposing: Send links or snippets of long-form articles to Telegram to generate 'tweetable' summaries for social distribution.

Trigger·19 nodes