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をダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 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