Facebook広告の競合クリエイティブ分析と自動メールレポート

上級

これはAI, Marketing分野の自動化ワークフローで、31個のノードを含みます。主にSet, Wait, Gmail, Limit, Mergeなどのノードを使用、AI技術を活用したスマート自動化を実現。 GPT-4とGeminiを使って競合対象のFacebook広告を分析し、メールでのレポート生成

前提条件
  • Googleアカウント + Gmail API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "bfb4y4EW4tvOM17G",
  "meta": {
    "instanceId": "a943fc71a4dfb51cc3424882233bcd72e7a73857958af1cf464f7c21580c726e",
    "templateCredsSetupCompleted": true
  },
  "name": "Facebook Ads Competitor Creative Analysis & Automated Email Report",
  "tags": [
    {
      "id": "bjzc8PEM2FgX8rUa",
      "name": "Marketing",
      "createdAt": "2025-04-18T13:34:48.192Z",
      "updatedAt": "2025-04-18T13:34:48.192Z"
    },
    {
      "id": "OiWw6VmsJz6ZBAzz",
      "name": "AI",
      "createdAt": "2025-04-25T09:59:58.961Z",
      "updatedAt": "2025-04-25T09:59:58.961Z"
    }
  ],
  "nodes": [
    {
      "id": "284c0970-9c29-43f2-bd45-dc76aef8b878",
      "name": "広告をスクレイピング",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -520,
        1600
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5a26c1ee-39be-4945-9b55-8ce58e511f10",
      "name": "メディア結果をマージ",
      "type": "n8n-nodes-base.merge",
      "position": [
        800,
        1620
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "db54ffff-9cf0-4be5-9878-53a94de3eefc",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        860,
        2140
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "2e34008c-7747-4319-99a2-9c1fec5b550d",
      "name": "出力パーサー自動修正",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        1020,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "def3f940-0bb3-45f8-972b-20f1a42796b4",
      "name": "構造化出力パーサー",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1120,
        2140
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "dfe34ace-d0ce-4c38-99c0-b21bc461dc35",
      "name": "集計",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1020,
        1620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6a633e25-6e39-4635-a1b6-c4ffcc6e7c5a",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        800,
        1820
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "7e747366-0aeb-4ae4-9bae-f3cb1a5ebac5",
      "name": "上位求人推薦をメール送信",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1660,
        1820
      ],
      "webhookId": "757fc280-9123-474c-92c6-e3790477fbde",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "5609c7c3-40cb-4901-bc57-11674ea7dccb",
      "name": "画像フィールドを選択",
      "type": "n8n-nodes-base.set",
      "position": [
        460,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "8823029c-e4a5-419a-8dbe-7bf2d5b9c9cb",
      "name": "画像広告と動画広告を分割",
      "type": "n8n-nodes-base.switch",
      "position": [
        -300,
        1600
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "d3eccca1-e388-4801-838a-7ca6ba0cf860",
      "name": "動画フィールドを選択",
      "type": "n8n-nodes-base.set",
      "position": [
        500,
        2360
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "85daf48d-8600-4a76-8743-c792d6bcec92",
      "name": "動画をダウンロード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        40,
        2160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "310162af-350d-4331-8792-ae4d051bb141",
      "name": "動画をアップロード Gemini",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        260,
        2160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d4b8f151-1348-48d7-9f44-c6c38e84ffa2",
      "name": "動画を分析 Gemini",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        260,
        2360
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "bb529f0b-045c-4bec-b9f7-2b9e80e0a6cf",
      "name": "待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        40,
        2360
      ],
      "webhookId": "ece4480b-9958-46cb-b2e1-60ba9b3c2f07",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "687f49c8-7207-4d3d-bcdd-bc04f4f98cae",
      "name": "画像を分析",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        40,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "38243724-cd80-49cd-a246-72f68723ec7c",
      "name": "全広告情報を単一テキスト文字列に結合",
      "type": "n8n-nodes-base.set",
      "position": [
        1240,
        1620
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "55ebf877-d6df-4479-bdbf-8c59386f4aaa",
      "name": "画像重複キー",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        1240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a0b081dd-8b88-468f-b3c5-fb5a46476839",
      "name": "画像重複キー",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        1940
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f80191b8-45f9-4949-8779-14815de6ed0c",
      "name": "画像重複を削除",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        240,
        1240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "67d1dab8-9d8c-410e-985b-b9138c4db165",
      "name": "動画重複を削除",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        260,
        1940
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e6e78040-8197-4520-988c-77dd5061c29c",
      "name": "画像を5件に制限",
      "type": "n8n-nodes-base.limit",
      "position": [
        460,
        1240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6b75b522-e4c6-420b-ad14-198a5917a8f1",
      "name": "動画を5件に制限",
      "type": "n8n-nodes-base.limit",
      "position": [
        480,
        1940
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5cc72130-31cf-4ca4-875b-62ccc276ca09",
      "name": "フォーム送信時",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -860,
        1600
      ],
      "webhookId": "096d58c1-b5ef-4007-bbff-f4a6324d9d9c",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "82e0ad0c-f768-4034-bde6-0ec7e7fe0392",
      "name": "導入メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8a9daffb-8bd0-4e85-a0e5-9ef15fa57108",
      "name": "付箋メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fe330620-4cbf-461d-a998-c221c2b05403",
      "name": "データ収集メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dd192f4e-e972-4db1-babe-db900fc29438",
      "name": "画像分析メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "47a1e7ef-7e02-44d6-bf12-98203b54d8c8",
      "name": "動画分析メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        1640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "46173dd0-fc02-4064-a90d-791f44741f56",
      "name": "分析メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        1400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1676be5e-15c5-456f-b0a4-bac9ea6ed65b",
      "name": "レポートメモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1480,
        1520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "39a3962c-b947-424c-9c64-37742ba85972",
  "connections": {
    "bb529f0b-045c-4bec-b9f7-2b9e80e0a6cf": {
      "main": [
        [
          {
            "node": "d4b8f151-1348-48d7-9f44-c6c38e84ffa2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a633e25-6e39-4635-a1b6-c4ffcc6e7c5a": {
      "main": [
        [
          {
            "node": "7e747366-0aeb-4ae4-9bae-f3cb1a5ebac5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dfe34ace-d0ce-4c38-99c0-b21bc461dc35": {
      "main": [
        [
          {
            "node": "38243724-cd80-49cd-a246-72f68723ec7c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "284c0970-9c29-43f2-bd45-dc76aef8b878": {
      "main": [
        [
          {
            "node": "8823029c-e4a5-419a-8dbe-7bf2d5b9c9cb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "687f49c8-7207-4d3d-bcdd-bc04f4f98cae": {
      "main": [
        [
          {
            "node": "5609c7c3-40cb-4901-bc57-11674ea7dccb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e6e78040-8197-4520-988c-77dd5061c29c": {
      "main": [
        [
          {
            "node": "687f49c8-7207-4d3d-bcdd-bc04f4f98cae",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6b75b522-e4c6-420b-ad14-198a5917a8f1": {
      "main": [
        [
          {
            "node": "85daf48d-8600-4a76-8743-c792d6bcec92",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "85daf48d-8600-4a76-8743-c792d6bcec92": {
      "main": [
        [
          {
            "node": "310162af-350d-4331-8792-ae4d051bb141",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "db54ffff-9cf0-4be5-9878-53a94de3eefc": {
      "ai_languageModel": [
        [
          {
            "node": "2e34008c-7747-4319-99a2-9c1fec5b550d",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "6a633e25-6e39-4635-a1b6-c4ffcc6e7c5a",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5a26c1ee-39be-4945-9b55-8ce58e511f10": {
      "main": [
        [
          {
            "node": "dfe34ace-d0ce-4c38-99c0-b21bc461dc35",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5cc72130-31cf-4ca4-875b-62ccc276ca09": {
      "main": [
        [
          {
            "node": "284c0970-9c29-43f2-bd45-dc76aef8b878",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a0b081dd-8b88-468f-b3c5-fb5a46476839": {
      "main": [
        [
          {
            "node": "f80191b8-45f9-4949-8779-14815de6ed0c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5609c7c3-40cb-4901-bc57-11674ea7dccb": {
      "main": [
        [
          {
            "node": "5a26c1ee-39be-4945-9b55-8ce58e511f10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d3eccca1-e388-4801-838a-7ca6ba0cf860": {
      "main": [
        [
          {
            "node": "5a26c1ee-39be-4945-9b55-8ce58e511f10",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "310162af-350d-4331-8792-ae4d051bb141": {
      "main": [
        [
          {
            "node": "bb529f0b-045c-4bec-b9f7-2b9e80e0a6cf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4b8f151-1348-48d7-9f44-c6c38e84ffa2": {
      "main": [
        [
          {
            "node": "d3eccca1-e388-4801-838a-7ca6ba0cf860",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f80191b8-45f9-4949-8779-14815de6ed0c": {
      "main": [
        [
          {
            "node": "e6e78040-8197-4520-988c-77dd5061c29c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "67d1dab8-9d8c-410e-985b-b9138c4db165": {
      "main": [
        [
          {
            "node": "6b75b522-e4c6-420b-ad14-198a5917a8f1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "def3f940-0bb3-45f8-972b-20f1a42796b4": {
      "ai_outputParser": [
        [
          {
            "node": "2e34008c-7747-4319-99a2-9c1fec5b550d",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "2e34008c-7747-4319-99a2-9c1fec5b550d": {
      "ai_outputParser": [
        [
          {
            "node": "6a633e25-6e39-4635-a1b6-c4ffcc6e7c5a",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "8823029c-e4a5-419a-8dbe-7bf2d5b9c9cb": {
      "main": [
        [
          {
            "node": "a0b081dd-8b88-468f-b3c5-fb5a46476839",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a0b081dd-8b88-468f-b3c5-fb5a46476839",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "38243724-cd80-49cd-a246-72f68723ec7c": {
      "main": [
        [
          {
            "node": "6a633e25-6e39-4635-a1b6-c4ffcc6e7c5a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - 人工知能, マーケティング

有料ですか?

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

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

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

作成者
SamirLiu

SamirLiu

@samir

Seasoned Data Engineer with over 8 years of experience in digital marketing analytics and workflow automation. Expert in leveraging tools like n8n, Python, and SQL to streamline data integration and optimize operational efficiency. Passionate about enhancing productivity through innovative automation strategies.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34