AutomationMart
Home/Browse/Batch Delete Posts and Featured Images in WordPress
n8n

Batch Delete Posts and Featured Images in WordPress

n8nn8n8 modulesv1.0
SlackWordPress

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
Batch Delete Posts and Featured Images in WordPress workflow diagram

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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

Every time a new deployment is created in New Relic, Make will automatically send a message in Slack.

Free

Automate customer feedback analysis with Forms, AI, Google Sheets and WhatsApp

Automate Customer Feedback Analysis with Google Sheets, WhatsApp, and Email Introduction: Drowning in Data, Starving for Insight? Imagine this: Your team launches a new feature. Feedback starts pouring in emails, support tickets, social media mentions, and survey responses. You know gold is buried in there, but manually reading, tagging, and summarising hundreds, maybe thousands, of comments? It takes days, maybe weeks. By the time you have a clear picture, the moment might have passed. Sounds e

Free

WordPress blog generation with AI Research, Image Creation & Auto Publishing

How This N8n Workflow Works This is an automated blog post generation system that: 1. Researches topics using AI agents and web search tools 2. Writes complete blog posts with proper SEO structure 3. Generates custom images for each post 4. Publishes directly to WordPress with images embedded Setup Steps 1. API Keys & Credentials - Set in "API Keys" node: - tavily: Get from tavily.com (free tier available) - wavespeed: Get from wavespeed.ai for image generation - wordpress-website-url: Your W

Free

Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook

AI Lead Intelligence & Outreach: Verified Emails, HubSpot Sync & Outlook Drafts Who is this for? This workflow is designed for sales/RevOps teams, B2B founders, SDR/AE teams, and agencies who live in HubSpot and need consistent, compliant first-touch outreach at scale. If you regularly build reusable, multi-client n8n automations, this template will save you hours of manual work. --- What prob

Free

Generate and publish SEO-optimized blog posts to Blogger with OpenAI & DALL-E

This n8n workflow, BlogBlizt: Blogger Edition, automates the complete creation and publishing of long-form blog posts to Blogger, saving you hours of content creation time. Simply send a blog title via Telegram, and it generates comprehensive 10,000+ word articles with custom conceptual images and publishes everything to your Blogger site with proper SEO structure and custom URLs. Who is this for? Blogger users, content creators, and digital marketers who want to automate high-quality, SEO-optim

Free

Track weekly portfolio risk using GPT-4.1, Slack alerts, and Google Sheets

Description This workflow reads your portfolio from Google Sheets, fetches market data, evaluates key risk factors such as sector concentration, volatility, and stock correlation, and generates an easy-to-understand risk summary using AI. When meaningful risk is detected, the workflow sends a structured alert to Slack and stores a weekly risk snapshot in Google Sheets for tracking trends over time. This automation is designed to help investors, analysts, and teams understand portfolio risk clear

Free

Weather forecast email - receive automated weather forecasts daily

Video Introduction []( Want to automate your inbox or need a custom workflow? 📞 Book a Call | 💬 DM me on Linkedin --- Workflow Overview This workflow automatically delivers a daily weather forecast to your email inbox every morning at 7:00 AM. It demonstrates practical API-to-API integration by connecting the Meteosource weather API directly to Gmail using n8n's HTTP Request node, without requiring a pre-built Meteosource integration. Why This Workflow is Valuable Instead of manually checking we

Free

Automated 🤖🎵 AI music generation with ElevenLabs, Google Sheets & Drive

This workflow automates the creation, storage, and cataloging of AI-generated music using the Eleven Music API, Google Sheets, and Google Drive. --- Key Advantages ✅ Fully Automated Music Generation Pipeline Once started, the workflow automatically: Reads track parameters Generates music via API Uploads the file Updates your spreadsheet No manual steps needed after initialization. ✅ Centralized Track Management

Free

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.

Log in to review
Free
No ratings yet

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.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free