Templates / Create social media content from Telegram with AI

Create social media content from Telegram with AI

Needs changes

by Onur ✓ · 13,782 views · created 2025-03-02 · Content Creation, Multimodal AI

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), SerpApi (Google Search). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI, OpenAI Chat Model and SerpApi (Google Search). It also calls router.huggingface.co over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Voice or Text? (Switch): routes items into 3 branches
  2. Fetch Voice Message (Telegram): work with file
  3. Prepare for LLM (Edit Fields (Set)): sets or maps fields
  4. Transcribe Voice to Text (OpenAI): translate (audio)
  5. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (SerpAPI); output parser: Structured Output Parser
  6. Generate Image (HTTP Request): calls router.huggingface.co (POST)
  7. Extract from File: extracts data from a file (binary to propery)
  8. Prepare Final Output (Edit Fields (Set)): sets 2 fields: content, image

Services it uses

TelegramOpenAIOpenAI Chat ModelSerpApi (Google Search)

HTTP calls to: router.huggingface.co

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • SerpApi (Google Search) in SerpAPI: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
SerpApi (Google Search)
SerpAPI
No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node

Nodes used (11)

From the author

Description: Create Social Media Content from Telegram with AI This n8n workflow empowers you to effortlessly generate social media content and captivating image prompts, all powered by AI. Simply send a topic request through Telegram (as a voice or text…

Excerpt from Onur's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.