Templates / Batch Delete Posts and Featured Images in WordPress

Batch Delete Posts and Featured Images in WordPress

Ready for 3.0

by Eric ✓ · 231 views · created 2025-06-16 · Miscellaneous

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 8 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. get post (HTTP Request): calls an HTTP API
  2. Filter: keeps only the items that match a condition
  3. Has Img (If): checks a condition and branches into true / false
  4. get img (HTTP Request): calls an HTTP API
  5. delete post (HTTP Request): calls an HTTP API (DELETE)
  6. delete img (HTTP Request): calls an HTTP API (DELETE)
  7. delete post with img (HTTP Request): calls an HTTP API (DELETE)

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

From the author

Why use this You need to delete (many) posts on a WordPress website and also delete the featured image associated with each post. Hours of rote work cut into a fraction with this automation. How it works - set your wordpress URL in the manual trigger node -…

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