OpenAIでWordPressとWooCommerceのコンテンツ(コメント、フィード、更新)を自動化

上級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、38個のノードを含みます。主にSet, Code, Wordpress, HttpRequest, ManualTriggerなどのノードを使用。 OpenAIを使って、WordPressとWooCommerceのコンテンツ(コメント・フィードバック・更新)を自動化

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "83099d8fa5039aef53fd399c311d59a17992752996623f2bbd2595dce699372d",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "db247af8-ae34-439b-a4ea-8ccc8950ad7c",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d1f8e127-621e-4054-b547-be2a32e4f16e",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        368
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "aae92991-376b-4252-ae1d-8e1ff86d1df8",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d88aef89-5579-4d2e-b3a8-b84bff0186a0",
      "name": "投稿を更新",
      "type": "n8n-nodes-base.wordpress",
      "disabled": true,
      "position": [
        2160,
        1168
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "03818d71-aa1d-4381-b22b-d71427c4e395",
      "name": "WooCommerceから商品を取得",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 5,
      "position": [
        128,
        144
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 2000
    },
    {
      "id": "efb0c8c9-e3c3-4817-8d49-f0b1382ed3fc",
      "name": "商品コメントプロンプトを構築",
      "type": "n8n-nodes-base.set",
      "position": [
        368,
        144
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "04a36c3c-3288-4c0d-86d4-486d614d3a10",
      "name": "商品コメントを生成 (AI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        656,
        144
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.8,
      "waitBetweenTries": 2000
    },
    {
      "id": "a974f5e6-127e-4e2a-8b4d-62a1af49ca29",
      "name": "AI出力を抽出",
      "type": "n8n-nodes-base.set",
      "position": [
        1008,
        144
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "40e730ff-6af1-4933-aeae-534011520281",
      "name": "商品にレビューを投稿",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 5,
      "position": [
        1264,
        144
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "3b5fa5b5-e34e-43cf-bdd9-91de7fe1bc88",
      "name": "WordPressから記事を取得",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 5,
      "position": [
        112,
        496
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 2000
    },
    {
      "id": "8b7b7c8b-6d1b-4607-bb05-df09d826376f",
      "name": "記事コメントプロンプトを構築",
      "type": "n8n-nodes-base.set",
      "position": [
        368,
        496
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a9a753f4-b25d-406b-82a8-37742c70545b",
      "name": "記事コメントを生成 (AI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        640,
        496
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.8,
      "waitBetweenTries": 2000
    },
    {
      "id": "a021eabc-94d0-4267-a9d7-3f245eca0e61",
      "name": "AI出力を抽出1",
      "type": "n8n-nodes-base.set",
      "position": [
        992,
        496
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2efa30e8-d463-48ed-aa97-c5da08e43174",
      "name": "記事にコメントを投稿",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 5,
      "position": [
        1248,
        496
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 2000
    },
    {
      "id": "f69f0508-f078-4e52-bb86-6b7b59b04686",
      "name": "記事コンテンツを取得 (API)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        192,
        864
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "67f7c59a-ab86-46b7-a0a8-2a929ea76866",
      "name": "記事コンテンツフィールドを準備",
      "type": "n8n-nodes-base.set",
      "position": [
        448,
        864
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ceebfe61-d937-4bf2-b830-f1e4b1f6fc56",
      "name": "プロンプト用に記事コンテンツをフォーマット",
      "type": "n8n-nodes-base.code",
      "position": [
        688,
        864
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "62a31833-e8d7-453b-b2c6-ddbee6c0933b",
      "name": "見出しと要約段落を生成 (AI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        928,
        864
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "1c3033db-0219-4b01-86e5-7b094dcc2b4f",
      "name": "更新用にAI出力をフォーマット",
      "type": "n8n-nodes-base.code",
      "position": [
        1280,
        864
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e5e45fb4-868a-4384-9132-ef2818387469",
      "name": "WordPressの記事を更新",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1520,
        864
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4282f20c-3c76-4b2d-9c03-7a4658e84f0a",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "098c7452-91bb-4b1a-9113-00f93ee04cb8",
      "name": "WooCommerceから商品カテゴリを取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        192,
        1168
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "0f8e577e-b7ae-4b10-8db9-ebb2f73422d6",
      "name": "カテゴリフィールドを準備",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        1168
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8d7c47f4-2574-424e-8dc9-d126234f3d6f",
      "name": "カテゴリ説明をクリーンアップ",
      "type": "n8n-nodes-base.code",
      "position": [
        688,
        1168
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0a1af60d-7ab9-40dc-8044-b722680b1a6f",
      "name": "カテゴリ見出しと要約を生成",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        928,
        1168
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "e9a33302-00c1-4aa9-9593-a662d79eaec5",
      "name": "WooCommerceの商品カテゴリを更新",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1520,
        1168
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3bcae65f-011a-4d68-81a6-ade55f4e6018",
      "name": "カテゴリ更新用にAI出力をフォーマット",
      "type": "n8n-nodes-base.code",
      "position": [
        1280,
        1168
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3159e160-e762-4e78-83d5-e848e70bacd4",
      "name": "WooCommerceから商品を取得 (更新用)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        176,
        1504
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a590015f-72ec-4663-8d1a-2b0285c404e6",
      "name": "商品フィールドを準備",
      "type": "n8n-nodes-base.set",
      "position": [
        464,
        1504
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b7a346f7-1821-4d05-8966-276350000813",
      "name": "商品説明と短い説明をクリーンアップ",
      "type": "n8n-nodes-base.code",
      "position": [
        672,
        1504
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d4c0d8ed-37ed-4921-bd65-34d78b83af3d",
      "name": "商品説明を生成",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        912,
        1504
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "2632a3aa-9a7f-4c92-a48a-61e39029a9e5",
      "name": "商品更新用にAI出力をフォーマット",
      "type": "n8n-nodes-base.code",
      "position": [
        1264,
        1504
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a0279473-af0d-40dd-98f0-8478cf07f45e",
      "name": "WooCommerceの商品を更新",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1504,
        1504
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "041ea350-4715-4132-b15f-170191ae8533",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e3aef832-58ec-413a-af92-ae25544c18e8",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        1056
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4b4fbf76-b52e-4f30-88eb-5e0730498d75",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        1376
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3a8dda0c-7411-4ba2-bb60-87f4b8c5b4e2",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "disabled": true,
      "position": [
        -240,
        672
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "276ef163-5cad-4135-b57a-07ecfb5ad13d",
      "name": "ワークフローを実行",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -224,
        528
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "276ef163-5cad-4135-b57a-07ecfb5ad13d": {
      "main": [
        [
          {
            "node": "03818d71-aa1d-4381-b22b-d71427c4e395",
            "type": "main",
            "index": 0
          },
          {
            "node": "3b5fa5b5-e34e-43cf-bdd9-91de7fe1bc88",
            "type": "main",
            "index": 0
          },
          {
            "node": "f69f0508-f078-4e52-bb86-6b7b59b04686",
            "type": "main",
            "index": 0
          },
          {
            "node": "098c7452-91bb-4b1a-9113-00f93ee04cb8",
            "type": "main",
            "index": 0
          },
          {
            "node": "3159e160-e762-4e78-83d5-e848e70bacd4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a974f5e6-127e-4e2a-8b4d-62a1af49ca29": {
      "main": [
        [
          {
            "node": "40e730ff-6af1-4933-aeae-534011520281",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a021eabc-94d0-4267-a9d7-3f245eca0e61": {
      "main": [
        [
          {
            "node": "2efa30e8-d463-48ed-aa97-c5da08e43174",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a590015f-72ec-4663-8d1a-2b0285c404e6": {
      "main": [
        [
          {
            "node": "b7a346f7-1821-4d05-8966-276350000813",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0f8e577e-b7ae-4b10-8db9-ebb2f73422d6": {
      "main": [
        [
          {
            "node": "8d7c47f4-2574-424e-8dc9-d126234f3d6f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8d7c47f4-2574-424e-8dc9-d126234f3d6f": {
      "main": [
        [
          {
            "node": "0a1af60d-7ab9-40dc-8044-b722680b1a6f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f69f0508-f078-4e52-bb86-6b7b59b04686": {
      "main": [
        [
          {
            "node": "67f7c59a-ab86-46b7-a0a8-2a929ea76866",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1c3033db-0219-4b01-86e5-7b094dcc2b4f": {
      "main": [
        [
          {
            "node": "e5e45fb4-868a-4384-9132-ef2818387469",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8b7b7c8b-6d1b-4607-bb05-df09d826376f": {
      "main": [
        [
          {
            "node": "a9a753f4-b25d-406b-82a8-37742c70545b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "efb0c8c9-e3c3-4817-8d49-f0b1382ed3fc": {
      "main": [
        [
          {
            "node": "04a36c3c-3288-4c0d-86d4-486d614d3a10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3b5fa5b5-e34e-43cf-bdd9-91de7fe1bc88": {
      "main": [
        [
          {
            "node": "8b7b7c8b-6d1b-4607-bb05-df09d826376f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a9a753f4-b25d-406b-82a8-37742c70545b": {
      "main": [
        [
          {
            "node": "a021eabc-94d0-4267-a9d7-3f245eca0e61",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "04a36c3c-3288-4c0d-86d4-486d614d3a10": {
      "main": [
        [
          {
            "node": "a974f5e6-127e-4e2a-8b4d-62a1af49ca29",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4c0d8ed-37ed-4921-bd65-34d78b83af3d": {
      "main": [
        [
          {
            "node": "2632a3aa-9a7f-4c92-a48a-61e39029a9e5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "67f7c59a-ab86-46b7-a0a8-2a929ea76866": {
      "main": [
        [
          {
            "node": "ceebfe61-d937-4bf2-b830-f1e4b1f6fc56",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "03818d71-aa1d-4381-b22b-d71427c4e395": {
      "main": [
        [
          {
            "node": "efb0c8c9-e3c3-4817-8d49-f0b1382ed3fc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ceebfe61-d937-4bf2-b830-f1e4b1f6fc56": {
      "main": [
        [
          {
            "node": "62a31833-e8d7-453b-b2c6-ddbee6c0933b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2632a3aa-9a7f-4c92-a48a-61e39029a9e5": {
      "main": [
        [
          {
            "node": "a0279473-af0d-40dd-98f0-8478cf07f45e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0a1af60d-7ab9-40dc-8044-b722680b1a6f": {
      "main": [
        [
          {
            "node": "3bcae65f-011a-4d68-81a6-ade55f4e6018",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3bcae65f-011a-4d68-81a6-ade55f4e6018": {
      "main": [
        [
          {
            "node": "e9a33302-00c1-4aa9-9593-a662d79eaec5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "098c7452-91bb-4b1a-9113-00f93ee04cb8": {
      "main": [
        [
          {
            "node": "0f8e577e-b7ae-4b10-8db9-ebb2f73422d6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "62a31833-e8d7-453b-b2c6-ddbee6c0933b": {
      "main": [
        [
          {
            "node": "1c3033db-0219-4b01-86e5-7b094dcc2b4f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3159e160-e762-4e78-83d5-e848e70bacd4": {
      "main": [
        [
          {
            "node": "a590015f-72ec-4663-8d1a-2b0285c404e6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b7a346f7-1821-4d05-8966-276350000813": {
      "main": [
        [
          {
            "node": "d4c0d8ed-37ed-4921-bd65-34d78b83af3d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - コンテンツ作成, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数38
カテゴリー2
ノードタイプ8
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
Ali Khosravani

Ali Khosravani

@alikhosro

Automation & SEO Specialist with years of experience building smart workflows, AI-powered content solutions, and marketing automations. Skilled in n8n, WordPress, and API integrations to help businesses save time and grow faster.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34