Automatic AI LinkedIn Content Generator from Telegram Input - n8n Workflow

Automate professional content creation. Use this n8n workflow to turn quick Telegram voice notes or texts into polished, AI-generated LinkedIn posts complete with custom images and optimized formatting.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

This n8n workflow is ideal for:

Overview

Managing a professional presence on LinkedIn often requires quick, high-quality content, but drafting and formatting manually can be time-consuming. This powerful n8n workflow solves this problem by allowing users to draft content instantly via Telegram—whether a quick voice note or a short text message. The system automatically transcribes voice, formats the text into a hook-driven, professionally structured LinkedIn post using specialized GPT instructions, generates a visually compelling AI image to accompany the content, and publishes the final package directly to LinkedIn. This advanced n8n automation saves significant time while ensuring content adheres to strict LinkedIn best practices, making it one of the most effective n8n templates for marketers and busy professionals.

How it Works

This comprehensive n8n workflow begins when the Telegram Trigger n8n node detects a new message sent to your bot.


  1. Input Routing: The initial Telegram Trigger passes the data to a Switch n8n node, which checks if the message contains a voice note or plain text.

  2. Voice Path: If it's a voice note, the workflow proceeds to the Download File n8n node (Telegram) to retrieve the audio. The Transcribe Audio n8n node (OpenAI) converts the speech into text.

  3. Text Path: If it's a text message, the Set 'Text' n8n node captures the message content.

  4. Text Refinement: Both paths converge at the LinkedIn Post Text n8n node (OpenAI). This crucial n8n node uses a detailed system prompt (based on GPT-4.1-mini) to transform the raw input into a polished, structured LinkedIn post, ensuring perfect formatting, tone, and character limits.

  5. Visual Generation: The output text flows into the Image Prompt n8n node, which analyzes the post content and generates a professional description suitable for image AI.

  6. Image Creation: The Create Image n8n node (OpenAI DALL-E) uses this prompt to generate a complementary visual asset.

  7. Publishing: Finally, the Create a post n8n node connects to LinkedIn, publishing the perfectly formatted text and the new AI-generated image instantly. This fully automated n8n workflow eliminates manual steps.

Installation Guide

To deploy and utilize this powerful n8n workflow template, follow these steps:


  1. Import: Copy the provided JSON and import it into your n8n instance via the 'Workflows' menu.

  2. Telegram Setup: Create a Telegram bot via @BotFather. Use the generated Bot Token to configure the credentials in the Telegram Trigger n8n node and the Download File n8n node.

  3. OpenAI Setup: Create an API key in your OpenAI account. Configure the credentials in the Transcribe Audio, LinkedIn Post Text, Image Prompt, and Create Image n8n nodes.

  4. LinkedIn Setup (OAuth):

For cloud or desktop n8n users, set up standard OAuth2 credentials by connecting your LinkedIn account directly in the Create a post n8n node.
For self-hosted n8n users, you must create a LinkedIn application at developer.linkedin.com to obtain the necessary Client ID and Client Secret for OAuth configuration.

  1. Activation: Ensure all credentials are set and save the n8n workflow. Activate the n8n trigger to begin monitoring for new Telegram messages.

Node Details

The following major n8n node components drive this automation:

Telegram Trigger (n8n trigger): This initial n8n node monitors your Telegram bot for incoming messages, whether they are text or voice notes.
Switch (n8n node): Essential for flow control. It uses conditional logic to route the message payload based on the existence of the voice.file_id (voice input) or text field (text input).
Download File (Telegram n8n node): Used specifically on the voice path to retrieve the actual audio file data from Telegram using the provided file ID.
Transcribe Audio (OpenAI n8n node): Converts the downloaded audio file into usable text data, integrating seamlessly with the rest of the n8n workflow.
Set 'Text' (n8n node): Ensures that the text input (from direct messages) is correctly mapped to the expected variable name for subsequent processing.
LinkedIn Post Text (OpenAI n8n node): The core intelligence of the n8n workflow. It uses GPT-4.1-mini with an extremely detailed prompt focusing on LinkedIn SEO, formatting rules (hooks, line breaks, tone), and structure.
Image Prompt (OpenAI n8n node): Takes the formatted LinkedIn post and generates a short, professional, visually descriptive prompt suitable for DALL-E image generation, avoiding text and faces.
Create Image (OpenAI n8n node): Executes the image generation based on the prompt, creating a high-quality visual asset for the post.


  • Create a post (LinkedIn n8n node): The final action n8n node, responsible for posting the text content and the newly generated image to the authenticated LinkedIn profile.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

Founder of AIBIZElevate. We build n8n automations, custom dashboards, and low-code apps for businesses that need practical solutions. Our work ranges from simple workflow connections to complete systems that handle operations. Feel free to reach out if you have questions about my workflows or need custom work.

Featured*