This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
AI-Powered LinkedIn Publishing via Telegram Workflow

Transform your LinkedIn presence with this intelligent n8n workflow that converts simple Telegram messages into professional LinkedIn posts through AI-powered content generation and approval workflows.
๐ฏ Who Is This For?
-
Content Creators & Influencers seeking to maintain consistent LinkedIn presence
-
Marketing Professionals managing multiple client accounts
-
Business Owners wanting to automate thought leadership content
-
Social Media Managers streamlining content workflows
-
Entrepreneurs maximizing content efficiency while maintaining quality
๐ Benefits
-
Time Efficiency: Reduces content creation time by 80-90%
-
Quality Consistency: Maintains professional standards across all posts
-
Content Diversity: Leverages multiple sources for rich, varied content
-
Real-Time Relevance: Incorporates latest industry trends and news
-
Approval Control: Human oversight ensures brand alignment
-
Scalability: Handles multiple users and high-volume content creation
๐ง Core Features
Smart Content Classification
-
Multi-Input Processing: Handles URLs, topics, direct content, or combinations
-
Intelligent Routing: Automatically determines whether to scrape, search, or generate directly
-
Context Preservation: Maintains original user intent throughout the process
Advanced Content Gathering
-
Web Scraping: Firecrawl integration for extracting article content from URLs
-
Real-Time Search: Brave Search API for latest industry trends and news
-
Content Synthesis: Merges multiple sources into coherent, valuable insights
AI-Powered Content Generation
-
Google Gemini Integration: Creates professional, LinkedIn-optimized posts
-
Platform-Specific Formatting: Mobile-friendly paragraphs, engaging hooks, strategic CTAs
-
SEO Optimization: Relevant hashtags and keyword integration
-
Character Management: Ensures posts stay within LinkedIn's 2800 character limit
Interactive Approval System
-
Telegram Preview: Rich preview with post analytics and formatting
-
Action Buttons: Approve, Edit, or Reject with single-click convenience
-
Edit Workflow: AI-powered rewriting based on user feedback
-
Real-Time Updates: Instant feedback and status notifications
Comprehensive Content Tracking
-
Google Sheets Integration: Complete audit trail of all posts and content metrics
-
Content Analytics: Character counts, hashtag usage, source attribution
-
User Authorization: Secure access control with authorized user validation
-
Post Management: Unique ID generation for tracking and reference
๐ How It Works
-
Message Reception: Secure Telegram trigger with user validation
-
Content Classification: AI analyzes input type and extracts actionable elements
-
Dynamic Routing: Intelligent branching based on content requirements:
-
URL Path: Web scraping โ content extraction โ processing
-
Topic Path: Web search โ latest information gathering โ synthesis
-
Direct Path: Immediate processing for ready-to-post content
-
Content Synthesis: Merges all gathered information into comprehensive context
-
AI Generation: Creates LinkedIn-optimized post with professional formatting
-
Interactive Approval: Telegram preview with approval workflow
-
Publishing: Direct LinkedIn posting upon approval
-
Content Logging: Complete tracking in Google Sheets
๐ Use Cases
-
Daily Industry Updates: Transform news URLs into thought leadership posts
-
Content Repurposing: Convert articles and research into LinkedIn insights
-
Trend Commentary: Generate posts about trending topics with real-time data
-
Educational Content: Create informative posts from technical documentation
-
Personal Branding: Maintain consistent professional presence with minimal effort
๐ ๏ธ Technical Requirements
Required Community Nodes
Install these community nodes in your n8n instance:
# Brave Search Integration
@brave/n8n-nodes-brave-search
# Firecrawl Web Scraping
@mendable/n8n-nodes-firecrawl
# LangChain AI Integration
@n8n/n8n-nodes-langchain
APIs & Services Required
- Google Gemini (Content generation and classification)
- Firecrawl API (Web scraping)
- Brave Search API (Real-time search)
- Telegram Bot API (Interface and notifications)
- LinkedIn API (Content publishing)
- Google Sheets API (Content tracking and logging)
๐ Setup Guide
1. Telegram Bot Setup
- Search for
@BotFather
on Telegram
- Send
/newbot
and follow prompts
- Copy the bot token
- Send
/setprivacy
to BotFather and set to Disable
2. Google Gemini API
- Visit Google AI Studio
- Sign in and click "Get API Key" โ "Create API Key"
- Copy your API key
- Free tier: 60 requests per minute
3. Firecrawl API
- Visit Firecrawl.dev
- Sign up and go to Dashboard โ API Keys
- Copy your API key
- Free tier: 500 pages/month
4. Brave Search API
- Visit Brave Search API
- Sign up and create application
- Copy subscription key
- Free tier: 1,000 queries/month
5. LinkedIn API
- Visit LinkedIn Developers
- Create app with required details
- Request "Share on LinkedIn" product
- Copy Client ID and Client Secret
- Add redirect URL:
https://your-n8n-domain.com/rest/oauth2-credential/callback
6. Google Sheets API
- Visit Google Cloud Console
- Enable Google Sheets API
- Create OAuth 2.0 Client ID
- Copy Client ID and Client Secret
๐ ๏ธ Installation Steps
Phase 1: Preparation
- Install required community nodes
- Restart n8n after installation
- Create Google Sheet for logging
- Set up Telegram Bot
Phase 2: Import and Configure
- Import workflow JSON in n8n
- Configure all API credentials
- Test each connection
Phase 3: Customization
- Update authorized user ID in "Authorized Telegram Users" node
- Configure Google Sheets document ID
- Test Telegram connection
Phase 4: Testing
Test with different input types:
- URL only:
https://example.com/article
- Topic only:
artificial intelligence trends
- Mixed:
AI trends https://example.com/ai-news
๐จ Customization Options
Content Personalization
- Modify AI prompts to match your brand voice
- Adjust content length and formatting preferences
- Customize hashtag strategies and CTA approaches
- Configure approval workflow steps
Source Integration
- Add additional search engines or content sources
- Integrate with RSS feeds or news APIs
- Connect to internal knowledge bases
- Customize web scraping parameters
๐ Security Features
-
User Authorization: Whitelist-based access control
-
Secure Token Management: Encrypted API key handling
-
Data Privacy: Secure processing of scraped content
-
Audit Trail: Complete logging of all user interactions
๐ฎ Future Expansion Possibilities
This workflow serves as a foundation for:
-
Performance Analytics Module: LinkedIn engagement tracking
-
Content Optimization Engine: A/B testing and refinement
-
Multi-Platform Publishing: Expand to Twitter, Facebook, Instagram
-
Advanced Scheduling: Time-optimized posting
-
Content Series Management: Automated follow-ups
๐ก Why Choose This Workflow
This represents a complete LinkedIn content automation solution that maintains quality and personal touch while dramatically reducing time and effort. Perfect for professionals who want to maximize LinkedIn impact without sacrificing content quality or spending hours on manual creation.
Ready to transform your LinkedIn presence? Install this workflow and start automating your professional content creation today!