Skip to main content

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

Workflow preview

Workflow preview
100%
Summarize web pages from URLs to Notion with OpenAI GPT-4o preview
Open on n8n.io

1. Workflow Overview

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 ...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.html, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.notion

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by TakatoYamada.

Original n8n.io source

1.1 Workflow description

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

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

  1. Receives a URL submission through an n8n form.
  2. Fetches the web page HTML from the submitted URL.
  3. Extracts the page title and main article/body text from the HTML.
  4. Sends the extracted text to OpenAI (GPT-4o-mini) to produce a structured output containing summary bullets and topic tags.
  5. Creates a new page in a Notion database using the extracted title and the AI-generated summary data.

Setup

  1. In n8n, configure the form trigger (or share its public form link) so users can submit URLs.
  2. Add your OpenAI API credentials for the Chat OpenAI model used by the summarization step.
  3. Add your Notion credentials and replace the Notion database URL/ID with your target database in the Notion create-page step.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - When URL Submitted

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 6 - Fetch Web Page Content

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Extract Text from HTML

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 8 - Generate Summary with Tags

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

Block 9 - Use OpenAI Model GPT-4

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 10 - Define Summary Structure

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 11 - Add Summary to Notion

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

3. Summary Table

Workflow Summarize web pages from URLs to Notion with OpenAI GPT-4o
Complexity intermediate
Nodes 11
Categories Document Extraction, AI Summarization
Author TakatoYamada
Published 30 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16022/16022.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Summarize web pages from URLs to Notion with OpenAI GPT-4o do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.