FM
FlowMarket
AI Agents Intermediate ⚡ 12 n8n Nodes

Command based Telegram bot for article summarization image pro

Telegram AI Assistant: Summarize Links & Generate Images On Demand This workflow turns any Telegram chat into a smart assistant. By typing simple commands li...

🔌 Nodes & Integrations Used (5)

Telegram Telegram Trigger HTTP Request Html OpenAI

📖 Implementation & Setup Guide

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

This automation listens for specific commands in Telegram messages:

  • `/help`: Sends a help menu explaining available commands.
  • `/summary <link>`: Fetches a webpage, extracts its content, and summarizes it using OpenAI into 10–12 bullet points.
  • `/img <prompt>`: Sends the image prompt to OpenAI and replies that the request has been received (designed for future integration with image APIs).

---

📦 Features

  • ✅ Works instantly in Telegram
  • 🧠 Uses OpenAI for text summarization and image prompt processing
  • 🌐 Scrapes and cleans raw article text before summarizing
  • 📤 Replies directly to the same Telegram thread
  • 🔧 Easily expandable to support more commands

---

🔧 Use Cases

  • **Research Summaries**: Quickly condense articles or reports shared in chat.
  • **Content Review**: Get team-friendly TL;DRs of long blog posts or product pages.
  • **Creative Brainstorming**: Share visual ideas via `/img` and get quick prompts logged.
  • **Customer Support**: Offer instant answers in group chats (with further extension).
  • **Daily Digest Bot**: Connect to news feeds and auto-summarize updates.

---

🚀 Getting Started

  1. Clone this workflow and connect your Telegram Bot.
  2. Insert your OpenAI credentials.
  3. Deploy and test by messaging `/summary https://example.com` in your Telegram group or DM.
  4. Expand with new commands or connect Stability.ai or other services for real image generation.

---

🔗 Author & Resources

Built by [Yaron Been](https://www.youtube.com/@YaronBeen/videos) Follow more automations at [nofluff.online](https://nofluff.online)

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Command_based_Telegram_bot_for_article_summarization_image_pro.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →