๐ฌ Summarize web pages from URLs to Notion with OpenAI GPT-4o
โก 0 views ยท ๐ฌ Document Extraction & Analysis
Description
Quick Overview
This workflow collects a URL via an n8n form, fetches and extracts the page text, uses OpenAI (GPT-4o-mini) to generate a 5-bullet summary and 3 suggested tags, and saves the result as a new page in a Notion database.
How it works
- Receives a URL submission through an n8n form.
- Fetches the web page HTML from the submitted URL.
- Extracts the page title and main article/body text from the HTML.
- Sends the extracted text to OpenAI (GPT-4o-mini) to produce a structured output containing summary bullets and topic tags.
- Creates a new page in a Notion database using the extracted title and the AI-generated summary data.
Setup
- In n8n, configure the form trigger (or share its public form link) so users can submit URLs.
- Add your OpenAI API credentials for the Chat OpenAI model used by the summarization step.
- Add your Notion credentials and replace the Notion database URL/ID with your target database in the Notion create-page step.
๐ Nodes Used
HTTP Request, Notion, Basic LLM Chain, OpenAI Chat Model, Structured Output Parser, n8n Form Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File