Automates bulk deletion of WordPress posts and their featured images via API, saving hours of manual work. Configurable for search, filtering, and approval processes.
This n8n workflow enables efficient batch deletion of WordPress posts along with their associated featured images. It fetches posts based on custom search parameters (e.g., oldest 'pending' posts), applies filters for selective processing, and executes DELETE requests to remove both the post and its image, preventing orphaned media files.
The workflow starts with a manual trigger where you set your WordPress URL and authentication. It then queries the WP REST API for up to 10 posts (pagination
Platform
n8n
Category
AI & Machine Learning
Price
$11.99
Creator
Bryce Yu
WordPress
automation
delete
posts
featured images
batch processing
API
filter
cleanup
n8n
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.