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

0
Downloads
459
Views
8.84
Quality Score
intermediate
Complexity
Author:Yaron Been(View Original →)
Created:8/13/2025
Updated:9/4/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments