Send a daily HTML post digest email with WordPress and SMTP
Ready for 3.0Ready 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 workflow has 7 nodes and runs on a schedule (every day at 08:00). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every day at 08:00).
- Set Email and Post Limits (Edit Fields (Set)): sets 4 fields: siteUrl, daysBack, postLimit…
- Fetch WordPress Posts (HTTP Request): calls an HTTP API (GET)
- Build Email Digest (Code): runs custom JavaScript code
- New posts published? (If): checks a condition and branches into true / false
- Send Digest Email (Send Email): sends an email over SMTP
- Skip — No New Posts (Code): runs custom JavaScript code
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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow runs daily at 8:00 AM, pulls recent posts from a WordPress site via the WordPress REST API, builds a mobile-friendly HTML digest with a plain-text fallback, and sends it as an email using SMTP. How it works 1. Runs every day at…