Templates / Generate 5-level AI explanations for different audiences from Telegram to Google Docs with GPT-4.1-mini

Generate 5-level AI explanations for different audiences from Telegram to Google Docs with GPT-4.1-mini

Needs changes

by Sridevi Edupuganti ✓ · 782 views · created 2025-12-30 · Content Creation, AI Summarization

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 24 nodes and runs on Telegram events (message). Along the way it connects OpenAI Chat Model, Telegram and Google Docs.

How it runs

Trigger: On Telegram events (message).

  1. Extract Query Data (Edit Fields (Set)): sets 3 fields: userQuery, chatId, timestamp
  2. Route to Appropriate Level (Code): runs custom JavaScript code
  3. Switch: routes items into 5 branches
  4. 5-Year-Old Story Mode (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  5. Teenager Level (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  6. Graduate Level (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  7. PhD Research Level (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  8. Business Executive Level (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  9. 5-Year-Old (Code): runs custom JavaScript code
  10. Teenager (Code): runs custom JavaScript code

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

Services it uses

OpenAI Chat ModelTelegramGoogle Docs

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 5-Year-Old Story Mode (v1.7), Teenager Level (v1.7), Graduate Level (v1.7)…: 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)
5-Year-Old Story Mode (v1.7), Teenager Level (v1.7), Graduate Level (v1.7), PhD Research Level (v1.7), Business Executive Level (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Description Ask any question and get five different answers instantly. Each answer is written for a different audience—from kids to business executives. Your Telegram bot delivers all five explanations in under 10 seconds and saves them to Google Docs…

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