Webスクレイピングを使用してGeminiとIdeogram AIでFB、IG、Pinterest向けのソーシャルメディア広告を生成する

上級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、38個のノードを含みます。主にSet, Slack, Switch, FormTrigger, HttpRequestなどのノードを使用。 Gemini と Ideogram AI を使用したウェブサイト スクレイピングにより、FB、IG、Pinterest のソーシャル メディア広告を生成します

前提条件
  • Slack Bot Token または Webhook URL
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "76f564ce9e1f496ea6c3533f155d5217a31a74b1b62bea30c37742947aa7de7c",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "e698b84d-ecea-45ac-8adf-44c4ca9b4186",
      "name": "📝 フォームトリガー",
      "type": "n8n-nodes-base.formTrigger",
      "notes": "SETUP:\n1. Configure form fields as shown\n2. Copy webhook URL after saving\n3. Share URL with users\nNOTE: This captures user inputs for ad generation",
      "position": [
        -2304,
        1936
      ],
      "webhookId": "ad-generator-form",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "aa94cc31-5e90-4dc1-98a1-c68810048d1c",
      "name": "🔀 ディメンション別ルーティング",
      "type": "n8n-nodes-base.switch",
      "notes": "SETUP:\n1. Already configured with 7 dimension routes\n2. Enable 'Output All Matching' in options\n3. Each output triggers corresponding image generation\nNOTE: Creates separate paths for each selected dimension",
      "position": [
        -768,
        1856
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "c520634c-c776-476a-a409-88bd0a4eaac6",
      "name": "🎨 FB フィード (1200x630)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        1408
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "50d95aa5-886d-4c11-baa1-d872610625d3",
      "name": "🎨 FB ストーリー (1080x1920)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        1568
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f03474c7-fb4f-4bb4-8f6f-e47b4b5fa4d8",
      "name": "🎨 IG フィード (1080x1080)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        1744
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "50bd7169-4d72-4126-a221-23452638b500",
      "name": "🎨 IG ストーリー (1080x1920)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        1920
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "eb1111d4-61de-4d8b-aa37-384c05085b86",
      "name": "🎨 IG リール (1080x1920)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        2096
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fc1e610b-4fdf-46b6-a9f7-e31894e0a153",
      "name": "🎨 Pinterest ピン (1000x1500)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        2288
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5a709c1a-8e89-4272-891d-f3626674e517",
      "name": "🎨 Pinterest ストーリー (1080x1920)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        2496
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "da59cfac-46a2-4ae8-9354-7ae7c5c07217",
      "name": "📤 FB フィード送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        1408
      ],
      "webhookId": "677a96b2-88e5-4e5c-a533-af31f0674210",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "d93530d1-564a-4301-b97d-32b62909bfe7",
      "name": "📤 FB ストーリー送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        1568
      ],
      "webhookId": "45d93717-2306-43bb-8619-3cda12903b9a",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "59e5cb38-31d4-4022-a6c6-87afd24316e7",
      "name": "📤 IG フィード送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        1744
      ],
      "webhookId": "cc5a7a71-eff8-42be-b1cd-e05294709d9b",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "f98f5d48-99ce-4495-8a8f-383be18080e7",
      "name": "📤 IG ストーリー送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        1920
      ],
      "webhookId": "b6d2dfd6-cb61-49d1-a3ee-ac9d30e80b5e",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "f9d74b85-6680-44b8-adc0-5f38fcf6b5e9",
      "name": "📤 IG リール送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        2096
      ],
      "webhookId": "3fe6fdf8-71c4-4f1f-b752-fdf7a2778b42",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "68df8368-0bbe-477d-bbe5-75496d9974c1",
      "name": "📤 Pinterest ピン送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        2288
      ],
      "webhookId": "41508eff-34dc-4e71-862d-2552b65d889a",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "1125c1ff-3d21-4dc6-a895-d8f8163943b1",
      "name": "📤 Pinterest ストーリー送信",
      "type": "n8n-nodes-base.slack",
      "position": [
        656,
        2496
      ],
      "webhookId": "5ac5947d-872a-459d-8193-20f9910ded26",
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "8ba41edc-7287-442a-a4ff-311289f56613",
      "name": "付箋11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2384,
        2144
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d09a7813-c84b-4ff1-9424-59e8900151ac",
      "name": "付箋12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1984,
        2144
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "40fdfe1a-345c-4fb6-b70f-71e2dae97d61",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        928
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d027ed57-9dce-4b02-b6b0-ae59ffd7a2ad",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2384,
        1744
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "494af53b-8e65-4344-a1b8-12d7f749f80f",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        1680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ab0e7c43-e906-4491-bad6-aefe936ca659",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        1152
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fc9cdfbd-d7c8-4c9c-94f1-a896a55438ac",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        1136
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fb2f6e8c-d9a7-41c8-99f5-870e476ff324",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2000,
        928
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "70aafec5-a21c-4e48-a2e8-6c7d7f4e7a8d",
      "name": "画像ダウンロード - FB ストーリー",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        1568
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dc6de5c8-deeb-4817-bd79-c8fd9bf8825e",
      "name": "画像ダウンロード - FB フィード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        1408
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a216c29e-399e-4eaf-985a-96a92c5bd3a6",
      "name": "画像ダウンロード - IG フィード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        1744
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "43ce3bc4-507f-4acf-a498-4f85c7128712",
      "name": "画像ダウンロード - IG ストーリー",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        1920
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dc0afe50-d7c8-41e4-a4fc-ef13af1a4b7e",
      "name": "画像ダウンロード - IG リール",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        2096
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "16cc7386-cc22-4674-9574-fc2194857ffa",
      "name": "画像ダウンロード - Pinterest ピン",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        2288
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e2e099c8-f1f4-41fd-a9b6-bab6f52c5ca8",
      "name": "画像ダウンロード - Pinterest ストーリー",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        2496
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6603718a-a36c-4c6e-91ed-2bbc896e7663",
      "name": "Firecrawl による1ページスクレイピング - user /scrape エンドポイント",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1792,
        1936
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "81c90324-2bc2-46d7-9f49-a5c580348bbb",
      "name": "AI プロンプト生成",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        -1376,
        1936
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0a4c3fa6-7292-49ed-a1e1-dcd0f8eacc26",
      "name": "AI プロンプト設定",
      "type": "n8n-nodes-base.set",
      "position": [
        -1024,
        1936
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "09829502-4e16-4455-9f43-cc8594f2980a",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        1136
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bda37928-dd32-4b3b-bb76-5be9d5037e06",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2016,
        1504
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f6159a23-b287-4221-9525-086cddf33f3a",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        1760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3bc6a51f-8abd-4f98-a993-bc2a5443fa05",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        896,
        1136
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "0a4c3fa6-7292-49ed-a1e1-dcd0f8eacc26": {
      "main": [
        [
          {
            "node": "aa94cc31-5e90-4dc1-98a1-c68810048d1c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e698b84d-ecea-45ac-8adf-44c4ca9b4186": {
      "main": [
        [
          {
            "node": "6603718a-a36c-4c6e-91ed-2bbc896e7663",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c520634c-c776-476a-a409-88bd0a4eaac6": {
      "main": [
        [
          {
            "node": "dc6de5c8-deeb-4817-bd79-c8fd9bf8825e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc6de5c8-deeb-4817-bd79-c8fd9bf8825e": {
      "main": [
        [
          {
            "node": "da59cfac-46a2-4ae8-9354-7ae7c5c07217",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a216c29e-399e-4eaf-985a-96a92c5bd3a6": {
      "main": [
        [
          {
            "node": "59e5cb38-31d4-4022-a6c6-87afd24316e7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc0afe50-d7c8-41e4-a4fc-ef13af1a4b7e": {
      "main": [
        [
          {
            "node": "f9d74b85-6680-44b8-adc0-5f38fcf6b5e9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f03474c7-fb4f-4bb4-8f6f-e47b4b5fa4d8": {
      "main": [
        [
          {
            "node": "a216c29e-399e-4eaf-985a-96a92c5bd3a6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb1111d4-61de-4d8b-aa37-384c05085b86": {
      "main": [
        [
          {
            "node": "dc0afe50-d7c8-41e4-a4fc-ef13af1a4b7e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aa94cc31-5e90-4dc1-98a1-c68810048d1c": {
      "main": [
        [
          {
            "node": "c520634c-c776-476a-a409-88bd0a4eaac6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "50d95aa5-886d-4c11-baa1-d872610625d3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f03474c7-fb4f-4bb4-8f6f-e47b4b5fa4d8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "50bd7169-4d72-4126-a221-23452638b500",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "eb1111d4-61de-4d8b-aa37-384c05085b86",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "fc1e610b-4fdf-46b6-a9f7-e31894e0a153",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "5a709c1a-8e89-4272-891d-f3626674e517",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "70aafec5-a21c-4e48-a2e8-6c7d7f4e7a8d": {
      "main": [
        [
          {
            "node": "d93530d1-564a-4301-b97d-32b62909bfe7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "43ce3bc4-507f-4acf-a498-4f85c7128712": {
      "main": [
        [
          {
            "node": "f98f5d48-99ce-4495-8a8f-383be18080e7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "81c90324-2bc2-46d7-9f49-a5c580348bbb": {
      "main": [
        [
          {
            "node": "0a4c3fa6-7292-49ed-a1e1-dcd0f8eacc26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "50d95aa5-886d-4c11-baa1-d872610625d3": {
      "main": [
        [
          {
            "node": "70aafec5-a21c-4e48-a2e8-6c7d7f4e7a8d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "50bd7169-4d72-4126-a221-23452638b500": {
      "main": [
        [
          {
            "node": "43ce3bc4-507f-4acf-a498-4f85c7128712",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "16cc7386-cc22-4674-9574-fc2194857ffa": {
      "main": [
        [
          {
            "node": "68df8368-0bbe-477d-bbe5-75496d9974c1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fc1e610b-4fdf-46b6-a9f7-e31894e0a153": {
      "main": [
        [
          {
            "node": "16cc7386-cc22-4674-9574-fc2194857ffa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e2e099c8-f1f4-41fd-a9b6-bab6f52c5ca8": {
      "main": [
        [
          {
            "node": "1125c1ff-3d21-4dc6-a895-d8f8163943b1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5a709c1a-8e89-4272-891d-f3626674e517": {
      "main": [
        [
          {
            "node": "e2e099c8-f1f4-41fd-a9b6-bab6f52c5ca8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6603718a-a36c-4c6e-91ed-2bbc896e7663": {
      "main": [
        [
          {
            "node": "81c90324-2bc2-46d7-9f49-a5c580348bbb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

関連ワークフロー

FB/IG/Pinterest向けのソーシャルメディア広告画像を生成するためにGoogle Gemini Imagenを使用する
Google Gemini Imagen を使用して FB/IG/Pinterest のソーシャル メディア広告画像を生成
Switch
Telegram
Form Trigger
+
Switch
Telegram
Form Trigger
32 ノードMalik Hashir
コンテンツ作成
AIを活用したリードの資格評価とパーソナライズドアウトリーチ(Relevance AI使用)
AIを活用したリードの資格評価とパーソナライズドアウトリーチ:Relevance AIを使用
Set
Code
Gmail
+
Set
Code
Gmail
34 ノードDiptamoy Barman
コンテンツ作成
RapidAPIを使って経済カレンダーのPDFレポートをTelegramに自動送信
RapidAPIを使用した経済カレンダーPDFレポートをTelegramに自動送信
Set
Code
Telegram
+
Set
Code
Telegram
19 ノードMalik Hashir
コンテンツ作成
Gemini 2.5 ProとTwelveDataを使ってTelegramボットから株式取引シグナルを生成
Telegram ボットを使用して Gemini 2.5 Pro と TwelveData を用いて株式取引シグナルを生成
Set
Code
Wait
+
Set
Code
Wait
36 ノードMalik Hashir
コンテンツ作成
Google Gemini (BANT) を使用したリーダーポテンシャル資格設定とマルチチャネルフォローアップの自動化
Google Gemini (BANT) を使用したリードの自動クオリフィケーションとマルチチャネルフォローアップ
Set
Form
Gmail
+
Set
Form
Gmail
19 ノードLucas Peyrin
コンテンツ作成
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
ワークフロー情報
難易度
上級
ノード数38
カテゴリー2
ノードタイプ7
難易度説明

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34