πŸ”¬ Chat with news articles using AI analysis in Telegram with vector search

⚑ 161 views Β· πŸ”¬ Document Extraction & Analysis

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

πŸ“Œ Overview

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

  1. Validates the URL
  2. Scrapes the webpage (title, description, full text, images, OG metadata)
  3. Processes it using a Vision-Language Model (VLM)
  4. Generates structured summaries & highlights
  5. Downloads images (if available)
  6. Sends a formatted report + document back to Telegram
  7. Stores the summary in a vector database
  8. 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

2. URL Scraper

A custom n8n Code node fetches the webpage and extracts:

Returns everything as structured JSON.

3. 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": ""
  }
}

4. Image Validation & Download

5. Summary File Generation

6. Vector Store + Q&A Agent


πŸ“€ 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

πŸ”— Nodes Used

HTTP Request, Telegram, Telegram Trigger, AI Agent, Embeddings OpenAI, OpenAI Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup