Templates / AI speech coach & generator using Telegram, Open AI and Gemini

AI speech coach & generator using Telegram, Open AI and Gemini

Needs changes

by NanaB ✓ · 2,175 views · created 2025-05-06 · Content Creation, AI Chatbot

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

What this workflow does

This AI workflow has 16 nodes and runs on Telegram events (message). Along the way it connects Google Gemini Chat Model, Telegram and OpenAI.

How it runs

Trigger: On Telegram events (message).

  1. Check For Text or Voice Message (Edit Fields (Set)): sets 1 field: text
  2. If: checks a condition and branches into true / false
  3. Download Audio File (Telegram): work with file
  4. Route Flow Based on Message Content (Switch): routes items into 2 branches
  5. Transcribe Audio File (OpenAI): transcribe (audio)
  6. Wipe Conversation Memory (Chat Memory Manager): uses Chat Memory Manager, with memory: Store Conversation Memory
  7. Set prompt to generate a speech based on the feedback (Edit Fields (Set)): sets 1 field: system_prompt
  8. Set prompt to provide feedback on speech (Edit Fields (Set)): sets 1 field: system_prompt
  9. Set prompt to start a new speech (Edit Fields (Set)): sets 1 field: system_prompt
  10. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; memory: Store Conversation Memory

…plus 3 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelTelegramOpenAI

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 Agent (v1.8): 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.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

Description This n8n workflow acts as your personal AI speechwriting coach, directly accessible through Telegram. It listens to your spoken or typed drafts, provides insightful feedback on clarity, engagement, structure, and content, and iteratively refines…

Excerpt from NanaB'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.