Summarize web pages from Google Sheets using OpenAI GPT-4o-mini
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- ⭐ Configure Your Run (Edit Fields (Set)): sets 2 fields: max_per_run, openai_model
- Read URLs (Google Sheets): uses Google Sheets
- Select Pending (Code): runs custom JavaScript code
- Fetch Page (HTTP Request): calls an HTTP API
- Prepare Prompt (Code): runs custom JavaScript code
- Analyze (OpenAI) (HTTP Request): calls api.openai.com (POST)
- Parse Summary (Code): runs custom JavaScript code
- Write Summary (Google Sheets): update
Services it uses
Other OpenAI + Google Sheets templates (2,011)
HTTP calls to: api.openai.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow reads a list of web page URLs from Google Sheets, fetches each page, and uses OpenAI Chat Completions to generate a factual title, short summary, key points, topic, and confidence score, then writes the results back to the same…