Templates / Chat with news articles using AI analysis in Telegram with vector search

Chat with news articles using AI analysis in Telegram with vector search

Needs changes

by Mehedi Ahamed ✓ · 334 views · created 2025-11-19 · Document Extraction, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 22 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and Embeddings OpenAI.

How it runs

Trigger: On Telegram events (message).

  1. Check Whether URL (If): checks a condition and branches into true / false
  2. Rename Link Field (Edit Fields (Set)): sets 1 field: URL_PARSE
  3. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Query Data Tool)
  4. Code: runs custom JavaScript code
  5. Send a Reply (Telegram): uses Telegram
  6. VLM Run Highlighter (AI Agent): runs an AI agent, with model: VLM Agent; output parser: Structured Output Parser
  7. Covert to Text File (Convert to File): converts data to a file (to text)
  8. Check URLs Validity (If): checks a condition and branches into true / false
  9. Send a document (Telegram): send document
  10. Insert Data to Store (Simple Vector Store): stores documents in the Simple vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader

…plus 3 more steps. See the full node list below.

Services it uses

TelegramOpenAI Chat ModelEmbeddings OpenAI

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in VLM Run Highlighter (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
VLM Run Highlighter (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

📌 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…

Excerpt from Mehedi Ahamed's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.