Templates / Summarize content from URLs, text & PDFs using OpenAI

Summarize content from URLs, text & PDFs using OpenAI

Needs changes

by Dahiana ✓ · 3,391 views · created 2025-09-03 · AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 41 nodes and runs when an HTTP GET request hits its webhook URL (plus 3 other triggers). Along the way it connects OpenAI Chat Model. It also calls api.ocr.space over HTTP.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 3 other triggers).

  1. Parse Input Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
  2. Extract URL Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
  3. Extract Text Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
  4. Extract File Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
  5. Input Type Switch (Switch): routes items into 3 branches
  6. Scrape Web Page Content (HTTP Request): calls an HTTP API
  7. Process Raw Text Input (Edit Fields (Set)): sets 1 field: raw_content
  8. Download PDF File (HTTP Request): calls an HTTP API
  9. Fetch URL Content (HTTP Request): calls an HTTP API
  10. Clean & Format Content (Edit Fields (Set)): sets 1 field: raw_content

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

Services it uses

OpenAI Chat Model

HTTP calls to: api.ocr.space

Before you upgrade to n8n 3.0

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

  • Function (legacy) in Map Language Code, Map OCR Language Code: replace with Code node, mode 'Run Once for All Items'.
Removed in 3.0Replace with
Function (legacy)
Map Language Code, Map OCR Language Code
Code node, mode 'Run Once for All Items'

Nodes used (10)

From the author

AI Content Summarizer Suite This n8n template collection demonstrates how to build a comprehensive AI-powered content summarization system that handles multiple input types: URLs, raw text, and PDF files. Built as 4 separate workflows for maximum flexibility.…

Excerpt from Dahiana'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.