Analyse d'images avec la vision OpenAI et préservation des données binaires
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme Merge, FormTrigger, Agent, OpenAi, LmChatOpenAi. Analyser des images avec OpenAI Vision tout en préservant les données binaires pour une réutilisation
- •Clé API OpenAI
Nœuds utilisés (7)
Catégorie
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "d49cdb6a-5084-4c00-a40f-062c157a9b3d",
"name": "Déclencheur de formulaire1",
"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": "Analyser l'image",
"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": "Fusion1",
"type": "n8n-nodes-base.merge",
"position": [
-160,
10960
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3.2
},
{
"id": "76a6e130-ea39-4b6e-8bbd-200c0a57ed99",
"name": "Note adhésive",
"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": "Note adhésive3",
"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": "Agent IA",
"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 Modèle de chat",
"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": {
"a0270371-928d-4084-8c07-6ff8936837c0": {
"main": [
[
{
"node": "f77d1571-f807-48f9-a523-582ffb48f2e5",
"type": "main",
"index": 0
}
]
]
},
"a363370d-851d-4452-ac9a-b0f5d6a7107e": {
"main": [
[
{
"node": "a0270371-928d-4084-8c07-6ff8936837c0",
"type": "main",
"index": 0
}
]
]
},
"d49cdb6a-5084-4c00-a40f-062c157a9b3d": {
"main": [
[
{
"node": "a363370d-851d-4452-ac9a-b0f5d6a7107e",
"type": "main",
"index": 0
},
{
"node": "a0270371-928d-4084-8c07-6ff8936837c0",
"type": "main",
"index": 1
}
]
]
},
"5bbd5de7-cdaf-4a65-92ad-f29830a710b1": {
"ai_languageModel": [
[
{
"node": "f77d1571-f807-48f9-a523-582ffb48f2e5",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Création de contenu, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Robert Breen
@rbreenProfessional 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.
Partager ce workflow