Skip to main content

Convert Telegram messages to professional LinkedIn posts with Gemini AI & approval workflow

Workflow preview

Workflow preview
100%
Convert Telegram messages to professional LinkedIn posts with Gemini AI & approval workflow preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 Li...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.if, n8n-nodes-base.splitinbatches, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.chainllm, @mendable/n8n-nodes-firecrawl.firecrawl

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sateesh.

Original n8n.io source

1.1 Workflow description

Title
Convert Telegram messages to professional LinkedIn posts with Gemini AI & approval workflow
Workflow name
Convert Telegram messages to professional LinkedIn posts with Gemini AI & approval workflow

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

  1. Message Reception: Secure Telegram trigger with user validation
  2. Content Classification: AI analyzes input type and extracts actionable elements
  3. 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
  4. Content Synthesis: Merges all gathered information into comprehensive context
  5. AI Generation: Creates LinkedIn-optimized post with professional formatting
  6. Interactive Approval: Telegram preview with approval workflow
  7. Publishing: Direct LinkedIn posting upon approval
  8. Content Logging: Complete tracking in Google Sheets

๐Ÿ“ˆ Use Cases

  1. Daily Industry Updates: Transform news URLs into thought leadership posts
  2. Content Repurposing: Convert articles and research into LinkedIn insights
  3. Trend Commentary: Generate posts about trending topics with real-time data
  4. Educational Content: Create informative posts from technical documentation
  5. 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

  1. Search for @BotFather on Telegram
  2. Send /newbot and follow prompts
  3. Copy the bot token
  4. Send /setprivacy to BotFather and set to Disable

2. Google Gemini API

  1. Visit Google AI Studio
  2. Sign in and click "Get API Key" โ†’ "Create API Key"
  3. Copy your API key
  4. Free tier: 60 requests per minute

3. Firecrawl API

  1. Visit Firecrawl.dev
  2. Sign up and go to Dashboard โ†’ API Keys
  3. Copy your API key
  4. Free tier: 500 pages/month

4. Brave Search API

  1. Visit Brave Search API
  2. Sign up and create application
  3. Copy subscription key
  4. Free tier: 1,000 queries/month

5. LinkedIn API

  1. Visit LinkedIn Developers
  2. Create app with required details
  3. Request "Share on LinkedIn" product
  4. Copy Client ID and Client Secret
  5. Add redirect URL: https://your-n8n-domain.com/rest/oauth2-credential/callback

6. Google Sheets API

  1. Visit Google Cloud Console
  2. Enable Google Sheets API
  3. Create OAuth 2.0 Client ID
  4. Copy Client ID and Client Secret

๐Ÿ› ๏ธ Installation Steps

Phase 1: Preparation

  1. Install required community nodes
  2. Restart n8n after installation
  3. Create Google Sheet for logging
  4. Set up Telegram Bot

Phase 2: Import and Configure

  1. Import workflow JSON in n8n
  2. Configure all API credentials
  3. Test each connection

Phase 3: Customization

  1. Update authorized user ID in "Authorized Telegram Users" node
  2. Configure Google Sheets document ID
  3. 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!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1

Block 2 - User Validation

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Generate Post ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Log Initial Request

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 5 - Parse Classification

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Content Router

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 7 - Extract URLs for Processing

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Loop Over URLs

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Process Scraped Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Merge Content Sources

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Format Preview

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Send Preview to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 14 - Initial LinkedIn Post

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 15 - Scrape a url and get its content

Type / Role
@mendable/n8n-nodes-firecrawl.firecrawl - firecrawl
Config choices
Version 1

Block 16 - If1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 17 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 18 - Update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 19 - Process Callback

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Route Actions

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 21 - Send Status (Approve)

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 22 - Confirm Publish

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 23 - Process Rewrite

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 24 - Send Rewrite for Approval

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Showing the first 24 of 54 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Convert Telegram messages to professional LinkedIn posts with Gemini AI & approval workflow
Complexity advanced
Nodes 54
Categories Content Creation, Multimodal AI
Author Sateesh
Published 16 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7466/7466.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Convert Telegram messages to professional LinkedIn posts with Gemini AI & approval workflow do?

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 Li...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.