Summarize webpage content with OpenAI GPT-5-mini and 24h caching
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs when another workflow calls it. Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When another workflow calls it.
- Check Cache (Code): runs custom JavaScript code
- Check Cache for Data (If): checks a condition and branches into true / false
- Only Data (Edit Fields (Set)): sets or maps fields
- GET URL (HTTP Request): calls an HTTP API
- Extract HTML Content (HTML): parses or builds HTML
- Summarization Chain: summarizes text with AI, with model: OpenAI Chat Model
- Write to Cache (Code): runs custom JavaScript code
Services it uses
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
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)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - HTML
n8n-nodes-base.html - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Summarization Chain
@n8n/n8n-nodes-langchain.chainSummarization - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
This workflow summarizes the content of a webpage from a provided URL. It can optionally target a specific part of the page using a CSS selector, then uses an AI summarization chain to generate a concise summary. To improve performance and reduce repeated…