GPT-4o と GoHighLevel SMS を使用して自動化されたカスタマーサポートアシスタントを作成

上級

これはSupport, AI分野の自動化ワークフローで、43個のノードを含みます。主にIf, Set, Xml, Html, Waitなどのノードを使用、AI技術を活用したスマート自動化を実現。 GPT-4oとGoHighLevel SMSを使って自動化されたカスタマーサポートアシスタントを作成

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
  • Redisサーバー接続情報
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "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": "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": "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": "Default Data Loader",
      "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": "再帰的文字テキストスプリッター",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        -440,
        -300
      ],
      "parameters": {
        "options": {},
        "chunkSize": 300
      },
      "typeVersion": 1
    },
    {
      "id": "392f3e86-e3df-418d-824d-d34e42194609",
      "name": "AI エージェント",
      "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": "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": "Simple ベクトルストア1",
      "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": "OpenAI 埋め込み1",
      "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": "分割出力",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1580,
        500
      ],
      "parameters": {
        "options": {
          "destinationFieldName": "link"
        },
        "fieldToSplitOut": "links"
      },
      "typeVersion": 1
    },
    {
      "id": "0446402d-cfd3-4e14-a40c-55432c39afdf",
      "name": "フィルター",
      "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": "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": "スケジュールトリガー",
      "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": "設定 Website URL",
      "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": "Send 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 トリガー from GHL - SMS Reply Trigger",
      "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": "待機",
      "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": "Simple ベクトルストア2",
      "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": "設定 Website URL1",
      "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": "Look Up GHL Contact by 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": "Direct API access 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": "Direct API access 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": "If",
      "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": "付箋",
      "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": "付箋1",
      "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": "Get XML file",
      "type": "n8n-nodes-base.xml",
      "position": [
        -1420,
        80
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "84246cd0-53e5-40aa-9b1d-98c35971258a",
      "name": "Split out links",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1280,
        80
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "urlset.url"
      },
      "typeVersion": 1
    },
    {
      "id": "818840f8-2c73-4fb4-86b3-3288c0b5cb70",
      "name": "付箋2",
      "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": "付箋3",
      "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": "付箋4",
      "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": "付箋5",
      "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": "マージ",
      "type": "n8n-nodes-base.merge",
      "position": [
        -640,
        300
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "1d2e604b-cfff-4773-a264-c68e1af058e6",
      "name": "重複削除1",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        -440,
        300
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "ff96e735-6779-466c-9ba0-baa7e12ec16c",
      "name": "ループ処理",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -20,
        540
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "dd90fd8d-b1e3-4659-950e-30d0f7be91e0",
      "name": "Edit Links",
      "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": "Edit Links1",
      "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": "付箋6",
      "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": "付箋7",
      "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": "付箋8",
      "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": "Get 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": "Simple Vector Store",
            "type": "main",
            "index": 0
          },
          {
            "node": "6a622f9d-e4cf-45af-b125-750fc74a6707",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6edec18d-b589-4394-93e5-48b42b90bb17": {
      "main": [
        [
          {
            "node": "Simple Vector Store2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Remove Duplicates1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "dd90fd8d-b1e3-4659-950e-30d0f7be91e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "20e30736-6407-4a80-a773-7a82ed85ccbe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Filter",
            "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": "Merge",
            "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": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a622f9d-e4cf-45af-b125-750fc74a6707": {
      "main": [
        [
          {
            "node": "10d3250e-39e4-4a48-a206-3473f23036f2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10d3250e-39e4-4a48-a206-3473f23036f2": {
      "main": [
        [
          {
            "node": "84246cd0-53e5-40aa-9b1d-98c35971258a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "702aa89b-97ba-48df-a1af-4e6757ac120a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Website URL": {
      "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
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Set Website URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Website URL1": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Simple Vector Store",
            "type": "ai_embedding",
            "index": 0
          },
          {
            "node": "Simple Vector Store2",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Redis Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Simple Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Remove Duplicates1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "30f62b01-9ca9-4ba2-beb5-3475ddb7f728": {
      "ai_document": [
        [
          {
            "node": "Simple Vector Store",
            "type": "ai_document",
            "index": 0
          },
          {
            "node": "Simple Vector Store2",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Simple Vector Store1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Vector Store2": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f3e71cf8-06ec-4ae9-8678-5c9d23d8e13d": {
      "main": [
        [
          {
            "node": "Set Website URL1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "30f62b01-9ca9-4ba2-beb5-3475ddb7f728",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Webhook from GHL - SMS Reply Trigger": {
      "main": [
        [
          {
            "node": "4af4ebd0-3d39-4e12-a063-2ce74731f769",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - サポート, 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数43
カテゴリー2
ノードタイプ23
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34