Command-based Telegram Bot for Article Summarization & Image Prompts with OpenAI
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
Related Templates
AI Weather Forecasts with MCP Integration
Real-time Weather Forecasts with MCP Tools This n8n workflow demonstrates how to integrate real-time weather intelligen...
Google Sheets UI for n8n Workflow
Google Sheets UI for Workflow Control This n8n template provides a practical and efficient way to manage your n8n workf...
Demo Workflow - How to use workflowStaticData()
This workflow demonstrates how to use the workflowStaticData() function to set any type of variable that will persist wi...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments