RAG complet à partir de PDF avec Mistral OCR

Avancé

Ceci est unAI, IT Opsworkflow d'automatisation du domainecontenant 34 nœuds.Utilise principalement des nœuds comme Set, Code, Wait, GoogleDrive, HttpRequest, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Construire un système RAG pour les documents PDF avec Mistral OCR, Qdrant et l'IA Gemini

Prérequis
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
  • Informations de connexion au serveur Qdrant
  • Clé API Google Gemini
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "IwtOfHq5pZQNDAF0",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Complete RAG from PDF with Mistral OCR",
  "tags": [],
  "nodes": [
    {
      "id": "01a1b5b8-353f-4bfe-8bd0-c5dff1214c86",
      "name": "Mistral Upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        180,
        520
      ],
      "parameters": {
        "url": "https://api.mistral.ai/v1/files",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "purpose",
              "value": "ocr"
            },
            {
              "name": "file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            }
          ]
        },
        "nodeCredentialType": "mistralCloudApi"
      },
      "credentials": {
        "mistralCloudApi": {
          "id": "FydnNvrpqnG0B7ee",
          "name": "Mistral Cloud account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "45267068-bdbc-45d3-bfe9-354cad73285b",
      "name": "Mistral Signed URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        500,
        520
      ],
      "parameters": {
        "url": "=https://api.mistral.ai/v1/files/{{ $json.id }}/url",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "authentication": "predefinedCredentialType",
        "queryParameters": {
          "parameters": [
            {
              "name": "expiry",
              "value": "24"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/json"
            }
          ]
        },
        "nodeCredentialType": "mistralCloudApi"
      },
      "credentials": {
        "mistralCloudApi": {
          "id": "FydnNvrpqnG0B7ee",
          "name": "Mistral Cloud account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "61416fe4-d5d9-4417-9142-461dd6a45fa4",
      "name": "Mistral DOC OCR",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        820,
        520
      ],
      "parameters": {
        "url": "https://api.mistral.ai/v1/ocr",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model\": \"mistral-ocr-latest\",\n  \"document\": {\n    \"type\": \"document_url\",\n    \"document_url\": \"{{ $json.url }}\"\n  },\n  \"include_image_base64\": true\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "mistralCloudApi"
      },
      "credentials": {
        "mistralCloudApi": {
          "id": "FydnNvrpqnG0B7ee",
          "name": "Mistral Cloud account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c45ea050-c65b-48b2-b817-d651c3a0de8a",
      "name": "Lors du clic sur 'Tester le workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -480,
        -300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "db931c73-916e-48ce-af17-cd5ab2e7c64d",
      "name": "Boucle sur les éléments",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1540,
        520
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "76daea49-34f2-4567-8547-4b3d89ce921c",
      "name": "Actualiser la collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -140,
        -300
      ],
      "parameters": {
        "url": "http://QDRANTURL/collections/COLLECTION/points/delete",
        "method": "POST",
        "options": {},
        "jsonBody": "{\n  \"filter\": {}\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "ac7c469e-d0e8-4146-b323-f3948c3331fa",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2320,
        800
      ],
      "parameters": {
        "options": {
          "stripNewLines": false
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "67591961-ef29-4bef-9905-8be18d5e9814",
      "name": "Chargeur de données par défaut",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        2460,
        760
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "54c38164-6492-42d6-8b44-e10bbfdcd807",
      "name": "Séparateur de tokens",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        2560,
        940
      ],
      "parameters": {
        "chunkSize": 400,
        "chunkOverlap": 40
      },
      "typeVersion": 1
    },
    {
      "id": "661137fc-7afa-49a8-900c-a8c7fd63f557",
      "name": "À la réception d'un message chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -480,
        960
      ],
      "webhookId": "97d60090-1717-4195-bf27-2e3c3105b7f8",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "fe971655-b323-4ccf-a6c5-764d7cc3d8bc",
      "name": "Chaîne de questions et réponses",
      "type": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "position": [
        -160,
        960
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.5
    },
    {
      "id": "8806cf11-83e8-4c75-ba96-71a62d1fb632",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -220,
        1160
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-1.5-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "0p34rXqIqy8WuoPg",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8012569d-5e29-4f36-89be-394ac4928194",
      "name": "Récupérateur Vector Store",
      "type": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "position": [
        0,
        1180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f33e13dd-2465-4971-bcbf-d2d9461f5453",
      "name": "Qdrant Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        20,
        1380
      ],
      "parameters": {
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "ocr_mistral_test",
          "cachedResultName": "ocr_mistral_test"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "f864b8c1-8b4f-4116-812a-843aea0347ac",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -100,
        1520
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "48799279-d580-4c3f-ab39-e2da1bf1d577",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        1140,
        520
      ],
      "parameters": {
        "jsCode": "const data = $json.pages;\n\nreturn data.map(entry => ({\n  json: {\n    markdown: entry.markdown\n  }\n}));"
      },
      "typeVersion": 2
    },
    {
      "id": "5c68cd54-3841-46e0-9b2e-05a1188e92c0",
      "name": "Attente",
      "type": "n8n-nodes-base.wait",
      "position": [
        2860,
        540
      ],
      "webhookId": "1000b40d-5dc5-4795-9dd2-8a23653c2b49",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0853153e-33a3-44a8-ab22-c296b7aab892",
      "name": "Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        2380,
        540
      ],
      "parameters": {
        "mode": "insert",
        "options": {
          "collectionConfig": ""
        },
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "ocr_mistral_test",
          "cachedResultName": "ocr_mistral_test"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "4123fa10-ec36-40cd-ad85-b8353479db28",
      "name": "Boucle sur les éléments1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        540,
        -300
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "16fadeb2-5612-421e-8da3-37bed966d966",
      "name": "Exécuter le workflow",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1160,
        -280
      ],
      "parameters": {
        "mode": "each",
        "options": {
          "waitForSubWorkflow": true
        },
        "workflowId": {
          "__rl": true,
          "mode": "list",
          "value": "AdVUaHTE9Jk1KO72",
          "cachedResultName": "Mistral OCR_subworkflow"
        },
        "workflowInputs": {
          "value": {},
          "schema": [],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": true
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "0f61b1ab-45a3-4167-a4f1-baeca03109bd",
      "name": "Lors de l'exécution par un autre workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -460,
        520
      ],
      "parameters": {
        "inputSource": "passthrough"
      },
      "typeVersion": 1.1
    },
    {
      "id": "034fc82c-b13a-4e72-ae86-97676d5b8867",
      "name": "Modifier les champs1",
      "type": "n8n-nodes-base.set",
      "position": [
        860,
        -280
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "ca7c30f2-444d-4551-988d-0f513e5ee4b1",
              "name": "file_id",
              "type": "string",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "0c5d144c-77de-4d3b-a30b-3674ea858f3e",
      "name": "Créer une collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -480,
        -760
      ],
      "parameters": {
        "url": "http://QDRANTURL/collections/COLLECTION",
        "method": "PUT",
        "options": {},
        "jsonBody": "{\n  \"vectors\": {\n    \"size\": 1536,\n    \"distance\": \"Cosine\"  \n  },\n  \"shard_number\": 1,  \n  \"replication_factor\": 1,  \n  \"write_consistency_factor\": 1 \n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "5dab4a20-0daa-43f2-8878-eae8720aa50f",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -820
      ],
      "parameters": {
        "color": 6,
        "width": 880,
        "height": 220,
        "content": "# STEP 1\n\n## Create Qdrant Collection\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "b78c160a-0e73-4fa0-9015-d8b2a249fd33",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -400
      ],
      "parameters": {
        "color": 4,
        "width": 620,
        "height": 520,
        "content": "# STEP 2\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "8988f19e-259b-4e01-833a-f8ed2f89c7d6",
      "name": "Chaîne de synthèse",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        1820,
        140
      ],
      "parameters": {
        "options": {
          "summarizationMethodAndPrompts": {
            "values": {
              "prompt": "Write a concise summary of the following (in italiano):\n\n\n\"{text}\"\n\n\nCONCISE SUMMARY:",
              "combineMapPrompt": "Write a concise summary of the following (in italiano):\n\n\n\"{text}\"\n\n\nCONCISE SUMMARY:"
            }
          }
        }
      },
      "typeVersion": 2
    },
    {
      "id": "b7581380-5431-42f1-b4de-279faf4bdf16",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1840,
        320
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash-exp"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "0p34rXqIqy8WuoPg",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "037896c0-7561-4ca1-9130-adc1175408b5",
      "name": "Définir la page",
      "type": "n8n-nodes-base.set",
      "position": [
        2000,
        540
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "189f4944-a692-423c-bc6d-76747e1d04df",
              "name": "text",
              "type": "string",
              "value": "={{ $json.markdown }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "06444ac1-382a-41df-8ff7-a1a5fea9e6ec",
      "name": "Définir le résumé",
      "type": "n8n-nodes-base.set",
      "position": [
        2180,
        140
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "189f4944-a692-423c-bc6d-76747e1d04df",
              "name": "text",
              "type": "string",
              "value": "={{ $json.response.text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "00bd51e2-a969-415a-9fca-f67bf9df96dc",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1760,
        20
      ],
      "parameters": {
        "width": 600,
        "height": 680,
        "content": "## STEP 3\nIf you want a \"light\" and faster rag with the main contents replace the \"Set page\" node with \"Summarization Chain\""
      },
      "typeVersion": 1
    },
    {
      "id": "da71f8f9-bff9-48e1-b2e4-9fbbe7ac8924",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        960
      ],
      "parameters": {
        "color": 2,
        "width": 500,
        "height": 120,
        "content": "## STEP 4\nTest the RAG"
      },
      "typeVersion": 1
    },
    {
      "id": "b0c57120-6b07-4823-9341-c3f42ca313f5",
      "name": "Rechercher les PDFs",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        200,
        -300
      ],
      "parameters": {
        "filter": {
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "1LWVo3yn_1bWQJsLskBIbWTGwlfObvtUK",
            "cachedResultUrl": "https://drive.google.com/drive/folders/1LWVo3yn_1bWQJsLskBIbWTGwlfObvtUK",
            "cachedResultName": "PDFs"
          }
        },
        "options": {},
        "resource": "fileFolder"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "26990fbc-3315-42d5-948d-3b670e7d4f84",
      "name": "Obtenir PDF",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -140,
        520
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.file_id }}"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "013e49fe-7ee2-4d24-b640-dda63fa034b3",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -1080
      ],
      "parameters": {
        "width": 1140,
        "height": 140,
        "content": "## Complete RAG system from PDF Documents with Mistral OCR, Qdrant and Gemini AI\n\nThis workflow is designed to process PDF documents using Mistral's OCR capabilities, store the extracted text in a Qdrant vector database, and enable Retrieval-Augmented Generation (RAG) for answering questions. "
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "45bfd9c5-ea80-49f9-bc3a-d2719a16b363",
  "connections": {
    "48799279-d580-4c3f-ab39-e2da1bf1d577": {
      "main": [
        [
          {
            "node": "db931c73-916e-48ce-af17-cd5ab2e7c64d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5c68cd54-3841-46e0-9b2e-05a1188e92c0": {
      "main": [
        [
          {
            "node": "db931c73-916e-48ce-af17-cd5ab2e7c64d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "26990fbc-3315-42d5-948d-3b670e7d4f84": {
      "main": [
        [
          {
            "node": "01a1b5b8-353f-4bfe-8bd0-c5dff1214c86",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "037896c0-7561-4ca1-9130-adc1175408b5": {
      "main": [
        [
          {
            "node": "0853153e-33a3-44a8-ab22-c296b7aab892",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b0c57120-6b07-4823-9341-c3f42ca313f5": {
      "main": [
        [
          {
            "node": "4123fa10-ec36-40cd-ad85-b8353479db28",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "034fc82c-b13a-4e72-ae86-97676d5b8867": {
      "main": [
        [
          {
            "node": "16fadeb2-5612-421e-8da3-37bed966d966",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "01a1b5b8-353f-4bfe-8bd0-c5dff1214c86": {
      "main": [
        [
          {
            "node": "45267068-bdbc-45d3-bfe9-354cad73285b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "54c38164-6492-42d6-8b44-e10bbfdcd807": {
      "ai_textSplitter": [
        [
          {
            "node": "67591961-ef29-4bef-9905-8be18d5e9814",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "db931c73-916e-48ce-af17-cd5ab2e7c64d": {
      "main": [
        [],
        [
          {
            "node": "037896c0-7561-4ca1-9130-adc1175408b5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "61416fe4-d5d9-4417-9142-461dd6a45fa4": {
      "main": [
        [
          {
            "node": "48799279-d580-4c3f-ab39-e2da1bf1d577",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "16fadeb2-5612-421e-8da3-37bed966d966": {
      "main": [
        [
          {
            "node": "4123fa10-ec36-40cd-ad85-b8353479db28",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4123fa10-ec36-40cd-ad85-b8353479db28": {
      "main": [
        [],
        [
          {
            "node": "034fc82c-b13a-4e72-ae86-97676d5b8867",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ac7c469e-d0e8-4146-b323-f3948c3331fa": {
      "ai_embedding": [
        [
          {
            "node": "0853153e-33a3-44a8-ab22-c296b7aab892",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "f864b8c1-8b4f-4116-812a-843aea0347ac": {
      "ai_embedding": [
        [
          {
            "node": "f33e13dd-2465-4971-bcbf-d2d9461f5453",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "45267068-bdbc-45d3-bfe9-354cad73285b": {
      "main": [
        [
          {
            "node": "61416fe4-d5d9-4417-9142-461dd6a45fa4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "76daea49-34f2-4567-8547-4b3d89ce921c": {
      "main": [
        [
          {
            "node": "b0c57120-6b07-4823-9341-c3f42ca313f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "67591961-ef29-4bef-9905-8be18d5e9814": {
      "ai_document": [
        [
          {
            "node": "0853153e-33a3-44a8-ab22-c296b7aab892",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "0853153e-33a3-44a8-ab22-c296b7aab892": {
      "main": [
        [
          {
            "node": "5c68cd54-3841-46e0-9b2e-05a1188e92c0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8988f19e-259b-4e01-833a-f8ed2f89c7d6": {
      "main": [
        [
          {
            "node": "06444ac1-382a-41df-8ff7-a1a5fea9e6ec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f33e13dd-2465-4971-bcbf-d2d9461f5453": {
      "ai_vectorStore": [
        [
          {
            "node": "8012569d-5e29-4f36-89be-394ac4928194",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "8012569d-5e29-4f36-89be-394ac4928194": {
      "ai_retriever": [
        [
          {
            "node": "fe971655-b323-4ccf-a6c5-764d7cc3d8bc",
            "type": "ai_retriever",
            "index": 0
          }
        ]
      ]
    },
    "8806cf11-83e8-4c75-ba96-71a62d1fb632": {
      "ai_languageModel": [
        [
          {
            "node": "fe971655-b323-4ccf-a6c5-764d7cc3d8bc",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "b7581380-5431-42f1-b4de-279faf4bdf16": {
      "ai_languageModel": [
        [
          {
            "node": "8988f19e-259b-4e01-833a-f8ed2f89c7d6",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "661137fc-7afa-49a8-900c-a8c7fd63f557": {
      "main": [
        [
          {
            "node": "fe971655-b323-4ccf-a6c5-764d7cc3d8bc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0f61b1ab-45a3-4167-a4f1-baeca03109bd": {
      "main": [
        [
          {
            "node": "26990fbc-3315-42d5-948d-3b670e7d4f84",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c45ea050-c65b-48b2-b817-d651c3a0de8a": {
      "main": [
        [
          {
            "node": "76daea49-34f2-4567-8547-4b3d89ce921c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

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é ?

Avancé - Intelligence Artificielle, Opérations IT

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.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds34
Catégorie2
Types de nœuds19
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34