Summarize web pages from Google Sheets using OpenAI GPT-4o-mini
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 sheet.
How it works Starts when you manually execute the workflow. Loads run settings (maximum pages per run and the OpenAI model) and reads rows from the pages tab in Google Sheets. Selects up to the configured limit of rows that have a URL but no existing summary, normalizes/validates the URL, and skips duplicates. Fetches each web page over HTTP and extracts plain text (including the HTML title) for summarization. Sends the page text to the OpenAI Chat Completions API with instructions to return strict JSON containing title, summary, key points, topic, and confidence. Parses the OpenAI response, marks rows as done when a real summary is produced (or failed with blank fields if the page or API call fails), and updates the matching rows in Google Sheets by row_number.
Setup Create or use a Google Sheet with a tab named pages that includes columns row_number and url, plus title, summary, key_points, topic, confidence, status, and summarised_at for the workflow to fill. Add Google Sheets OAuth2 credentials and paste your Google Sheet URL into both Google Sheets nodes (read and update). Add an OpenAI API credential for the OpenAI HTTP request node. Optionally adjust max_per_run (1–100) and choose an allowed model (for example gpt-4o-mini) in the configuration step before running.
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Text automations using Apple Shortcuts
Overview This workflow answers user requests sent via Mac Shortcuts Several Shortcuts call the same webhook, with a quer...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments