Batch Delete Posts and Featured Images in WordPress
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 - set your WP post search parameters - (WP API returns 10 posts by default; you could also set up pagination for scaling this automation beyond 10 posts per execution) - decide (and build) your filter/approval process What you can expect - this
At a glance
Batch Delete Posts and Featured Images in WordPress is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, WordPress. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Slack, WordPress
- Modules
- 8
- Price
- Free
- Version
- v1.0

About this workflow
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 - set your WP post search parameters - (WP API returns 10 posts by default; you could also set up pagination for scaling this automation beyond 10 posts per execution) - decide (and build) your filter/approval process What you can expect - this automation is set up to run the 10 oldest pending posts, with oldest first - if you remove the 'Filter' node from the workflow, after each run, another 10 posts will be returned from WP Notes on Filter/Approval This is arbitrary and depends on your own use case. Maybe you have an editor who needs to approve the post deletion. You might want to get approval by email, slack msg or ticketing system. Or maybe you just want to monitor the process and spare specific posts from deletion. I used the Filter node to only grab the first item (itemIndex < 1) which in this case was the oldest pending post. This could also be expanded to two separate workflows: - One triggered when a pending post is created that sends an approval request - A second triggered by the approval/rejection that either publishes or deletes the post, depending on the approval result This would require another HTTP request, similar to the DELETE post request, that instead publishes the post.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Send a new message about a new Deployment in New Relic to Slack
Automate customer feedback analysis with Forms, AI, Google Sheets and WhatsApp
WordPress blog generation with AI Research, Image Creation & Auto Publishing
Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook
Generate and publish SEO-optimized blog posts to Blogger with OpenAI & DALL-E
Track weekly portfolio risk using GPT-4.1, Slack alerts, and Google Sheets
Weather forecast email - receive automated weather forecasts daily
Automated 🤖🎵 AI music generation with ElevenLabs, Google Sheets & Drive
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you