Batch Delete Posts and Featured Images in WordPress — n8n 工作流
概览
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 automa
使用的节点
HTTP Request
工作流预览
delete img
get img
get post
delete post
F
Filter
H
Has Img
delete post with img
⚡
C
Change your Domain here
8 nodes7 edges
工作原理
- 1
触发器
工作流由 触发器 触发器启动。
- 2
处理
数据流经 8 个节点, connecting filter, httprequest, if。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (8)
HT#1
HTTP Request
httpRequest
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
batch-delete-posts-and-featured-images-in-wordpress文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "Batch Delete Posts and Featured Images in WordPress", "nodes": [...], ...}
集成
filterhttprequestifmanualtrigger
创建者
Eric
@automation-wizard
标签
filterhttprequestifmanualtrigger