Batch Delete Posts and Featured Images in WordPress
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 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”.
- get post (HTTP Request): calls an HTTP API
- Filter: keeps only the items that match a condition
- Has Img (If): checks a condition and branches into true / false
- get img (HTTP Request): calls an HTTP API
- delete post (HTTP Request): calls an HTTP API (DELETE)
- delete img (HTTP Request): calls an HTTP API (DELETE)
- 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)
- HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - If
n8n-nodes-base.if - Manual Trigger
n8n-nodes-base.manualTrigger
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 -…