Summarize web pages from URLs to Notion with OpenAI GPT-4o

Go to Workflow
0 views
Built by TakatoYamada TakatoYamada
Created on June 05, 2026

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 (6)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
Notion
n8n-nodes-base.notion
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured