Templates / Summarize PDF documents in Telegram with Groq AI

Summarize PDF documents in Telegram with Groq AI

Ready for 3.0

by EoCi - Mr.Eo ✓ · 219 views · created 2025-12-03 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs on Telegram events (message). Along the way it connects Telegram and Groq Chat Model.

How it runs

Trigger: On Telegram events (message).

  1. Is PDF File (If): checks a condition and branches into true / false
  2. Extract PDF Data (Extract from File): extracts data from a file (pdf)
  3. Get PDF Data (Edit Fields (Set)): sets 1 field: text
  4. Data Parser & Cleaner (Code): runs custom JavaScript code
  5. Basic LLM Chain: sends a prompt to an LLM, with model: Groq Chat Model
  6. Send a text message (Telegram): uses Telegram

Services it uses

TelegramGroq Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

How It Works Telegram Trigger → Sub-Workflow (Separate Text/Files) → IF (Is PDF?) ├── True: Extract PDF → Set Text → Code (Clean) → Done! └── False: NoOp (Ignore) - 9 nodes: Lightweight, efficient (no loops). - Key Steps: 1. Triggers on Telegram messages -…

Excerpt from EoCi - Mr.Eo'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.