Templates / Detect stale website content with OpenAI, Google Sheets, and Gmail

Detect stale website content with OpenAI, Google Sheets, and Gmail

Ready for 3.0

by Alejandro Alfonso ✓ · 13 views · created 2026-03-26 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs on a schedule (cron 0 7 * * 1). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail.

How it runs

Trigger: On a schedule (cron 0 7 * * 1).

  1. Site Configuration (Edit Fields (Set)): sets 3 fields: sitemapUrl, staleDays, alertEmail
  2. Fetch Sitemap XML (HTTP Request): calls an HTTP API
  3. Parse Sitemap URLs (Code): runs custom JavaScript code
  4. Any Stale Pages? (If): checks a condition and branches into true / false
  5. Fetch Page Content (HTTP Request): calls an HTTP API
  6. Extract Page Text (HTML): parses or builds HTML
  7. AI Content Freshness Analyzer (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  8. Build Report Row (Edit Fields (Set)): sets 4 fields: pageUrl, lastModified, daysSinceUpdate…
  9. Save to Content Audit Sheet (Google Sheets): append
  10. Combine Into One (Aggregate): combines items into one

…plus 2 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle SheetsGmail

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.

Nodes used (11)

From the author

Stale Content Detector for Websites Who is this for Content marketers, SEO managers, and website owners who want to automatically find pages on their site that are outdated or need refreshing — without manually auditing every page. What it does This workflow…

Excerpt from Alejandro Alfonso's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.