This workflow automates LinkedIn posts using OpenAI. The prompts are stored in the workflow and can be customized as needed to fit your needs. The workflow uses a combination of a Schedule Trigger, some code that determines what day of the week it is (no posting Friday - Sunday), a prompts node to set your OpenAI prompts, a random selection of a prompt so that you are not generating content that looks repetitive. We send that all to OpenAI API, select a random time, have the final LinkedIn post sent to your Telegram for approval, once approved wait for the correct time slot, and then Post to your LinkedIn account using the LinkedIn node.
Run or schedule the workflow in n8n
The automation can be triggered manually or on a custom schedule (excluding weekends if needed).
You should customize the prompts in the Prompt Node to suit your needs.
A random LinkedIn post prompt is selected
Pre-written prompts are rotated to keep content fresh and non-repetitive.
OpenAI generates the LinkedIn post
The prompt is sent to OpenAI via API, and the result is returned in clean, ready-to-use form.
You receive the draft via Telegram.
The post is sent to Telegram for quick approval or review.
Post is scheduled or published via the LinkedIn Connector
Once approved, the workflow delays until the target time, then sends the content to LinkedIn.
An OpenAPI API key, LinkedIn Account, and a Telegram Account.
Step-by-Step: Telegram Approval for Your Workflow
A. Set Up a Telegram Bot
1. Open Telegram and search for “@BotFather”.
2. Start a chat and type /newbot to create a bot.
3. Give your bot a name and a unique username (e.g., YourApprovalBot).
4. Copy the API token that BotFather gives you.
B. Add Your Bot to a Private Chat (with You)
C. Get Your User ID
https://platform.openai.com/
.