KI-generierte Meta-Werbeaktionen aus Produkt-URLs mit OpenAI und Firecrawl erstellen

Experte

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 40 Nodes. Hauptsächlich werden If, Set, Code, Wait, Merge und andere Nodes verwendet. Erstelle KI-generierte Meta-Werbekampagnen mit OpenAI und Firecrawl aus Produkt-URLs

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • OpenAI API Key
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "2d54f61dfd963457efb86a8690aae457934e92fb9e4b8b6490ca74fc37094458",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "7fe8fca7-cfaa-4d8d-9d5b-e7a8e288ea21",
      "name": "Split",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1504,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c2d0dc8d-4f93-4879-a8e8-90893a866627",
      "name": "Platform Adapter",
      "type": "n8n-nodes-base.code",
      "position": [
        1728,
        400
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5d1715b4-9077-4193-a62a-6e01ec9197fb",
      "name": "Batch",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1952,
        400
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "9c4f6edb-e4ed-4ad4-9353-c4bb6a4d333d",
      "name": "Warten",
      "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 Ad Form Submission",
      "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": "Open AI Generate Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2400,
        400
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ff2bdaaf-b7e0-4480-a72c-0d002df0c0d8",
      "name": "B64 String to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2608,
        400
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "335aa491-31e3-451e-9f8c-b4ebf5db0337",
      "name": "Creative Brief",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        704,
        400
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1.8
    },
    {
      "id": "4d2625d2-937d-4ae8-8364-ed11e4b35eba",
      "name": "Scrape a url and get its content",
      "type": "@mendable/n8n-nodes-firecrawl.firecrawl",
      "position": [
        -416,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "31186bf1-30aa-4f06-bd38-0e3e0ac14244",
      "name": "OpenAI-Chat-Modell2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -128,
        624
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5bf6f5c1-ced8-43e0-a594-b6224923dbba",
      "name": "Structured Output Parser1",
      "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": "Analyze Product1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        256,
        336
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1.8
    },
    {
      "id": "73772c53-591a-4077-ae95-a9de6c11a292",
      "name": "Zusammenführen1",
      "type": "n8n-nodes-base.merge",
      "position": [
        480,
        400
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "b43d3e4c-18ef-4ab1-ae56-ae7d86407b7d",
      "name": "Upload Video to FB",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2640,
        -48
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "14bc464d-fbe0-40f6-93d0-db5cc93d2dea",
      "name": "Create Video Creative",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3088,
        -48
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6347fd71-1c54-45ca-aca1-9808e83957c6",
      "name": "Is it a Video?",
      "type": "n8n-nodes-base.if",
      "onError": "continueRegularOutput",
      "position": [
        2416,
        48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "12701458-ef9c-49ab-9693-58e5bc5deb64",
      "name": "Upload Image to FB",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2640,
        144
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "dbb427ce-086c-49e9-af06-3fe6945a5548",
      "name": "Create Image Creative",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3088,
        144
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b448342b-c28e-4f08-9b7f-c94db3819007",
      "name": "Zusammenführen Creatives",
      "type": "n8n-nodes-base.merge",
      "position": [
        3536,
        48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "903c7389-6ccf-40a2-a00a-f07332c461d0",
      "name": "Create Campaign",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3984,
        128
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "07b32a52-221e-46c1-96c2-c98d290e23a2",
      "name": "Run Once",
      "type": "n8n-nodes-base.function",
      "position": [
        3760,
        128
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "85eb6948-f9bf-462e-9eab-771e3388a896",
      "name": "Create Ad Setzen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4208,
        128
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "13831042-6416-47cb-943d-1e8277772842",
      "name": "Create Ad",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4880,
        48
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8c4e43cc-51d0-4cd8-a119-671c83bdcd72",
      "name": "Setzen Video ID",
      "type": "n8n-nodes-base.set",
      "position": [
        2864,
        -48
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "90fd180b-c721-45c6-aa7a-04699324406f",
      "name": "Setzen Image Hash",
      "type": "n8n-nodes-base.set",
      "position": [
        2864,
        144
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b163005b-df59-454b-9bca-468ffaee37f8",
      "name": "Setzen Image Packet",
      "type": "n8n-nodes-base.set",
      "position": [
        3312,
        144
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "cc88d7b9-a422-45f7-bc56-ae22fa5d49e9",
      "name": "Setzen Video Packet",
      "type": "n8n-nodes-base.set",
      "position": [
        3312,
        -48
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ccbf6a4d-d8b3-4e22-8cfb-c2ffd99633a2",
      "name": "Save Adset Id",
      "type": "n8n-nodes-base.set",
      "position": [
        4432,
        128
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "006ac537-2bfe-449a-838d-2fa5d0d2b9f2",
      "name": "Zusammenführen2",
      "type": "n8n-nodes-base.merge",
      "position": [
        4656,
        48
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "ebb8027e-8121-4b6c-a355-c1de7dc2e3f4",
      "name": "Configuration Meta Ads",
      "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": "Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1136,
        416
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "3e904ef5-1f95-49a3-b3e4-48fa426bbd2d",
      "name": "Generate Ad Camp",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1056,
        192
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "4fc5d55c-45fc-4521-9f57-e7e5ba977e9d",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        2832,
        400
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f8308103-624c-47f2-94d0-8fbc9d222189",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1e46640c-a9e9-479c-b0e2-6e480a4ccd5f",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -448,
        784
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1140b891-81dd-4e51-b2b7-00b8843e87be",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5ae1462-dd0e-4fbd-9dac-edbacfa8ba8a",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1984,
        656
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "31de7168-a3f9-4036-b28a-9c9d32c3fc0b",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3088,
        -352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Wait": {
      "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": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7fe8fca7-cfaa-4d8d-9d5b-e7a8e288ea21": {
      "main": [
        [
          {
            "node": "c2d0dc8d-4f93-4879-a8e8-90893a866627",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "335aa491-31e3-451e-9f8c-b4ebf5db0337",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge2": {
      "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
          }
        ]
      ]
    },
    "Set Video ID": {
      "main": [
        [
          {
            "node": "14bc464d-fbe0-40f6-93d0-db5cc93d2dea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Ad Set": {
      "main": [
        [
          {
            "node": "ccbf6a4d-d8b3-4e22-8cfb-c2ffd99633a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ccbf6a4d-d8b3-4e22-8cfb-c2ffd99633a2": {
      "main": [
        [
          {
            "node": "Merge2",
            "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
          }
        ]
      ]
    },
    "Set Image Hash": {
      "main": [
        [
          {
            "node": "dbb427ce-086c-49e9-af06-3fe6945a5548",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "903c7389-6ccf-40a2-a00a-f07332c461d0": {
      "main": [
        [
          {
            "node": "Create Ad Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Creatives": {
      "main": [
        [
          {
            "node": "Merge2",
            "type": "main",
            "index": 0
          },
          {
            "node": "07b32a52-221e-46c1-96c2-c98d290e23a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9934ff53-b1df-4a6d-af05-8c5cdf66cdd4": {
      "main": [
        [
          {
            "node": "Merge1",
            "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
          }
        ]
      ]
    },
    "Set Image Packet": {
      "main": [
        [
          {
            "node": "Merge Creatives",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Set Video Packet": {
      "main": [
        [
          {
            "node": "Merge Creatives",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff2bdaaf-b7e0-4480-a72c-0d002df0c0d8": {
      "main": [
        [
          {
            "node": "4fc5d55c-45fc-4521-9f57-e7e5ba977e9d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "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": "Set Image Hash",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b43d3e4c-18ef-4ab1-ae56-ae7d86407b7d": {
      "main": [
        [
          {
            "node": "Set Video ID",
            "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": "Set Image Packet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "14bc464d-fbe0-40f6-93d0-db5cc93d2dea": {
      "main": [
        [
          {
            "node": "Set Video Packet",
            "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": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes40
Kategorie2
Node-Typen18
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
Adam Crafts

Adam Crafts

@adamcrafts

As 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.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34