OpenAIとFirecrawlを使って製品URLからAI生成のMeta広告キャンペーンを作成する
上級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、40個のノードを含みます。主にIf, Set, Code, Wait, Mergeなどのノードを使用。 OpenAI と Firecrawl を使って製品 URL から AI 生成の Meta 広告キャンペーンを作成
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
使用ノード (40)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "2d54f61dfd963457efb86a8690aae457934e92fb9e4b8b6490ca74fc37094458",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "7fe8fca7-cfaa-4d8d-9d5b-e7a8e288ea21",
"name": "分割",
"type": "n8n-nodes-base.splitOut",
"position": [
1504,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c2d0dc8d-4f93-4879-a8e8-90893a866627",
"name": "プラットフォームアダプター",
"type": "n8n-nodes-base.code",
"position": [
1728,
400
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5d1715b4-9077-4193-a62a-6e01ec9197fb",
"name": "バッチ",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1952,
400
],
"parameters": {},
"typeVersion": 3
},
{
"id": "9c4f6edb-e4ed-4ad4-9353-c4bb6a4d333d",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
2176,
400
],
"webhookId": "f95ca634-9e19-4f64-90ae-9534420fb588",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "e782f17b-56eb-4b06-8019-42bcc10985dc",
"name": "AI広告フォーム送信",
"type": "n8n-nodes-base.formTrigger",
"position": [
-640,
400
],
"webhookId": "98225ca9-5e82-4b04-b650-2c211fe99fe2",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "09ebd976-f855-46b2-9f33-343811c7117c",
"name": "OpenAI画像生成",
"type": "n8n-nodes-base.httpRequest",
"position": [
2400,
400
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ff2bdaaf-b7e0-4480-a72c-0d002df0c0d8",
"name": "B64文字列をファイルに変換",
"type": "n8n-nodes-base.convertToFile",
"position": [
2608,
400
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "335aa491-31e3-451e-9f8c-b4ebf5db0337",
"name": "クリエイティブブリーフ",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
704,
400
],
"parameters": {},
"executeOnce": true,
"typeVersion": 1.8
},
{
"id": "4d2625d2-937d-4ae8-8364-ed11e4b35eba",
"name": "URLをスクレイピングしてコンテンツを取得",
"type": "@mendable/n8n-nodes-firecrawl.firecrawl",
"position": [
-416,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "31186bf1-30aa-4f06-bd38-0e3e0ac14244",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-128,
624
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5bf6f5c1-ced8-43e0-a594-b6224923dbba",
"name": "構造化出力パーサー1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-112,
416
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "7e523dfe-1b4d-487f-840f-7b59c7b2624f",
"name": "OpenAI extraction with JSON Schema",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-192,
192
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "9934ff53-b1df-4a6d-af05-8c5cdf66cdd4",
"name": "製品分析1",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
256,
336
],
"parameters": {},
"executeOnce": true,
"typeVersion": 1.8
},
{
"id": "73772c53-591a-4077-ae95-a9de6c11a292",
"name": "マージ1",
"type": "n8n-nodes-base.merge",
"position": [
480,
400
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "b43d3e4c-18ef-4ab1-ae56-ae7d86407b7d",
"name": "動画をFBにアップロード",
"type": "n8n-nodes-base.httpRequest",
"position": [
2640,
-48
],
"parameters": {},
"typeVersion": 3
},
{
"id": "14bc464d-fbe0-40f6-93d0-db5cc93d2dea",
"name": "動画クリエイティブ作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
3088,
-48
],
"parameters": {},
"typeVersion": 3
},
{
"id": "6347fd71-1c54-45ca-aca1-9808e83957c6",
"name": "動画ですか?",
"type": "n8n-nodes-base.if",
"onError": "continueRegularOutput",
"position": [
2416,
48
],
"parameters": {},
"typeVersion": 1
},
{
"id": "12701458-ef9c-49ab-9693-58e5bc5deb64",
"name": "画像をFBにアップロード",
"type": "n8n-nodes-base.httpRequest",
"position": [
2640,
144
],
"parameters": {},
"typeVersion": 3
},
{
"id": "dbb427ce-086c-49e9-af06-3fe6945a5548",
"name": "画像クリエイティブ作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
3088,
144
],
"parameters": {},
"typeVersion": 3
},
{
"id": "b448342b-c28e-4f08-9b7f-c94db3819007",
"name": "クリエイティブをマージ",
"type": "n8n-nodes-base.merge",
"position": [
3536,
48
],
"parameters": {},
"typeVersion": 1
},
{
"id": "903c7389-6ccf-40a2-a00a-f07332c461d0",
"name": "キャンペーン作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
3984,
128
],
"parameters": {},
"typeVersion": 3
},
{
"id": "07b32a52-221e-46c1-96c2-c98d290e23a2",
"name": "一度だけ実行",
"type": "n8n-nodes-base.function",
"position": [
3760,
128
],
"parameters": {},
"typeVersion": 1
},
{
"id": "85eb6948-f9bf-462e-9eab-771e3388a896",
"name": "広告セット作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
4208,
128
],
"parameters": {},
"typeVersion": 3
},
{
"id": "13831042-6416-47cb-943d-1e8277772842",
"name": "広告作成",
"type": "n8n-nodes-base.httpRequest",
"position": [
4880,
48
],
"parameters": {},
"typeVersion": 3
},
{
"id": "8c4e43cc-51d0-4cd8-a119-671c83bdcd72",
"name": "動画IDを設定",
"type": "n8n-nodes-base.set",
"position": [
2864,
-48
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "90fd180b-c721-45c6-aa7a-04699324406f",
"name": "画像ハッシュを設定",
"type": "n8n-nodes-base.set",
"position": [
2864,
144
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "b163005b-df59-454b-9bca-468ffaee37f8",
"name": "画像パケットを設定",
"type": "n8n-nodes-base.set",
"position": [
3312,
144
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "cc88d7b9-a422-45f7-bc56-ae22fa5d49e9",
"name": "動画パケットを設定",
"type": "n8n-nodes-base.set",
"position": [
3312,
-48
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ccbf6a4d-d8b3-4e22-8cfb-c2ffd99633a2",
"name": "広告セットIDを保存",
"type": "n8n-nodes-base.set",
"position": [
4432,
128
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "006ac537-2bfe-449a-838d-2fa5d0d2b9f2",
"name": "マージ2",
"type": "n8n-nodes-base.merge",
"position": [
4656,
48
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "ebb8027e-8121-4b6c-a355-c1de7dc2e3f4",
"name": "Meta広告設定",
"type": "n8n-nodes-base.set",
"position": [
2192,
48
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "92aab71c-b361-4afd-b7c5-d46d46a8b196",
"name": "GPT-4 Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1136,
624
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "487deec6-6e2f-4b9d-bfc4-061e62cdcbf9",
"name": "出力パーサー1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1136,
416
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "3e904ef5-1f95-49a3-b3e4-48fa426bbd2d",
"name": "広告キャンペーン生成",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1056,
192
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "4fc5d55c-45fc-4521-9f57-e7e5ba977e9d",
"name": "フィールド編集",
"type": "n8n-nodes-base.set",
"position": [
2832,
400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f8308103-624c-47f2-94d0-8fbc9d222189",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-864,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1e46640c-a9e9-479c-b0e2-6e480a4ccd5f",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-448,
784
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1140b891-81dd-4e51-b2b7-00b8843e87be",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
320,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d5ae1462-dd0e-4fbd-9dac-edbacfa8ba8a",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1984,
656
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "31de7168-a3f9-4036-b28a-9c9d32c3fc0b",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
3088,
-352
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"9c4f6edb-e4ed-4ad4-9353-c4bb6a4d333d": {
"main": [
[
{
"node": "09ebd976-f855-46b2-9f33-343811c7117c",
"type": "main",
"index": 0
}
]
]
},
"5d1715b4-9077-4193-a62a-6e01ec9197fb": {
"main": [
[
{
"node": "ebb8027e-8121-4b6c-a355-c1de7dc2e3f4",
"type": "main",
"index": 0
}
],
[
{
"node": "9c4f6edb-e4ed-4ad4-9353-c4bb6a4d333d",
"type": "main",
"index": 0
}
]
]
},
"7fe8fca7-cfaa-4d8d-9d5b-e7a8e288ea21": {
"main": [
[
{
"node": "c2d0dc8d-4f93-4879-a8e8-90893a866627",
"type": "main",
"index": 0
}
]
]
},
"73772c53-591a-4077-ae95-a9de6c11a292": {
"main": [
[
{
"node": "335aa491-31e3-451e-9f8c-b4ebf5db0337",
"type": "main",
"index": 0
}
]
]
},
"006ac537-2bfe-449a-838d-2fa5d0d2b9f2": {
"main": [
[
{
"node": "13831042-6416-47cb-943d-1e8277772842",
"type": "main",
"index": 0
}
]
]
},
"07b32a52-221e-46c1-96c2-c98d290e23a2": {
"main": [
[
{
"node": "903c7389-6ccf-40a2-a00a-f07332c461d0",
"type": "main",
"index": 0
}
]
]
},
"13831042-6416-47cb-943d-1e8277772842": {
"main": [
[]
]
},
"4fc5d55c-45fc-4521-9f57-e7e5ba977e9d": {
"main": [
[
{
"node": "5d1715b4-9077-4193-a62a-6e01ec9197fb",
"type": "main",
"index": 0
}
]
]
},
"92aab71c-b361-4afd-b7c5-d46d46a8b196": {
"ai_languageModel": [
[
{
"node": "3e904ef5-1f95-49a3-b3e4-48fa426bbd2d",
"type": "ai_languageModel",
"index": 0
},
{
"node": "487deec6-6e2f-4b9d-bfc4-061e62cdcbf9",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"8c4e43cc-51d0-4cd8-a119-671c83bdcd72": {
"main": [
[
{
"node": "14bc464d-fbe0-40f6-93d0-db5cc93d2dea",
"type": "main",
"index": 0
}
]
]
},
"85eb6948-f9bf-462e-9eab-771e3388a896": {
"main": [
[
{
"node": "ccbf6a4d-d8b3-4e22-8cfb-c2ffd99633a2",
"type": "main",
"index": 0
}
]
]
},
"ccbf6a4d-d8b3-4e22-8cfb-c2ffd99633a2": {
"main": [
[
{
"node": "006ac537-2bfe-449a-838d-2fa5d0d2b9f2",
"type": "main",
"index": 1
}
]
]
},
"335aa491-31e3-451e-9f8c-b4ebf5db0337": {
"main": [
[
{
"node": "3e904ef5-1f95-49a3-b3e4-48fa426bbd2d",
"type": "main",
"index": 0
}
]
]
},
"6347fd71-1c54-45ca-aca1-9808e83957c6": {
"main": [
[
{
"node": "b43d3e4c-18ef-4ab1-ae56-ae7d86407b7d",
"type": "main",
"index": 0
}
],
[
{
"node": "12701458-ef9c-49ab-9693-58e5bc5deb64",
"type": "main",
"index": 0
}
]
]
},
"487deec6-6e2f-4b9d-bfc4-061e62cdcbf9": {
"ai_outputParser": [
[
{
"node": "3e904ef5-1f95-49a3-b3e4-48fa426bbd2d",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"90fd180b-c721-45c6-aa7a-04699324406f": {
"main": [
[
{
"node": "dbb427ce-086c-49e9-af06-3fe6945a5548",
"type": "main",
"index": 0
}
]
]
},
"903c7389-6ccf-40a2-a00a-f07332c461d0": {
"main": [
[
{
"node": "85eb6948-f9bf-462e-9eab-771e3388a896",
"type": "main",
"index": 0
}
]
]
},
"b448342b-c28e-4f08-9b7f-c94db3819007": {
"main": [
[
{
"node": "006ac537-2bfe-449a-838d-2fa5d0d2b9f2",
"type": "main",
"index": 0
},
{
"node": "07b32a52-221e-46c1-96c2-c98d290e23a2",
"type": "main",
"index": 0
}
]
]
},
"9934ff53-b1df-4a6d-af05-8c5cdf66cdd4": {
"main": [
[
{
"node": "73772c53-591a-4077-ae95-a9de6c11a292",
"type": "main",
"index": 0
}
]
]
},
"3e904ef5-1f95-49a3-b3e4-48fa426bbd2d": {
"main": [
[
{
"node": "7fe8fca7-cfaa-4d8d-9d5b-e7a8e288ea21",
"type": "main",
"index": 0
}
]
]
},
"c2d0dc8d-4f93-4879-a8e8-90893a866627": {
"main": [
[
{
"node": "5d1715b4-9077-4193-a62a-6e01ec9197fb",
"type": "main",
"index": 0
}
]
]
},
"b163005b-df59-454b-9bca-468ffaee37f8": {
"main": [
[
{
"node": "b448342b-c28e-4f08-9b7f-c94db3819007",
"type": "main",
"index": 1
}
]
]
},
"cc88d7b9-a422-45f7-bc56-ae22fa5d49e9": {
"main": [
[
{
"node": "b448342b-c28e-4f08-9b7f-c94db3819007",
"type": "main",
"index": 0
}
]
]
},
"ff2bdaaf-b7e0-4480-a72c-0d002df0c0d8": {
"main": [
[
{
"node": "4fc5d55c-45fc-4521-9f57-e7e5ba977e9d",
"type": "main",
"index": 0
}
]
]
},
"31186bf1-30aa-4f06-bd38-0e3e0ac14244": {
"ai_languageModel": [
[
{
"node": "7e523dfe-1b4d-487f-840f-7b59c7b2624f",
"type": "ai_languageModel",
"index": 0
},
{
"node": "5bf6f5c1-ced8-43e0-a594-b6224923dbba",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"12701458-ef9c-49ab-9693-58e5bc5deb64": {
"main": [
[
{
"node": "90fd180b-c721-45c6-aa7a-04699324406f",
"type": "main",
"index": 0
}
]
]
},
"b43d3e4c-18ef-4ab1-ae56-ae7d86407b7d": {
"main": [
[
{
"node": "8c4e43cc-51d0-4cd8-a119-671c83bdcd72",
"type": "main",
"index": 0
}
]
]
},
"e782f17b-56eb-4b06-8019-42bcc10985dc": {
"main": [
[
{
"node": "4d2625d2-937d-4ae8-8364-ed11e4b35eba",
"type": "main",
"index": 0
}
]
]
},
"dbb427ce-086c-49e9-af06-3fe6945a5548": {
"main": [
[
{
"node": "b163005b-df59-454b-9bca-468ffaee37f8",
"type": "main",
"index": 0
}
]
]
},
"14bc464d-fbe0-40f6-93d0-db5cc93d2dea": {
"main": [
[
{
"node": "cc88d7b9-a422-45f7-bc56-ae22fa5d49e9",
"type": "main",
"index": 0
}
]
]
},
"ebb8027e-8121-4b6c-a355-c1de7dc2e3f4": {
"main": [
[
{
"node": "6347fd71-1c54-45ca-aca1-9808e83957c6",
"type": "main",
"index": 0
}
]
]
},
"09ebd976-f855-46b2-9f33-343811c7117c": {
"main": [
[
{
"node": "ff2bdaaf-b7e0-4480-a72c-0d002df0c0d8",
"type": "main",
"index": 0
}
]
]
},
"5bf6f5c1-ced8-43e0-a594-b6224923dbba": {
"ai_outputParser": [
[
{
"node": "7e523dfe-1b4d-487f-840f-7b59c7b2624f",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"4d2625d2-937d-4ae8-8364-ed11e4b35eba": {
"main": [
[
{
"node": "7e523dfe-1b4d-487f-840f-7b59c7b2624f",
"type": "main",
"index": 0
}
]
]
},
"7e523dfe-1b4d-487f-840f-7b59c7b2624f": {
"main": [
[
{
"node": "9934ff53-b1df-4a6d-af05-8c5cdf66cdd4",
"type": "main",
"index": 0
},
{
"node": "73772c53-591a-4077-ae95-a9de6c11a292",
"type": "main",
"index": 1
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
OpenAI、ElevenLabs、Fal.ai を使用した動画・パ odcast・ASM R向けのウイルス性コンテンツ自動作成
OpenAI、ElevenLabs、そして Fal.ai を使って動画、ポッドキャスト、ASMR に向けたウイルスのコンテンツ作成を自動化
Set
Code
Wait
+
Set
Code
Wait
97 ノードAdam Crafts
コンテンツ作成
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
OpenAI、RunwayML、ElevenLabsを使って無顔の短い動画を自動化
OpenAI、RunwayML、ElevenLabs を使ってアニメ顔の短い動画を自動化:スクリプトからソーシャルメディアへ
Set
Code
Wait
+
Set
Code
Wait
56 ノードLeeWei
コンテンツ作成
キーワードからGPT-5とfal.ai画像を使ってWordPressまで自動SEOブログ生成のプロセス
GPT-5とfal.ai画像を使用したキーワードからWordPressへのSEOブログ自動化プロセス
Set
Code
Wait
+
Set
Code
Wait
96 ノードPaul
コンテンツ作成
n8nノードの探索(可視化リファレンスライブラリ内)
n8nノードを可視化リファレンスライブラリで探索
If
Ftp
Set
+
If
Ftp
Set
113 ノードI versus AI
その他
毎日の WhatsApp グループ スマート分析:GPT-4.1 による分析と音声メッセージの transcrição
毎日の WhatsApp グループ インタラクティブ分析:GPT-4.1 分析と音声メッセージ文字起こし
If
Set
Code
+
If
Set
Code
52 ノードDaniel Lianes
その他
ワークフロー情報
難易度
上級
ノード数40
カテゴリー2
ノードタイプ18
作成者
Adam Crafts
@adamcraftsAs an experienced AI Agent Builder, I specialize in creating intelligent solutions tailored to enhance automation, streamline operations, and drive innovation. 🛠️ My passion lies in transforming ideas into functional AI agents that deliver tangible results.
外部リンク
n8n.ioで表示 →
このワークフローを共有