Command-based Telegram Bot for Article Summarization & Image Prompts with OpenAI
Go to WorkflowDescription
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
Clone this workflow and connect your Telegram Bot.
Insert your OpenAI credentials.
Deploy and test by messaging /summary https://example.com in your Telegram group or DM.
Expand with new commands or connect Stability.ai or other services for real image generation.
🔗 Author & Resources
Built by Yaron Been
Follow more automations at nofluff.online