Créer un assistant de support client automatisé avec GPT-4o et GoHighLevel SMS

Avancé

Ceci est unSupport, AIworkflow d'automatisation du domainecontenant 43 nœuds.Utilise principalement des nœuds comme If, Set, Xml, Html, Wait, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Créer un assistant de support client automatisé avec GPT-4o et GoHighLevel SMS

Prérequis
  • Point de terminaison HTTP Webhook (généré automatiquement par n8n)
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
  • Informations de connexion au serveur Redis
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
{
  "meta": {
    "instanceId": "4e6be3a68285934388a854ac0ffdc5e5500688d5cdb88d0ec2d734e85f097355"
  },
  "nodes": [
    {
      "id": "11fb91ab-7dc6-4cc9-ad1d-d6f10b8b94cc",
      "name": "HTML",
      "type": "n8n-nodes-base.html",
      "position": [
        -2120,
        -40
      ],
      "parameters": {
        "options": {},
        "operation": "extractHtmlContent",
        "dataPropertyName": "body",
        "extractionValues": {
          "values": [
            {
              "key": "raw_text",
              "cssSelector": "body"
            },
            {
              "key": "links",
              "attribute": "href",
              "cssSelector": "a",
              "returnArray": true,
              "returnValue": "attribute"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "3f207160-f88c-499a-b7a6-2d46fca4ca08",
      "name": "Stockage Vectoriel Simple",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        -640,
        -640
      ],
      "parameters": {
        "mode": "insert",
        "memoryKey": "vector_db",
        "clearStore": true
      },
      "typeVersion": 1
    },
    {
      "id": "1e9f2063-8d90-4550-854a-b4b44d030440",
      "name": "Intégrations OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -600,
        -420
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "3wONK02jjm23nMHf",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "30f62b01-9ca9-4ba2-beb5-3475ddb7f728",
      "name": "Chargeur de Données par Défaut",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        -480,
        -420
      ],
      "parameters": {
        "options": {},
        "jsonData": "={{ $json.raw_text }}",
        "jsonMode": "expressionData"
      },
      "typeVersion": 1
    },
    {
      "id": "fa91d999-2caf-47e5-8bb3-1d25ea7cabe5",
      "name": "Séparateur de Texte Récursif",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        -440,
        -300
      ],
      "parameters": {
        "options": {},
        "chunkSize": 300
      },
      "typeVersion": 1
    },
    {
      "id": "392f3e86-e3df-418d-824d-d34e42194609",
      "name": "Agent IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2080,
        1200
      ],
      "parameters": {
        "text": "={{ $('Webhook from GHL - SMS Reply Trigger').item.body.body }}",
        "options": {
          "systemMessage": "=You are a helpful chatbot for {{ $json.website_url }}. Your goal is to assist website visitors by answering their questions based on the information available on the website.\n\nKnowledgebase: \n\nAlways run the 'website_knowledgebase' tool when the user inquires anything about the company."
        },
        "promptType": "define"
      },
      "typeVersion": 1.8
    },
    {
      "id": "6bf869cc-f9b0-411a-abe9-f47798785128",
      "name": "Modèle de Chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2140,
        1420
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "3wONK02jjm23nMHf",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "cf57c3ed-735b-4406-9ea1-933e29ff1e76",
      "name": "Stockage Vectoriel Simple1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        -1900,
        1420
      ],
      "parameters": {
        "mode": "retrieve-as-tool",
        "toolName": "vector_db",
        "memoryKey": "english_center_nl",
        "toolDescription": "Call this tool to get information about the company and it’s products."
      },
      "typeVersion": 1
    },
    {
      "id": "e66e902d-015e-4ac7-83c3-0440fd8c2976",
      "name": "Intégrations OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -1780,
        1580
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "3wONK02jjm23nMHf",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ba793e78-c740-43f9-8e12-089897f2b38e",
      "name": "Séparation",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1580,
        500
      ],
      "parameters": {
        "options": {
          "destinationFieldName": "link"
        },
        "fieldToSplitOut": "links"
      },
      "typeVersion": 1
    },
    {
      "id": "0446402d-cfd3-4e14-a40c-55432c39afdf",
      "name": "Filtre",
      "type": "n8n-nodes-base.filter",
      "position": [
        -1400,
        500
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "af7bf238-6414-4479-a322-4f0283efa628",
              "operator": {
                "type": "string",
                "operation": "startsWith"
              },
              "leftValue": "={{ $json.link }}",
              "rightValue": "/"
            },
            {
              "id": "34cae489-cb26-4162-b487-ce915f83367f",
              "operator": {
                "type": "string",
                "operation": "startsWith"
              },
              "leftValue": "={{ $json.link }}",
              "rightValue": "={{ $('Set Website URL').item.json.website_url }}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "6edec18d-b589-4394-93e5-48b42b90bb17",
      "name": "HTML1",
      "type": "n8n-nodes-base.html",
      "position": [
        360,
        560
      ],
      "parameters": {
        "options": {},
        "operation": "extractHtmlContent",
        "extractionValues": {
          "values": [
            {
              "key": "raw_text",
              "cssSelector": "body"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5f777051-9643-4656-9030-c78efcf2d07a",
      "name": "Mémoire de Chat Redis",
      "type": "@n8n/n8n-nodes-langchain.memoryRedisChat",
      "position": [
        -2020,
        1420
      ],
      "parameters": {
        "sessionKey": "={{ $item(\"0\").$node[\"Webhook from GHL - SMS Reply Trigger\"].json[\"body\"][\"contactId\"] }}",
        "sessionIdType": "customKey",
        "contextWindowLength": 2
      },
      "typeVersion": 1.4
    },
    {
      "id": "ba32dc25-b25a-4694-9b38-85b2d51968cc",
      "name": "Déclencheur Planifié",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -3200,
        -40
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "daysInterval": 4,
              "triggerAtHour": "={{ 12 }}"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e96c0daf-52c6-42f2-94b9-96794b0e29da",
      "name": "BrightData",
      "type": "n8n-nodes-brightdata.brightData",
      "position": [
        -2320,
        -40
      ],
      "parameters": {
        "url": "={{ $json.website_url }}",
        "zone": {
          "__rl": true,
          "mode": "list",
          "value": "web_unlocker1"
        },
        "format": "json",
        "country": {
          "__rl": true,
          "mode": "list",
          "value": "us"
        },
        "requestOptions": {}
      },
      "credentials": {
        "brightdataApi": {
          "id": "DQaiy0yJ0lNutzIl",
          "name": "BrightData account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a0ae9df5-d272-4e63-a7ff-a829b3273672",
      "name": "Définir l'URL du site web",
      "type": "n8n-nodes-base.set",
      "position": [
        -2760,
        -40
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "74c8c4d8-5676-4de7-bd75-954d518eab67",
              "name": "website_url",
              "type": "string",
              "value": "https://yourwebsite.com"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "702aa89b-97ba-48df-a1af-4e6757ac120a",
      "name": "BrightData1",
      "type": "n8n-nodes-brightdata.brightData",
      "position": [
        180,
        560
      ],
      "parameters": {
        "url": "={{ $json.link }}",
        "zone": {
          "__rl": true,
          "mode": "list",
          "value": "web_unlocker1"
        },
        "format": "json",
        "country": {
          "__rl": true,
          "mode": "list",
          "value": "us"
        },
        "requestOptions": {}
      },
      "credentials": {
        "brightdataApi": {
          "id": "DQaiy0yJ0lNutzIl",
          "name": "BrightData account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "20e30736-6407-4a80-a773-7a82ed85ccbe",
      "name": "Envoyer SMS via GHL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1640,
        1200
      ],
      "parameters": {
        "url": "https://services.leadconnectorhq.com/conversations/messages",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "authentication": "predefinedCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "type",
              "value": "SMS"
            },
            {
              "name": "contactId",
              "value": "={{ $('Webhook from GHL - SMS Reply Trigger').item.json.body.contactId }}"
            },
            {
              "name": "message",
              "value": "={{ $json.output }}"
            },
            {
              "name": "toNumber",
              "value": "={{ $('Look Up GHL Contact by ID').item.json.phone }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/json"
            },
            {
              "name": "Version",
              "value": "2021-04-15"
            }
          ]
        },
        "nodeCredentialType": "highLevelOAuth2Api"
      },
      "credentials": {
        "highLevelOAuth2Api": {
          "id": "8K28KN5X0kOOaAU9",
          "name": "HighLevel account"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "c45c8576-2ad5-494b-9f02-f8fcd70890b7",
      "name": "Webhook depuis GHL - Déclencheur de Réponse SMS",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2960,
        1220
      ],
      "webhookId": "54259c33-52c0-4a19-97fe-3414a153f4d6",
      "parameters": {
        "path": "54259c33-52c0-4a19-97fe-3414a153f4d6",
        "options": {},
        "httpMethod": [
          "POST"
        ],
        "multipleMethods": true
      },
      "typeVersion": 2
    },
    {
      "id": "b635091f-ec49-43f0-9630-33dff88d5ecf",
      "name": "Attente",
      "type": "n8n-nodes-base.wait",
      "position": [
        860,
        780
      ],
      "webhookId": "1d1ea2c2-c407-4ab9-be52-5987c7426def",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c5038c4d-6527-48f3-bdf0-afc64affc7aa",
      "name": "Stockage Vectoriel Simple2",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        540,
        560
      ],
      "parameters": {
        "mode": "insert",
        "memoryKey": "vector_db",
        "clearStore": true
      },
      "typeVersion": 1
    },
    {
      "id": "70926e4b-6f62-4f8f-9460-1a506270ce86",
      "name": "Définir l'URL du site web1",
      "type": "n8n-nodes-base.set",
      "position": [
        -2280,
        1200
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "74c8c4d8-5676-4de7-bd75-954d518eab67",
              "name": "website_url",
              "type": "string",
              "value": "https://yourwebsite.com"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f3e71cf8-06ec-4ae9-8678-5c9d23d8e13d",
      "name": "Rechercher le contact GHL par ID",
      "type": "n8n-nodes-base.highLevel",
      "position": [
        -2560,
        1200
      ],
      "parameters": {
        "contactId": "={{ $json.body.contactId }}",
        "operation": "get",
        "requestOptions": {}
      },
      "credentials": {
        "highLevelOAuth2Api": {
          "id": "8K28KN5X0kOOaAU9",
          "name": "HighLevel account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "f8db6542-0032-45f1-8e86-981e95ab1c83",
      "name": "Accès direct à API via HTTP",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2320,
        160
      ],
      "parameters": {
        "url": "https://api.brightdata.com/request",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "zone",
              "value": "web_unlocker1"
            },
            {
              "name": "url",
              "value": "={{ $json.website_url }}"
            },
            {
              "name": "format",
              "value": "json"
            },
            {
              "name": "method",
              "value": "api"
            },
            {
              "name": "product",
              "value": "unlocker"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth",
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "MR4HBU5dH9phpxNO",
          "name": "Bright Data API Key"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "3fa901bf-f2cf-4b69-89c5-55715940f062",
      "name": "Accès direct à API via HTTP1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        180,
        760
      ],
      "parameters": {
        "url": "https://api.brightdata.com/request",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "zone",
              "value": "web_unlocker1"
            },
            {
              "name": "url",
              "value": "={{ $json.website_url }}"
            },
            {
              "name": "format",
              "value": "json"
            },
            {
              "name": "method",
              "value": "api"
            },
            {
              "name": "product",
              "value": "unlocker"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth",
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "MR4HBU5dH9phpxNO",
          "name": "Bright Data API Key"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "4af4ebd0-3d39-4e12-a063-2ce74731f769",
      "name": "Si",
      "type": "n8n-nodes-base.if",
      "position": [
        -2780,
        1220
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "09156710-3e82-42ed-a7a2-045711f92017",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.body.type }}",
              "rightValue": "InboundMessage"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "6ad6a06c-2512-40cc-9be6-00b5c873ac6a",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3020,
        1040
      ],
      "parameters": {
        "color": 5,
        "width": 640,
        "height": 400,
        "content": "## Webhook from GoHighlevel \n\nSet the webhook events from your GoHighLevel Marketplace app, copy the webhook the node, then paste it in app's setting in the GHL app. To learn more about setting up GHL Marketplace app, please refer to this Loom video: https://www.loom.com/share/f32384758de74a4dbb647e0b7962c4ea"
      },
      "typeVersion": 1
    },
    {
      "id": "19685364-38c7-4a43-bdeb-4bf6283d4e42",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2420,
        -180
      ],
      "parameters": {
        "width": 500,
        "height": 540,
        "content": "## Scrape the home page\n\nIf you are using N8N cloud version, you may replace Bright Data node with the HTTP request node and rewire it."
      },
      "typeVersion": 1
    },
    {
      "id": "10d3250e-39e4-4a48-a206-3473f23036f2",
      "name": "Obtenir le fichier XML",
      "type": "n8n-nodes-base.xml",
      "position": [
        -1420,
        80
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "84246cd0-53e5-40aa-9b1d-98c35971258a",
      "name": "Séparer les liens",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1280,
        80
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "urlset.url"
      },
      "typeVersion": 1
    },
    {
      "id": "818840f8-2c73-4fb4-86b3-3288c0b5cb70",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2880,
        -180
      ],
      "parameters": {
        "width": 380,
        "height": 540,
        "content": "## Set the website URL"
      },
      "typeVersion": 1
    },
    {
      "id": "e0df1684-9775-4283-8736-0d6f7eac6c6f",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -780
      ],
      "parameters": {
        "width": 600,
        "height": 660,
        "content": "## Store into a vector database\n\nWarning: This will only save into N8N's memory and it will not be a good in production use. Please consider moving the a dedicated vector database such as Pinecone, Supabase, etc."
      },
      "typeVersion": 1
    },
    {
      "id": "95354954-9d89-4ac9-8a4b-0c75c108e1ba",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1660,
        -40
      ],
      "parameters": {
        "width": 760,
        "height": 320,
        "content": "## Get the website's sitemap\n\nSitemap may not work on all of the website. The alternative is to scrape all the links in a website as shown below. If the sitemap is not working, it will go empty as an error output."
      },
      "typeVersion": 1
    },
    {
      "id": "ded3c52e-a153-4746-b06c-941bdaee33d3",
      "name": "Note adhésive5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1660,
        340
      ],
      "parameters": {
        "width": 600,
        "height": 400,
        "content": "## Extract Links from the homepage\n\nIf the sitemap above is not working, please loop this step for the sub pages\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "64c8af28-45c8-4143-9fe0-c5a8f4a6e41e",
      "name": "Fusionner",
      "type": "n8n-nodes-base.merge",
      "position": [
        -640,
        300
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "1d2e604b-cfff-4773-a264-c68e1af058e6",
      "name": "Supprimer les doublons1",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        -440,
        300
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "ff96e735-6779-466c-9ba0-baa7e12ec16c",
      "name": "Boucler sur les éléments",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -20,
        540
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "dd90fd8d-b1e3-4659-950e-30d0f7be91e0",
      "name": "Modifier les liens",
      "type": "n8n-nodes-base.set",
      "position": [
        -1240,
        500
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "43dbcf0b-b873-48c9-8996-4ad300353318",
              "name": "link",
              "type": "string",
              "value": "={{ $json.link.startsWith(\"/\") ? $('Set Website URL').item.json.website_url + $json.link : $json.link }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "90c8f4bb-a394-466e-97c6-8f7edec738c4",
      "name": "Modifier les liens1",
      "type": "n8n-nodes-base.set",
      "position": [
        -1100,
        80
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "70864ce3-16eb-48b9-90bf-3168df643ae3",
              "name": "link",
              "type": "string",
              "value": "={{ $json.loc }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d0c09704-e158-421e-a463-6e12160371b6",
      "name": "Note adhésive6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        160
      ],
      "parameters": {
        "width": 580,
        "height": 340,
        "content": "## Merge the links from the sitemap and the extracted links from the webpage\nIf the sitemap is not working, remove the merge node or set the node's input into 1.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "fd4a351a-6bfa-4a94-9d3f-7ef2a6cbc3f0",
      "name": "Note adhésive7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        420
      ],
      "parameters": {
        "width": 1200,
        "height": 620,
        "content": "## Scrape each links by batch"
      },
      "typeVersion": 1
    },
    {
      "id": "4c850725-4d09-4a21-bd45-777f4d091a3b",
      "name": "Note adhésive8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2340,
        1040
      ],
      "parameters": {
        "color": 5,
        "width": 900,
        "height": 700,
        "content": "## AI Agent then send the output via SMS in GHL"
      },
      "typeVersion": 1
    },
    {
      "id": "6a622f9d-e4cf-45af-b125-750fc74a6707",
      "name": "Obtenir le sitemap",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        -1600,
        140
      ],
      "parameters": {
        "url": "={{ $('Set Website URL').item.json.website_url }}/post-sitemap.xml",
        "options": {}
      },
      "typeVersion": 4.2
    }
  ],
  "pinData": {},
  "connections": {
    "4af4ebd0-3d39-4e12-a063-2ce74731f769": {
      "main": [
        [
          {
            "node": "f3e71cf8-06ec-4ae9-8678-5c9d23d8e13d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "11fb91ab-7dc6-4cc9-ad1d-d6f10b8b94cc": {
      "main": [
        [
          {
            "node": "3f207160-f88c-499a-b7a6-2d46fca4ca08",
            "type": "main",
            "index": 0
          },
          {
            "node": "6a622f9d-e4cf-45af-b125-750fc74a6707",
            "type": "main",
            "index": 0
          },
          {
            "node": "ba793e78-c740-43f9-8e12-089897f2b38e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b635091f-ec49-43f0-9630-33dff88d5ecf": {
      "main": [
        [
          {
            "node": "ff96e735-6779-466c-9ba0-baa7e12ec16c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6edec18d-b589-4394-93e5-48b42b90bb17": {
      "main": [
        [
          {
            "node": "c5038c4d-6527-48f3-bdf0-afc64affc7aa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "64c8af28-45c8-4143-9fe0-c5a8f4a6e41e": {
      "main": [
        [
          {
            "node": "1d2e604b-cfff-4773-a264-c68e1af058e6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0446402d-cfd3-4e14-a40c-55432c39afdf": {
      "main": [
        [
          {
            "node": "dd90fd8d-b1e3-4659-950e-30d0f7be91e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "392f3e86-e3df-418d-824d-d34e42194609": {
      "main": [
        [
          {
            "node": "20e30736-6407-4a80-a773-7a82ed85ccbe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ba793e78-c740-43f9-8e12-089897f2b38e": {
      "main": [
        [
          {
            "node": "0446402d-cfd3-4e14-a40c-55432c39afdf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e96c0daf-52c6-42f2-94b9-96794b0e29da": {
      "main": [
        [
          {
            "node": "11fb91ab-7dc6-4cc9-ad1d-d6f10b8b94cc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dd90fd8d-b1e3-4659-950e-30d0f7be91e0": {
      "main": [
        [
          {
            "node": "64c8af28-45c8-4143-9fe0-c5a8f4a6e41e",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "702aa89b-97ba-48df-a1af-4e6757ac120a": {
      "main": [
        [
          {
            "node": "6edec18d-b589-4394-93e5-48b42b90bb17",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "90c8f4bb-a394-466e-97c6-8f7edec738c4": {
      "main": [
        [
          {
            "node": "64c8af28-45c8-4143-9fe0-c5a8f4a6e41e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a622f9d-e4cf-45af-b125-750fc74a6707": {
      "main": [
        [
          {
            "node": "10d3250e-39e4-4a48-a206-3473f23036f2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "64c8af28-45c8-4143-9fe0-c5a8f4a6e41e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10d3250e-39e4-4a48-a206-3473f23036f2": {
      "main": [
        [
          {
            "node": "84246cd0-53e5-40aa-9b1d-98c35971258a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff96e735-6779-466c-9ba0-baa7e12ec16c": {
      "main": [
        [],
        [
          {
            "node": "702aa89b-97ba-48df-a1af-4e6757ac120a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a0ae9df5-d272-4e63-a7ff-a829b3273672": {
      "main": [
        [
          {
            "node": "e96c0daf-52c6-42f2-94b9-96794b0e29da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "84246cd0-53e5-40aa-9b1d-98c35971258a": {
      "main": [
        [
          {
            "node": "90c8f4bb-a394-466e-97c6-8f7edec738c4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ba32dc25-b25a-4694-9b38-85b2d51968cc": {
      "main": [
        [
          {
            "node": "a0ae9df5-d272-4e63-a7ff-a829b3273672",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "70926e4b-6f62-4f8f-9460-1a506270ce86": {
      "main": [
        [
          {
            "node": "392f3e86-e3df-418d-824d-d34e42194609",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1e9f2063-8d90-4550-854a-b4b44d030440": {
      "ai_embedding": [
        [
          {
            "node": "3f207160-f88c-499a-b7a6-2d46fca4ca08",
            "type": "ai_embedding",
            "index": 0
          },
          {
            "node": "c5038c4d-6527-48f3-bdf0-afc64affc7aa",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "6bf869cc-f9b0-411a-abe9-f47798785128": {
      "ai_languageModel": [
        [
          {
            "node": "392f3e86-e3df-418d-824d-d34e42194609",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5f777051-9643-4656-9030-c78efcf2d07a": {
      "ai_memory": [
        [
          {
            "node": "392f3e86-e3df-418d-824d-d34e42194609",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "e66e902d-015e-4ac7-83c3-0440fd8c2976": {
      "ai_embedding": [
        [
          {
            "node": "cf57c3ed-735b-4406-9ea1-933e29ff1e76",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "1d2e604b-cfff-4773-a264-c68e1af058e6": {
      "main": [
        [
          {
            "node": "ff96e735-6779-466c-9ba0-baa7e12ec16c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "30f62b01-9ca9-4ba2-beb5-3475ddb7f728": {
      "ai_document": [
        [
          {
            "node": "3f207160-f88c-499a-b7a6-2d46fca4ca08",
            "type": "ai_document",
            "index": 0
          },
          {
            "node": "c5038c4d-6527-48f3-bdf0-afc64affc7aa",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "cf57c3ed-735b-4406-9ea1-933e29ff1e76": {
      "ai_tool": [
        [
          {
            "node": "392f3e86-e3df-418d-824d-d34e42194609",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c5038c4d-6527-48f3-bdf0-afc64affc7aa": {
      "main": [
        [
          {
            "node": "b635091f-ec49-43f0-9630-33dff88d5ecf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f3e71cf8-06ec-4ae9-8678-5c9d23d8e13d": {
      "main": [
        [
          {
            "node": "70926e4b-6f62-4f8f-9460-1a506270ce86",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fa91d999-2caf-47e5-8bb3-1d25ea7cabe5": {
      "ai_textSplitter": [
        [
          {
            "node": "30f62b01-9ca9-4ba2-beb5-3475ddb7f728",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "c45c8576-2ad5-494b-9f02-f8fcd70890b7": {
      "main": [
        [
          {
            "node": "4af4ebd0-3d39-4e12-a063-2ce74731f769",
            "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é - Support, Intelligence Artificielle

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œuds43
Catégorie2
Types de nœuds23
Description de la difficulté

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

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34