Templates / Send a daily HTML post digest email with WordPress and SMTP

Send a daily HTML post digest email with WordPress and SMTP

Ready for 3.0

by Jiayu Electronics · 0 views · created 2026-09-02 · Social Media

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

  1. Set Email and Post Limits (Edit Fields (Set)): sets 4 fields: siteUrl, daysBack, postLimit…
  2. Fetch WordPress Posts (HTTP Request): calls an HTTP API (GET)
  3. Build Email Digest (Code): runs custom JavaScript code
  4. New posts published? (If): checks a condition and branches into true / false
  5. Send Digest Email (Send Email): sends an email over SMTP
  6. 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)

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…

Excerpt from Jiayu Electronics'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.