Templates / Audit stale WordPress posts and email refresh digests with Gmail

Audit stale WordPress posts and email refresh digests with Gmail

Ready for 3.0

by Bincy Bhanu. S ✓ · 0 views · created 2026-10-16 · Content Creation

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

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Config (Edit Fields (Set)): sets 6 fields: siteUrl, staleAfterMonths, postsToScan…
  2. Get stale posts (HTTP Request): calls an HTTP API (GET)
  3. Score stale posts (Code): runs custom JavaScript code
  4. Build digest (Code): runs custom JavaScript code
  5. Send digest email? (If): checks a condition and branches into true / false
  6. Email digest with Gmail (Gmail): send (message)
  7. Digest (not emailed) (Edit Fields (Set)): sets 4 fields: subject, staleCount, highPriorityCount…

Services it uses

Gmail

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

From the author

Quick overview This workflow runs monthly (or on demand) to find WordPress posts that haven’t been updated for a configured number of months, scores and ranks them by refresh priority, builds an HTML digest, and optionally emails the report via Gmail. How it…

Excerpt from Bincy Bhanu. S'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.