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 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)

n8n

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
Follow more automations at nofluff.online

$9.99
Last updated September 12, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related AI workflows

More from Yaron Been

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.