Generate & schedule social media posts with GPT-4 and Telegram approval workflow
Needs changesWhat this workflow does
This AI workflow has 23 nodes and runs on a schedule (every 5 days at 09:00) (plus 1 other trigger). Along the way it connects Telegram, OpenRouter Chat Model, Tavily (community) and Upload Post (community).
How it runs
Trigger: On a schedule (every 5 days at 09:00) (plus 1 other trigger).
- Create Schedule Timestamp (Code): runs custom JavaScript code
- Validate Reply Format (If): checks a condition and branches into true / false
- Request Content Topic via Telegram (Telegram): uses Telegram
- Parse User Input (Code): runs custom JavaScript code
- Input Validation Check (If): checks a condition and branches into true / false
- AI Content Generator (AI Agent): runs an AI agent, with model: AI Language Model; 1 tool (Web Research Tool (Optional)); output parser: Structure AI Output
- Send Input Error Message (Telegram): uses Telegram
- Validate Generated Content (Code): runs custom JavaScript code
- Content Quality Gate (If): checks a condition and branches into true / false
- Format Content Preview (Code): runs custom JavaScript code
…plus 8 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Content Generator (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Content Generator (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - Tavily Tool
@tavily/n8n-nodes-tavily.tavilyTool - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Merge
n8n-nodes-base.merge - Upload Post
n8n-nodes-upload-post.uploadPost
From the author
Generate & Schedule Social Media Posts with GPT-4 and Telegram Approval Workflow This comprehensive content automation system features 23 nodes that seamlessly orchestrate AI-powered content creation, validation, and multi-platform publishing through Telegram…