Library / Building Blocks & Utilities
Building Blocks & Utilities
Batch Delete WordPress Posts and Their Featured Images
When you run it, it fetches the selected WordPress posts, deletes each post, and removes its featured image from the media library.
What it does
## Approvals Built out your approval process here. Either use this workflow as a manually-driven time saver. Or split it into two workflows with your approvals in an external app like Slack or email. "Approve" link in the external message should fire a webhook that triggers the second half of this workflow with idintifiable post info (ie. post id and featured_media)
The steps
- delete img
- get img
- get post
- delete post
- Filter
- Has Img
- delete post with img
- Change your Domain here
Similar automations
Content Writing & GenerationPublish Airtable Content to WordPress with Featured Images11 stepsBuilding Blocks & UtilitiesAI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets &21 stepsBuilding Blocks & UtilitiesAI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets &21 stepsBuilding Blocks & UtilitiesProcess Prompts in Parallel with Azure OpenAI Batch API38 steps