πŸ”¬ Summarize PDF documents in Telegram with Groq AI

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

Description

How It Works

Telegram Trigger β†’ Sub-Workflow (Separate Text/Files) β†’ IF (Is PDF?)
β”œβ”€β”€ True: Extract PDF β†’ Set Text β†’ Code (Clean) β†’ Done!
└── False: NoOp (Ignore)

Setup Instructions

IMPORTANT : Requiring an n8n instance to be configured with public/production webhook !

Recommendation: Ngrok or Cloudflare Tunnel

  1. Add the Telegram credential
    • Go to Credentials β†’ New Credential β†’ Telegram API.
    • Paste your Bot Token.
  2. Configure the Trigger
    • Open the Telegram Trigger node.
    • Ensure Trigger On contains Message.
    • Enable Download under Additional Fields so file payloads are attached to the node output.
  3. (Optional) Enable the sub‑workflow Automate Telegram Message Processing - Separate Text and Files πŸ’¬πŸ“
    • If you need both message text and attachments, enable the Automate Telegram Message Processing – Separate Text and Files node and import the referenced workflow into your workspace.
  4. Deploy the workflow and activate it.
  5. Testing Send a message with a PDF attachment to your Telegram bot. There will be a response from the chat that summarizes the PDF content.

Nodes Used

Output Example

The bot will reply with a message formatted like this: > Title: Q3 Financial Report > Type: Financial Report > Exec Summary: Revenue increased by 15% due to new product lines… > Key Insights: > β€’ Growth in APAC region. > β€’ Reduced operational costs by 5%.


πŸ™ Thank You for Trying This Workflow!

Your time and trust mean a lot! I truly appreciate you using this template.

Your feedback shapes future updates:

Please share your thoughts! Every idea helps shape the next update.


πŸ™‹β€β™‚οΈ Join & Follow For More Free Templates!

Get help, share builds, collaborate! Daily tips, tutorials, and updates

Thank you again for being part of this journey! πŸš€

Together, we automate better! πŸ€–βœ¨

πŸ”— Nodes Used

Telegram, Telegram Trigger, Basic LLM Chain, Extract from File, Groq Chat Model

πŸ“₯ Import

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

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