Batch Delete WordPress Posts & Featured Images
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
- Jana Bakker
- 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.
Related AI & Machine Learning workflows
- Create an AI Data Analyst Chatbot for Automated Data Retrieval and Analysis$19.99
- Perform Hybrid Search on Legal Datasets Using Qdrant and BM25/mxbai$14.99
- Automate Weekly AI Research Summaries with arXiv and Weaviate$19.99
- Build a PDF Document RAG System with Mistral OCR, Qdrant, and Gemini AI$24.99
- Index Legal Documents for Hybrid Search Using Qdrant, OpenAI, and BM25$19.99
- Automate Legal Q&A with AI and Document Retrieval via Telegram$9.99
More from Jana Bakker
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.