Skip to main content

Generate & schedule social media posts with GPT-4 and Telegram approval workflow

Workflow preview

Workflow preview
100%
Generate & schedule social media posts with GPT-4 and Telegram approval workflow preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 creati...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.splitout

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Femi Ad.

Original n8n.io source

1.1 Workflow description

Title
Generate & schedule social media posts with GPT-4 and Telegram approval workflow
Workflow name
Generate & schedule social media posts with GPT-4 and Telegram approval workflow

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 interaction. It supports posting to major platforms like Twitter, LinkedIn, Facebook, Instagram, and more via the Upload-Post API.

Core Components Telegram Integration: Bidirectional messaging with approval workflows and real-time notifications.

AI Content Engine: Configurable language models (GPT-4, Claude, etc.) via OpenRouter with structured output parsing.

Content Validation: Character count enforcement (240-265), format checking, and quality threshold monitoring.

Multi-Platform Publishing: Post on any social media platform with Upload-Post API - better and easier to use than Blotato, with a dedicated n8n community node.

Approval System: Preview and approve/reject functionality before content goes live.

Web Research: Optional Tavily integration for real-time information gathering.

Target Users Content creators seeking consistent social media presence.

Digital marketers managing multiple brand accounts.

Entrepreneurs wanting automated thought leadership.

Agencies needing scalable content solutions.

Small businesses without dedicated social media teams.

Setup Requirements To get started, you'll need:

Telegram Bot: Create via @BotFather and configure webhook.

Required APIs:

OpenRouter (for AI model access).

Upload-Post API (superior alternative to Blotato with community node support).

Tavily API (optional for research).

n8n Prerequisites:

Version 1.7+ with Langchain nodes.

Webhook configuration enabled.

Proper credential storage setup.

Disclaimer: This template uses community-supported nodes, such as the Upload-Post API node. These may require additional setup and could change with n8n updates. Always verify compatibility and test in a safe environment.

Step-by-Step Setup Guide Install n8n: Ensure you're running n8n version 1.7 or higher. Enable webhook configurations in your settings.

Set Up Credentials: In n8n, add credentials for OpenRouter, Upload-Post API, and optionally Tavily. Store them securely.

Create Telegram Bot: Go to Telegram, search for @BotFather, and create a new bot. Note the token and set up a webhook pointing to your n8n instance.

Import the Workflow: Copy the workflow JSON (available in the template submission) and import it into your n8n dashboard.

Configure Nodes:

Set your AI model preferences in the OpenRouter node.

Link your social media accounts via the Upload-Post API node.

Adjust validation settings (e.g., character limits, retry attempts) as needed.

Test the Workflow: Trigger a test run via Telegram by sending a content request. Approve or reject the preview, and monitor the output.

Schedule or Automate: Use n8n's scheduling features for automated triggers, or run manually for on-demand posts.

Usage Instructions Initiate via Telegram: Send a message to your bot with a topic or prompt (e.g., "Create a post about AI automation for entrepreneurs").

AI Generation: The system generates content using your chosen model, with optional web research.

Validation Check: Content is automatically validated for length, quality (70% pass threshold), and format.

Approval Workflow: Receive a preview in Telegram. Reply with "approve" to post, or "reject" to retry (up to 3 attempts).

Publishing: Approved content posts to your selected platforms. Get notifications on success or errors.

Customization: Adapt for single posts, 3-6 post threads, or different tones (business, creative, educational, personal, technical). Use scheduling for consistent posting.

Workflow Features Universal Platform Support: Post to any social media platform via Upload-Post API.

Scheduling Flexibility: Automated triggers or manual execution.

Content Types: Single posts or multi-post threads.

Quality Control: 30% error tolerance with detailed validation reporting.

Character Optimization: Enforced 240-265 character range for maximum engagement.

Topic Versatility: Adapts tone and style based on content type.

Error Handling: Comprehensive validation with helpful user feedback.

Performance Specifications:

AI retry attempts: 3 for reliability.

Validation threshold: 70% pass rate.

Format support: Single posts and 3-6 post threads.

Platform coverage: Any social media platform through Upload-Post API.

Research capability: Optional web search for trending topics.

Why Upload-Post API? Community-supported n8n node for easier integration.

More reliable and feature-rich than Blotato.

Supports all major social platforms.

Active development and support.

Workflow Image

Need help customizing this workflow for your specific use case, Femi? As a fellow entrepreneur passionate about automation and business development, I'd be happy to consult. Connect with me on LinkedIn: https://www.linkedin.com/in/femi-adedayo-h44/ or email for support. Let's make your AI automation agency even more efficient!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Create Schedule Timestamp

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Request Content Topic via Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 4 - Wait for User Topic Reply

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 5 - Validate Reply Format

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 6 - Parse User Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Input Validation Check

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 8 - Send Input Error Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - AI Content Generator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 10 - Structure AI Output

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 11 - Validate Generated Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Content Quality Gate

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 13 - Send Generation Error

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - Format Content Preview

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Send Preview & Await Approval

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 16 - Check User Approval

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 17 - Send Cancellation Notice

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 18 - Split Posts for Publishing

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 19 - Web Research Tool (Optional)

Type / Role
@tavily/n8n-nodes-tavily.tavilyTool - tavilyTool
Config choices
Version 1

Block 20 - AI Language Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 21 - Workflow Documentation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Merge Approval Data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 23 - Send Success Notification

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 24 - Publish to Social Platforms

Type / Role
n8n-nodes-upload-post.uploadPost - uploadPost
Config choices
Version 1

3. Summary Table

Workflow Generate & schedule social media posts with GPT-4 and Telegram approval workflow
Complexity advanced
Nodes 24
Categories Social Media, Multimodal AI
Author Femi Ad
Published 08 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5773/5773.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate & schedule social media posts with GPT-4 and Telegram approval workflow do?

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 creati...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.