LinkedIn Content Approval & Auto-Post Workflow
Workflow Overview
This workflow automates LinkedIn post creation, approval, and publishing, using n8n nodes with OpenAI and Telegram for approval notifications. It’s designed for content teams or individual creators who want:
- AI-powered LinkedIn post generation
- Custom image suggestions
- Inline approval workflow via Telegram
- Automatic publishing to LinkedIn after approval
Features
- Manual or Telegram-triggered workflow
- Generates post content, hashtags, CTA, and image ideas via OpenAI GPT-4o
- Sends an approval message with Approve / Reject buttons on Telegram
- Approved posts are published to LinkedIn with the suggested image
- Optionally generates the visual using OpenAI Image Generator
- Code node extracts & formats the LinkedIn content from the approval message
Nodes Used
| Node Name | Type | Purpose |
|---|---|---|
| When clicking ‘Execute workflow’ | Manual Trigger | Starts the workflow manually |
| Telegram Button Trigger | Telegram Trigger | Triggers workflow when Telegram button pressed |
| LinkedIn Content Factory | Agent | Generates LinkedIn post content |
| gpt-4o LLM1 | LLM | Provides the language model for post generation |
| LinkedIn Content Parser | Output Parser | Parses structured output from AI |
| Send Approval Message | Telegram | Sends inline approval message to Telegram |
| Check Approval | If | Checks if user pressed Approve/Reject |
| Answer Approved / Answer Rejected | Telegram | Sends confirmation message back to user |
| Code in JavaScript1 | Code | Extracts post content, hashtags, and image suggestion |
| OpenAI Image Generator | OpenAI | Generates suggested image (optional) |
| LinkedIn Post1 | Publishes the post on LinkedIn |
How to Use
-
Import Workflow
- Go to n8n → Workflows → Import → select
LinkedIn-Content-Approval-Workflow.json.
- Go to n8n → Workflows → Import → select
-
Configure Credentials
- LinkedIn node → LinkedIn OAuth credentials
- Telegram nodes → Telegram Bot API Key
- OpenAI nodes → OpenAI API Key
-
Trigger Workflow
- Option 1: Click Execute workflow manually
- Option 2: Send a Telegram message to trigger approval workflow
-
Approve / Reject via Telegram
- The bot sends a message with
Approve and
Reject buttons - Approved posts are published automatically to LinkedIn
- The bot sends a message with
-
Optional: Customize prompts in the agent node for your brand tone, hashtags, and image style.
Notes
- Make sure credentials are set correctly before executing workflow.
- Posts are generated dynamically every time with fresh hooks, hashtags, and image ideas.
- The workflow is designed to be modular — you can replace LinkedIn, Telegram, or Image nodes with your preferred services.
- All AI outputs are parsed and cleaned via Code node to ensure formatting compatibility with LinkedIn.