Summarize content from URLs, text & PDFs using OpenAI
Needs changesWhat 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).
- Parse Input Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
- Extract URL Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
- Extract Text Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
- Extract File Parameters (Edit Fields (Set)): sets 7 fields: input_type, url, text_content…
- Input Type Switch (Switch): routes items into 3 branches
- Scrape Web Page Content (HTTP Request): calls an HTTP API
- Process Raw Text Input (Edit Fields (Set)): sets 1 field: raw_content
- Download PDF File (HTTP Request): calls an HTTP API
- Fetch URL Content (HTTP Request): calls an HTTP API
- Clean & Format Content (Edit Fields (Set)): sets 1 field: raw_content
…plus 23 more steps. See the full node list below.
Services it uses
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.0 | Replace with |
|---|---|
| Function (legacy) Map Language Code, Map OCR Language Code | Code node, mode 'Run Once for All Items' |
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Extract from File
n8n-nodes-base.extractFromFile - If
n8n-nodes-base.if - Function
n8n-nodes-base.function - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook
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.…