AI-Powered Telegram & Social Media Content Generator

Context

A digital marketing and content management automation workflow designed as a proof-of-concept for creators and SMM managers operating on Telegram and target social platforms (Facebook & Instagram).

In manual content creation workflows, preparing multi-format posts requires writing custom captions for each platform, prompting generative AI image models separately, downloading and reformatting images to correct aspect ratios, and manually managing the publication pipeline.

Problem

Traditional manual content creation workflows present several operational challenges:

Time-consuming post preparation: Manual prompt creation and text formatting for multiple platforms.

Inconsistent visual sizing: Manual editing required to adapt images for Facebook (landscape) vs. Instagram (square).

Risk of unvetted AI output: Publishing raw AI generation directly without a review step can lead to quality or formatting issues.

Personalization overhead: Extra manual effort needed to tailor responses dynamically to user language preferences and context.

Solution

An AI-powered automation workflow prototype was built in n8n to demonstrate an end-to-end automated content creation and publishing pipeline via Telegram.

When a user interacts with the Telegram bot, the workflow:

parses input commands (/start, Fb, Inst) using custom JavaScript logic

generates tailored post copy matching the user's language via OpenAI GPT-4.1-mini

creates platform-specific visuals with OpenAI DALL-E (1792x1024 for FB, 1024x1024 for Insta)

triggers a Human-in-the-Loop review asking the user to approve (✅ Yes / ❌ No) the generated draft

publishes the approved content directly to the target destination

This created a functional, interactive prototype of an AI content engine accessible directly from Telegram.

Process