AI Social Media Manager Bot with Telegram and Gemini
Created by
carlosgracia
• October 22, 2025
Overview
Turn Telegram into a content command center. Send a voice note, a photo, a video, or plain text, and the bot will:
- Transcribe audio with Whisper
- Analyze images and videos with Google Gemini 2.5 Flash
- Generate tailored post text per platform (TikTok, Instagram, YouTube, Pinterest, LinkedIn, X, Threads)
- Ask for approval in Telegram
- Publish automatically via Upload‑Post
Perfect for creators and teams that want a fast, mobile‑first way to draft and publish content.
How it works
- Telegram Trigger routes the message type using a Switch node (voice, photo/document, video, or text)
- Voice → Whisper transcription → AI Agent Text
- Photo → Get file → Gemini Image Analysis → AI Agent Photos
- Video → Get file → Gemini Video Analysis → AI Agent Videos
- Each AI agent produces structured output per platform, then a Telegram approval step confirms before posting
- Upload‑Post nodes publish to the selected platforms and send a status summary back to Telegram
What you need
- Telegram Bot API token (BotFather)
- Upload‑Post account and API credential
- LLM access (Google Gemini; optional OpenAI Whisper for voice)
Setup (step‑by‑step)
- Create a Telegram bot with BotFather and copy the token
- In n8n, open the Telegram Trigger node and create credentials with that token
- In Upload‑Post, connect your social accounts and create an API credential; add it to the Upload‑Post nodes
- Provide your Gemini API key to the Gemini nodes (and OpenAI Whisper if you use voice)
- Deploy the workflow and send a test message to your bot
Approval workflow
The bot sends the generated per‑platform text back to Telegram and waits for your confirmation. Only approved content is uploaded. This keeps a human‑in‑the‑loop for brand safety.
Supported platforms
- Text: LinkedIn, X, Threads
- Photos: Instagram, TikTok, Pinterest
- Video: YouTube, TikTok, Instagram
Template
- Open on n8n: [View workflow]({{ sourceUrl }})
FAQs
- Can I post to multiple accounts? Yes, configure multiple profiles in Upload‑Post
- Can I customize style per platform? Yes, edit the agent prompts for each platform
- Is scheduling supported? Add a scheduler or conditions before the Upload‑Post nodes
Related templates
- Drive → Social autoposting: From Google Drive to Social Media
- AI carousels: Generate and Publish Carousels with GPT‑Image‑1