Schedule LinkedIn posts with AI content generation and Telegram approval
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on a schedule (cron 0 8 * * 1-4) (plus 1 other trigger). Along the way it connects OpenAI, Telegram and LinkedIn.
How it runs
Trigger: On a schedule (cron 0 8 * * 1-4) (plus 1 other trigger).
- Get Day (Code): runs custom JavaScript code
- Check Day (If): checks a condition and branches into true / false
- Prompts (Edit Fields (Set)): sets 6 fields: prompt1, prompt2, prompt3…
- Random Prompt (Code): runs custom JavaScript code
- OpenAI: uses OpenAI
- Random Time (Code): runs custom JavaScript code
- Send message and wait for response (Telegram): send and wait for a reply
- Telegram Approved (If): checks a condition and branches into true / false
- Wait: pauses until specific time
- Create a post (LinkedIn): uses LinkedIn
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Manual Trigger
n8n-nodes-base.manualTrigger - LinkedIn
n8n-nodes-base.linkedIn - Wait
n8n-nodes-base.wait
From the author
Overview 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…