Summarize PDF documents in Telegram with Groq AI
Ready for 3.0Ready 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).
- Is PDF File (If): checks a condition and branches into true / false
- Extract PDF Data (Extract from File): extracts data from a file (pdf)
- Get PDF Data (Edit Fields (Set)): sets 1 field: text
- Data Parser & Cleaner (Code): runs custom JavaScript code
- Basic LLM Chain: sends a prompt to an LLM, with model: Groq Chat Model
- Send a text message (Telegram): uses Telegram
Services it uses
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)
- Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Telegram Trigger
n8n-nodes-base.telegramTrigger - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Telegram
n8n-nodes-base.telegram
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 -…