OpenAI Vision Bildanalyse mit Binärdaten-Erhalt

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 7 Nodes. Hauptsächlich werden Merge, FormTrigger, Agent, OpenAi, LmChatOpenAi und andere Nodes verwendet. Verwendung von OpenAI Vision zur Analyse von Bildern bei gleichzeitiger Aufbewahrung von Binärdaten für Wiederverwendung

Voraussetzungen
  • 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": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "d49cdb6a-5084-4c00-a40f-062c157a9b3d",
      "name": "Formular-Trigger1",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -928,
        10784
      ],
      "webhookId": "d6f874ec-6cb3-46c7-8507-bd647c2484f0",
      "parameters": {
        "path": "d6f874ec-6cb3-46c7-8507-bd647c2484f0",
        "options": {},
        "formTitle": "Image Document Upload",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "data"
            }
          ]
        },
        "formDescription": "Upload a image document for AI analysis"
      },
      "typeVersion": 2
    },
    {
      "id": "a363370d-851d-4452-ac9a-b0f5d6a7107e",
      "name": "Bild analysieren",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -368,
        10576
      ],
      "parameters": {
        "text": "=data",
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "GPT-4O"
        },
        "options": {},
        "resource": "image",
        "inputType": "base64",
        "operation": "analyze"
      },
      "credentials": {
        "openAiApi": {
          "id": "4l6TDfLZVFS24g3X",
          "name": "OpenAi account 4"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "a0270371-928d-4084-8c07-6ff8936837c0",
      "name": "Zusammenführen1",
      "type": "n8n-nodes-base.merge",
      "position": [
        -160,
        10960
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineByPosition"
      },
      "typeVersion": 3.2
    },
    {
      "id": "76a6e130-ea39-4b6e-8bbd-200c0a57ed99",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        10336
      ],
      "parameters": {
        "color": 7,
        "width": 2144,
        "height": 1056,
        "content": "### 🖼️ Use Binary Field after next step\n\nThis workflow demonstrates how to **preserve and reuse an uploaded file (binary/base64)** after a downstream step by using a **Merge** node (`combineByPosition`). A user uploads an image via **Form Trigger** → the image is analyzed with **OpenAI Vision** → results are **merged back** with the original upload so the next **AI Agent** step can access **both** the original file (`data`) and the first analysis (`content`) at the same time.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "79d53391-5e87-472a-bd08-e5cd7d43a39a",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1728,
        10336
      ],
      "parameters": {
        "width": 400,
        "height": 1056,
        "content": "\n\n## 📬 Contact  \nNeed help customizing this (e.g., filtering by campaign, sending reports by email, or formatting your PDF)?  \n\n- 📧 **rbreen@ynteractive.com**  \n- 🔗 **https://www.linkedin.com/in/robert-breen-29429625/**  \n- 🌐 **https://ynteractive.com**\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f77d1571-f807-48f9-a523-582ffb48f2e5",
      "name": "KI-Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        10880
      ],
      "parameters": {
        "text": "=data\n {{ $json.content }}",
        "options": {
          "systemMessage": "analyze the image again and see if you get the same result. "
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "5bbd5de7-cdaf-4a65-92ad-f29830a710b1",
      "name": "OpenAI-Chat-Modell",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        208,
        11088
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4l6TDfLZVFS24g3X",
          "name": "OpenAi account 4"
        }
      },
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "Merge1": {
      "main": [
        [
          {
            "node": "f77d1571-f807-48f9-a523-582ffb48f2e5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a363370d-851d-4452-ac9a-b0f5d6a7107e": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d49cdb6a-5084-4c00-a40f-062c157a9b3d": {
      "main": [
        [
          {
            "node": "a363370d-851d-4452-ac9a-b0f5d6a7107e",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "f77d1571-f807-48f9-a523-582ffb48f2e5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
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?

Fortgeschritten - 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
Fortgeschritten
Anzahl der Nodes7
Kategorie2
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34