Templates / Command-based Telegram bot for article summarization & image prompts with OpenAI

Command-based Telegram bot for article summarization & image prompts with OpenAI

Ready for 3.0

by Yaron Been ✓ · 1,056 views · created 2025-05-26 · Personal Productivity, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs on Telegram events (message). Along the way it connects Telegram and OpenAI.

How it runs

Trigger: On Telegram events (message).

  1. Route: Check for Help Command (If): checks a condition and branches into true / false
  2. Response: Send Help Menu (Telegram): uses Telegram
  3. Route: Check for Summary Command (If): checks a condition and branches into true / false
  4. Fetch: Download Article Content (HTTP Request): calls an HTTP API
  5. Route: Check for Image Command (If): checks a condition and branches into true / false
  6. Parse: Extract Text from HTML (HTML): parses or builds HTML
  7. AI: Process Image Generation Request (OpenAI): work with image
  8. AI: Generate Article Summary (OpenAI): uses OpenAI
  9. Response: Send Image Generation Notice (Telegram): uses Telegram
  10. Response: Send Article Summary (Telegram): uses Telegram

Services it uses

TelegramOpenAI

Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Telegram AI Assistant: Summarize Links & Generate Images On Demand This workflow turns any Telegram chat into a smart assistant. By typing simple commands like /summary or /img, users can trigger powerful AI actions—directly from Telegram. --- ✨ What It Does…

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