Latenode

Telegram AI Assistant Automatically Summarizes Articles

This Telegram bot serves as a smart personal assistant, capable of automatically recognizing and routing commands like /help, /summary, and /img to provide intelligent responses. The bot fetches articles from shared links, extracts the content, and generates concise 10-12 bullet point summaries using OpenAI's language models.

Additionally, it can process image generation prompts and integrate with AI-powered image creation services. This workflow is designed to boost productivity by enabling users to quickly digest articles and web content, share summaries with colleagues, and access 24/7 AI-powered assistance directly within the Telegram messaging platform.

Updated Apr 2, 2026Est. run: 42sEst. cost: $0.0027
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
Scraping & data collection

Workflow preview

What this template does

  • Extracts text and links from Telegram chat messages
  • Generates concise 10-12 bullet point summaries using AI
  • Processes image generation prompts and integrates with AI services
  • Delivers organized content back to user or designated database
  • Enables quick digestion of articles and web content

How it works

1
Trigger

Telegram Message Listener

The Telegram bot listens for new messages from users. When a message is received, it checks if the message starts with /help, /summary, or /img.

2
Logic

Command Router

The bot routes the message to the appropriate command handler based on the prefix (/help, /summary, or /img).

3
Action

Help Command

If the message starts with /help, the bot responds with a list of available commands and their usage instructions.

4
Action

Summary Command

If the message starts with /summary, the bot fetches the article from the provided URL, extracts the main text, and generates a 10-12 point bullet-point summary using OpenAI's language models.

5
Action

Summary Delivery

The bot sends the generated summary back to the user in Telegram.

6
Logic

Image Command

If the message starts with /img, the bot processes the image prompt and sends it to OpenAI's image generation endpoint.

7
Action

Image Generation

OpenAI's image generation model creates the requested image, and the bot notifies the user that the image is being generated.

8
Action

Image Delivery

The bot sends the generated image back to the user in Telegram.

Setup guide

1

Add Telegram Bot Credential

1. Go to the Latenode Credentials panel and add a new credential for your Telegram bot. Enter the bot token provided by the BotFather.

2

Configure Telegram Trigger Node

2. In the Latenode visual builder, add a Telegram trigger node. Select the Telegram credential you added earlier and configure it to listen for new messages in a specific chat or channel.

3

Set up OpenAI Credential

3. In the Latenode Credentials panel, add a new credential for OpenAI. Enter your OpenAI API key.

4

Configure Summarizer Node

4. Add a Latenode JavaScript node to the workflow and configure it to send the article text to the OpenAI API for summarization. Use the OpenAI credential you added earlier to authenticate the request.

5

Handle Image Generation (Optional)

5. If you want to integrate image generation, add a Latenode JavaScript node to send prompts to an AI image generation service (e.g., OpenAI's DALL-E). Configure the node with the necessary API credentials or integration settings.

Requirements

Telegram bot account and API access
OpenAI API key for language model-based summarization
Latenode workspace with headless-browser and code nodes configured for web scraping and image generation
Ability to authenticate with and fetch content from shared links within the Telegram chat

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
Scraping & data collection

Scrape and export Google Maps business data to Google Sheets

This automation allows users to efficiently scrape business data from Google Maps, including names, contact details, and reviews, and export the structured information into a spreadsheet or database for lead generation and market analysis. The workflow triggers manually or on a scheduled basis, fetching search results from Google Maps using the SerpAPI service, deduplicating the data, and writing it to a Google Sheet. This streamlines the process of gathering valuable business intelligence from Google Maps, empowering users to leverage this data for strategic decision-making and sales prospecting.

11s$0.0007
Scraping & data collection

Scrape Zillow property data and sync to Google Sheets automatically

This Latenode automation extracts real estate listing details from Zillow and automatically populates a Google Sheets spreadsheet with the property data. It leverages the Scrape.do web scraping API to bypass anti-bot protections and fetch the full HTML of Zillow listings, then parses key information like price, address, days on Zillow, and Zestimate, and saves the structured results into a Google Sheet. This solution is designed for real estate professionals, investors, and market analysts who need to collect property data at scale without manual effort, enabling better market research, portfolio tracking, and lead generation.

9s$0.0006
Scraping & data collection

Automate Instagram profile data export to Google Sheets

This automation template allows users to scrape comprehensive Instagram profile data using the Apify platform, and automatically export the results into a Google Sheets spreadsheet for analysis. It is designed to run on a schedule, processing a list of usernames by calling the Apify API, appending the scraped data to a Google Sheet, and marking the usernames as processed. The automation integrates with Google Sheets and the Apify actor, providing a streamlined way to gather and organize Instagram profile information without manual intervention.

15s$0.0009