Chat with News Articles using AI Analysis in Telegram with Vector Search

šŸ“Œ Overview

This workflow allows users to send any newspaper or article link to a Telegram bot. The workflow then:

Validates the URL Scrapes the webpage (title, description, full text, images, OG metadata) Processes it using a Vision-Language Model (VLM) Generates structured summaries & highlights Downloads images (if available) Sends a formatted report + document back to Telegram Stores the summary in a vector database Allows users to chat with the article using semantic search

Perfect for: āœ” News researchers āœ” Students āœ” Journalists āœ” Telegram-based AI assistants āœ” Automated media monitoring

🧠 What the Workflow Does

  1. Telegram Trigger

Listens for messages from the user. Detects if the message contains a valid link.

  1. URL Scraper

A custom n8n Code node fetches the webpage and extracts:

Meta description paragraph text All image sources Open Graph metadata (og:title, og:image)

Returns everything as structured JSON.

  1. VLM Run – Highlighter

A Vision-Language Model analyzes the scraped content and outputs:

{ "news_summary": { "headline": "", "source_url": "", "published_date": "", "key_points": "", "summary": "", "extracted_images_url": "" } }

  1. Image Validation & Download

Checks if image URLs are valid. Downloads them (if any). Sends them to Telegram as documents.

  1. Summary File Generation

Converts VLM output into a .txt report. Sends the report back to the user.

  1. Vector Store + Q&A Agent

Converts the summary into embeddings. Stores the vector in an in-memory store. Provides the user with a chat interface:

Ask anything about the newspaper article. The AI agent retrieves information using the vector store.

šŸ“¤ Outputs

You receive:

āœ” Telegram message summary āœ” Downloadable summary .txt file āœ” Extracted images (if available) āœ” Chat-based Q&A agent to explore the newspaper details

šŸš€ Use Cases

News summarization bots Media intelligence agents Educational news explorers Topic-based daily digest creators

0
Downloads
0
Views
8.16
Quality Score
intermediate
Complexity
Author:Mehedi Ahamed(View Original →)
Created:11/24/2025
Updated:1/16/2026

šŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments