Automated WordPress Post and Media Deletion Workflow

somdn_product_page

This n8n workflow automates the bulk deletion of pending WordPress posts, including associated media. It starts with a manual trigger, fetches pending posts, checks if each post has a featured image, and deletes the media if present before deleting the post itself. The process can be used for regular site cleanup or post-approval workflows. It is highly customizable and can be integrated into content management or moderation routines, ensuring efficient management of outdated or unwanted content.

Node Count

11 – 20 Nodes

Nodes Used

filter, httpRequest, if, manualTrigger, stickyNote