{
  "nodes": [
    {
      "id": "77ee6494-4898-47dc-81d9-35daf6f0beea",
      "name": "WhatsApp Trigger",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        1360,
        -280
      ],
      "parameters": {
        "updates": [
          "messages"
        ]
      },
      "credentials": {
        "whatsAppTriggerApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "57210e27-1f89-465a-98cc-43f890a4bf58",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1960,
        -200
      ],
      "parameters": {
        "model": "gpt-4o-2024-08-06",
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e1053235-0ade-4e36-9ad2-8b29c78fced8",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2080,
        -200
      ],
      "parameters": {
        "sessionKey": "=whatsapp-75-{{ $json.messages[0].from }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.2
    },
    {
      "id": "69f1b78b-7c93-4713-863a-27e04809996f",
      "name": "Vector Store Tool",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        2200,
        -200
      ],
      "parameters": {
        "name": "query_product_brochure",
        "description": "Call this tool to query the product brochure. Valid for the year 2024."
      },
      "typeVersion": 1
    },
    {
      "id": "170e8f7d-7e14-48dd-9f80-5352cc411fc1",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2200,
        80
      ],
      "parameters": {
        "model": "text-embedding-3-small",
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ee78320b-d407-49e8-b4b8-417582a44709",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2440,
        -60
      ],
      "parameters": {
        "model": "gpt-4o-2024-08-06",
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9dd89378-5acf-4ca6-8d84-e6e64254ed02",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e68fc137-1bcb-43f0-b597-3ae07f380c15",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        760,
        -20
      ],
      "parameters": {
        "model": "text-embedding-3-small",
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2d31e92b-18d4-4f6b-8cdb-bed0056d50d7",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        900,
        -20
      ],
      "parameters": {
        "options": {},
        "jsonData": "={{ $('Extract from File').item.json.text }}",
        "jsonMode": "expressionData"
      },
      "typeVersion": 1
    },
    {
      "id": "ca0c015e-fba2-4dca-b0fe-bac66681725a",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        900,
        100
      ],
      "parameters": {
        "options": {},
        "chunkSize": 2000,
        "chunkOverlap": {}
      },
      "typeVersion": 1
    },
    {
      "id": "63abb6b2-b955-4e65-9c63-3211dca65613",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        360,
        -240
      ],
      "parameters": {
        "options": {},
        "operation": "pdf"
      },
      "typeVersion": 1
    },
    {
      "id": "be2add9c-3670-4196-8c38-82742bf4f283",
      "name": "get Product Brochure",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        180,
        -240
      ],
      "parameters": {
        "url": "https://usa.yamaha.com/files/download/brochure/1/1474881/Yamaha-Powered-Loudspeakers-brochure-2024-en-web.pdf",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "1ae5a311-36d7-4454-ab14-6788d1331780",
      "name": "Reply To User",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        2820,
        -280
      ],
      "parameters": {
        "textBody": "={{ $json.output }}",
        "operation": "send",
        "phoneNumberId": "477115632141067",
        "requestOptions": {},
        "additionalFields": {
          "previewUrl": false
        },
        "recipientPhoneNumber": "={{ $('WhatsApp Trigger').item.json.messages[0].from }}"
      },
      "credentials": {
        "whatsAppApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b6efba81-18b0-4378-bb91-51f39ca57f3e",
      "name": "Reply To User1",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1760,
        80
      ],
      "parameters": {
        "textBody": "=I'm unable to process non-text messages. Please send only text messages. Thanks!",
        "operation": "send",
        "phoneNumberId": "477115632141067",
        "requestOptions": {},
        "additionalFields": {
          "previewUrl": false
        },
        "recipientPhoneNumber": "={{ $('WhatsApp Trigger').item.json.messages[0].from }}"
      },
      "credentials": {
        "whatsAppApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "52decd86-ac6c-4d91-a938-86f93ec5f822",
      "name": "Product Catalogue",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        2200,
        -60
      ],
      "parameters": {
        "memoryKey": "whatsapp-75"
      },
      "typeVersion": 1
    },
    {
      "id": "6dd5a652-2464-4ab8-8e5f-568529299523",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -88.75,
        -473.4375
      ],
      "parameters": {
        "color": 7,
        "width": 640.4375,
        "height": 434.6875,
        "content": "## 1. \uc81c\ud488 \ube0c\ub85c\uc288\uc5b4 PDF \ub2e4\uc6b4\ub85c\ub4dc  \n[HTTP Request Tool\uc5d0 \ub300\ud574 \ub354 \uc77d\uae30](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest)  \n\n\ub9c8\ucf00\ud305 PDF \ubb38\uc11c\ub97c \uac00\uc838\uc640 \ubca1\ud130 \uc800\uc7a5\uc18c\ub97c \uad6c\ucd95\ud558\uc138\uc694. \uc774\ub294 Sales AI Agent\uc758 \uc9c0\uc2dd\ubca0\uc774\uc2a4\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.  \n\n\uc774 \ub370\ubaa8\ub97c \uc704\ud574, HTTP request \ub178\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec YAMAHA POWERED LOUDSPEAKERS 2024 \ube0c\ub85c\uc288\uc5b4\ub97c \uac00\uc838\uc624\uace0, Extract from File \ub178\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud14d\uc2a4\ud2b8 \ub0b4\uc6a9\uc744 \ucd94\ucd9c\ud558\uaca0\uc2b5\ub2c8\ub2e4. ([Source](https://usa.yamaha.com/files/download/brochure/1/1474881/Yamaha-Powered-Loudspeakers-brochure-2024-en-web.pdf))"
      },
      "typeVersion": 1
    },
    {
      "id": "116663bc-d8d6-41a5-93dc-b219adbb2235",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        -476
      ],
      "parameters": {
        "color": 7,
        "width": 614.6875,
        "height": 731.1875,
        "content": "## 2. \uc81c\ud488 \ube0c\ub85c\uc288\uc5b4 \ubca1\ud130 \uc2a4\ud1a0\uc5b4 \ub9cc\ub4e4\uae30\n\n[In-Memory Vector Store\uc5d0 \ub300\ud574 \ub354 \uc77d\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.vectorstoreinmemory/)\n\n\ubca1\ud130 \uc2a4\ud1a0\uc5b4\ub294 \uc0ac\uc6a9\uc790\uc758 \uc9c8\ubb38\uc744 \ubb38\uc11c\uc758 \uad00\ub828 \ubd80\ubd84\uacfc \ub9e4\uce6d\ud558\ub294 \ubaa9\uc801\uc73c\ub85c \uc0ac\uc6a9\ub418\ub294 \uac15\ub825\ud55c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc785\ub2c8\ub2e4. \uc6b0\ub9ac \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8\uc758 \ubca1\ud130 \uc2a4\ud1a0\uc5b4\ub97c \uc0dd\uc131\ud558\uc5ec \uc0ac\uc6a9\uc790\uac00 \uc790\uc5f0\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucffc\ub9ac\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4.\n\n\uac04\ub2e8\ud558\uac8c \ud558\uae30 \uc704\ud574, n8n\uc5d0 \ub0b4\uc7a5\ub418\uc5b4 \uc788\uace0 \ubcc4\ub3c4\uc758 \uc11c\ube44\uc2a4\ub97c \ud544\uc694\ud558\uc9c0 \uc54a\uc740 **In-memory Vector Store**\ub97c \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. \ud504\ub85c\ub355\uc158 \ubc30\ud3ec\uc758 \uacbd\uc6b0, in-memory vector store\ub97c [Qdrant](https://qdrant.tech) \ub610\ub294 [Pinecone](https://pinecone.io)\ub85c \uad50\uccb4\ud558\ub294 \uac83\uc744 \ucd94\ucc9c\ud569\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "86bd5334-d735-4650-aeff-06230119d705",
      "name": "Create Product Catalogue",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        760,
        -200
      ],
      "parameters": {
        "mode": "insert",
        "memoryKey": "whatsapp-75",
        "clearStore": true
      },
      "typeVersion": 1
    },
    {
      "id": "b8078b0d-cbd7-423f-bb30-13902988be38",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1254,
        -552
      ],
      "parameters": {
        "color": 7,
        "width": 546.6875,
        "height": 484.1875,
        "content": "## 3. WhatsApp \ud2b8\ub9ac\uac70 \uc0ac\uc6a9\n\n[WhatsApp \ud2b8\ub9ac\uac70\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.whatsapptrigger/)\n\nWhatsApp \ud2b8\ub9ac\uac70\ub97c \uc0ac\uc6a9\ud558\uba74 \uace0\uac1d\uc73c\ub85c\ubd80\ud130 \ub4e4\uc5b4\uc624\ub294 WhatsApp \uba54\uc2dc\uc9c0\ub97c \ubc1b\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc124\uc815\uc774 \uc57d\uac04 \ud544\uc694\ud558\ubbc0\ub85c \ubb38\uc11c\ub97c \uc8fc\uc758 \uae4a\uac8c \ub530\ub974\uc138\uc694! \uc900\ube44\ub418\uba74 \uac15\ub825\ud55c \uc6cc\ud06c\ud50c\ub85c\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\uc73c\uba70, \uc0ac\uc6a9\uc790\uac00 \uc27d\uac8c \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\nWhatsApp\uc740 \uc624\ub514\uc624 \ubc0f \ube44\ub514\uc624\uc640 \uac19\uc740 \ub2e4\uc591\ud55c \uba54\uc2dc\uc9c0 \uc720\ud615\uc744 \ubcf4\ub0bc \uc218 \uc788\uc73c\ubbc0\ub85c, \uc774 \ub370\ubaa8\uc5d0\uc11c \uc6b0\ub9ac\ub294 \uc774\ub97c \ud544\ud130\ub9c1\ud558\uace0 \ud14d\uc2a4\ud2b8 \uba54\uc2dc\uc9c0\ub9cc \uc218\ub77d\ud560 \uac83\uc785\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "5bf7ed07-282b-4198-aa90-3e5ae5180404",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        280
      ],
      "parameters": {
        "width": 338,
        "height": 92,
        "content": "\ubaa8\ub4e0 \uba54\uc2dc\uc9c0 \uc720\ud615\uc744 \ucc98\ub9ac\ud558\uace0 \uc2f6\uc73c\uc2e0\uac00\uc694? \ub0b4 \ub2e4\ub978 WhatsApp \ud15c\ud50c\ub9bf\uc744 \ub0b4 \ud06c\ub9ac\uc5d0\uc774\ud130 \ud398\uc774\uc9c0\uc5d0\uc11c \ud655\uc778\ud558\uc138\uc694! https://n8n.io/creators/jimleuk/"
      },
      "typeVersion": 1
    },
    {
      "id": "a3661b59-25d2-446e-8462-32b4d692b69d",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        -40
      ],
      "parameters": {
        "color": 7,
        "width": 337.6875,
        "height": 311.1875,
        "content": "3a. \uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uba54\uc2dc\uc9c0 \uc720\ud615 \ucc98\ub9ac  \n\ud14d\uc2a4\ud2b8\uac00 \uc544\ub2cc \uba54\uc2dc\uc9c0\uc758 \uacbd\uc6b0, \ubcf4\ub0b8 \uc0ac\ub78c\uc5d0\uac8c \uc54c\ub9ac\uae30 \uc704\ud574 \uac04\ub2e8\ud55c \uba54\uc2dc\uc9c0\ub85c \ub2f5\uc7a5\ud558\uaca0\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "ea3c9ee1-505a-40e7-82fe-9169bdbb80af",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        -682.5
      ],
      "parameters": {
        "color": 7,
        "width": 746.6875,
        "height": 929.1875,
        "content": "## 4. \ud310\ub9e4 AI \uc5d0\uc774\uc804\ud2b8\uac00 \uace0\uac1d\uc5d0\uac8c \uc751\ub2f5\ud569\ub2c8\ub2e4\n\n[AI \uc5d0\uc774\uc804\ud2b8 \uc0ac\uc6a9\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/)\n\nn8n\uc758 AI \uc5d0\uc774\uc804\ud2b8\ub294 \uac15\ub825\ud55c \ub178\ub4dc\ub85c, \ucd5c\ucca8\ub2e8 AI\ub97c \uc6cc\ud06c\ud50c\ub85c\uc5d0 \uc0ac\uc6a9\ud558\uae30\ub97c \ub9e4\uc6b0 \uc27d\uac8c \ub9cc\ub4ed\ub2c8\ub2e4. \uadf8\ub4e4\uc740 \uac1c\ubcc4 \uace0\uac1d\ubcc4\ub85c \ub300\ud654\ub97c \uae30\uc5b5\ud558\ub294 \ub2a5\ub825\uc744 \uac00\uc9c8 \ubfd0\ub9cc \uc544\ub2c8\ub77c, \uc6b0\ub9ac \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8 \ubca1\ud130 \uc2a4\ud1a0\uc5b4\uc640 \uac19\uc740 \uc790\uc6d0\uc744 \ud65c\uc6a9\ud558\uc5ec \ubaa8\ub4e0 \uc9c8\ubb38\uc5d0 \ub300\ud55c \uc0ac\uc2e4\uc801 \uc815\ubcf4\uc640 \ub370\uc774\ud130\ub97c \uac00\uc838\uc62c \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n\uc774 \ub370\ubaa8\uc5d0\uc11c, \uc6b0\ub9ac\ub294 \uc0ac\uc6a9\uc790\uac00 \uc81c\ud488 \ube0c\ub85c\uc288\uc5b4\ub97c \ud0d0\uc0c9\ud558\ub3c4\ub85d \uc9c0\uc2dc\ub41c AI \uc5d0\uc774\uc804\ud2b8\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uace0\uac1d \uc138\uc158\uc744 \uc2dd\ubcc4\ud558\uace0 \ucd94\uc801\ud558\uae30 \uc704\ud574 Chat memory \uc11c\ube0c\ub178\ub4dc\uac00 \ucca8\ubd80\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc5d0\uc774\uc804\ud2b8\uac00 \uc774\uc804\uc5d0 \uad6c\ucd95\ud55c \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8 \uc9c0\uc2dd\ubca0\uc774\uc2a4\ub97c \ud65c\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d Vector store \ub3c4\uad6c\uac00 \ucd94\uac00\ub418\uc5c8\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "5c72df8d-bca1-4634-b1ed-61ffec8bd103",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2620,
        -560
      ],
      "parameters": {
        "color": 7,
        "width": 495.4375,
        "height": 484.1875,
        "content": "## 5. WhatsApp \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc751\ub2f5\n\n[WhatsApp Node\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.whatsapp/)\n\nWhatsApp \ub178\ub4dc\ub294 WhatsApp \uc0ac\uc6a9\uc790\uc640 \uc0c1\ud638\uc791\uc6a9\ud558\uace0 \uc2f6\uc744 \ub54c \uac00\uc7a5 \uc801\ud569\ud569\ub2c8\ub2e4. \uc774 \ub178\ub4dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ud14d\uc2a4\ud2b8, \uc774\ubbf8\uc9c0, \uc624\ub514\uc624 \ubc0f \ube44\ub514\uc624 \uba54\uc2dc\uc9c0\ub97c \ubcf4\ub0bc \uc218 \uc788\uc744 \ubfd0\ub9cc \uc544\ub2c8\ub77c WhatsApp \uba54\uc2dc\uc9c0 \ud15c\ud50c\ub9bf\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n\uc5ec\uae30\uc11c\ub294 AI \uc5d0\uc774\uc804\ud2b8\uc758 \ucd9c\ub825\uc744 \ud14d\uc2a4\ud2b8 \uba54\uc2dc\uc9c0\ub85c \uc751\ub2f5\ud558\uc5ec \uac04\ub2e8\ud558\uac8c \uc720\uc9c0\ud558\uaca0\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "48ec809f-ca0e-4052-b403-9ad7077b3fff",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        -620
      ],
      "parameters": {
        "width": 401.25,
        "height": 582.6283033962263,
        "content": "## \uc2dc\ub3c4\ud574 \ubcf4\uc138\uc694!\n\n### \uc774 n8n \ud15c\ud50c\ub9bf\uc740 \uac04\ub2e8\ud55c WhatsApp \ucc57\ubd07\uc744 \ube4c\ub4dc\ud558\uc5ec \ud310\ub9e4 \uc5d0\uc774\uc804\ud2b8 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc774 \uc5d0\uc774\uc804\ud2b8\ub294 \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8 \ubca1\ud130 \uc2a4\ud1a0\uc5b4\ub97c \uae30\ubc18\uc73c\ub85c \uc0ac\uc6a9\uc790\uc758 \uc9c8\ubb38\uc744 \ub354 \uc798 \ub2f5\ubcc0\ud569\ub2c8\ub2e4.\n\n* \uc774 \ud15c\ud50c\ub9bf\uc740 2\ubd80\ubd84\uc73c\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4: \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8 \ubca1\ud130 \uc2a4\ud1a0\uc5b4 \uc0dd\uc131\uacfc WhatsApp AI \ucc57\ubd07 \ube4c\ub4dc.\n* \uc81c\ud488 \ube0c\ub85c\uc288\uc5b4\uac00 HTTP \uc694\uccad \ub178\ub4dc\ub97c \ud1b5\ud574 \uac00\uc838\uc640\uc9c0\uba70, \uadf8 \ud14d\uc2a4\ud2b8 \ub0b4\uc6a9\uc774 \ucd94\ucd9c\ub429\ub2c8\ub2e4.\n* \ud14d\uc2a4\ud2b8 \ub0b4\uc6a9\uc774 \uba54\ubaa8\ub9ac \ub0b4 \ubca1\ud130 \uc2a4\ud1a0\uc5b4\uc5d0 \uc5c5\ub85c\ub4dc\ub418\uc5b4 \ucc57\ubd07\uc758 \uc9c0\uc2dd\ubca0\uc774\uc2a4\ub97c \uad6c\ucd95\ud569\ub2c8\ub2e4.\n* WhatsApp \ud2b8\ub9ac\uac70\uac00 \uace0\uac1d\uc758 \uba54\uc2dc\uc9c0\ub97c \ucea1\ucc98\ud558\uba70, \ube44\ud14d\uc2a4\ud2b8 \uba54\uc2dc\uc9c0\ub294 \ud544\ud130\ub9c1\ub429\ub2c8\ub2e4.\n* \uace0\uac1d\uc758 \uba54\uc2dc\uc9c0\uac00 AI \uc5d0\uc774\uc804\ud2b8\ub85c \ubcf4\ub0b4\uc9c0\uba70, \uc774 \uc5d0\uc774\uc804\ud2b8\ub294 \ubca1\ud130 \uc2a4\ud1a0\uc5b4 \ub3c4\uad6c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8\ub97c \uc870\ud68c\ud569\ub2c8\ub2e4.\n* \uc5d0\uc774\uc804\ud2b8\uc758 \uc751\ub2f5\uc774 WhatsApp \ub178\ub4dc\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub2e4\uc2dc \ubcf4\ub0b4\uc9d1\ub2c8\ub2e4.\n\n### \ub3c4\uc6c0\uc774 \ud544\uc694\ud558\uc2e0\uac00\uc694?\n[Discord](https://discord.com/invite/XPKeKXeB7d)\uc5d0 \uac00\uc785\ud558\uac70\ub098 [Forum](https://community.n8n.io/)\uc5d0\uc11c \ubb3c\uc5b4\ubcf4\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "87cf9b41-66de-49a7-aeb0-c8809191b5a0",
      "name": "Handle Message Types",
      "type": "n8n-nodes-base.switch",
      "position": [
        1560,
        -280
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "Supported",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.messages[0].type }}",
                    "rightValue": "text"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Not Supported",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "89971d8c-a386-4e77-8f6c-f491a8e84cb6",
                    "operator": {
                      "type": "string",
                      "operation": "notEquals"
                    },
                    "leftValue": "={{ $json.messages[0].type }}",
                    "rightValue": "text"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "e52f0a50-0c34-4c4a-b493-4c42ba112277",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -20
      ],
      "parameters": {
        "color": 5,
        "width": 345.10906976744184,
        "height": 114.53583720930231,
        "content": "\uc774 \ubd80\ubd84\uc744 \ud55c \ubc88\ub9cc \uc2e4\ud589\ud558\uba74 \ub429\ub2c8\ub2e4! \uc774 \ub2e8\uacc4\ub97c \uc2e4\ud589\ud558\uc5ec \uc6b0\ub9ac \uc81c\ud488 \uce74\ud0c8\ub85c\uadf8 \ubca1\ud130\ub97c \ucc44\uc6b0\uc138\uc694. \uc0c8 \ubc84\uc804\uc73c\ub85c \ubca1\ud130 \uc2a4\ud1a0\uc5b4\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\ub824\uba74 \ub2e4\uc2dc \uc2e4\ud589\ud558\uc138\uc694."
      },
      "typeVersion": 1
    },
    {
      "id": "c1a7d6d1-191e-4343-af9f-f2c9eb4ecf49",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1260,
        -40
      ],
      "parameters": {
        "color": 5,
        "width": 364.6293255813954,
        "height": 107.02804651162779,
        "content": "WhatsApp \ucc57\ubd07\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc6cc\ud06c\ud50c\ub85c\ub97c \ud65c\uc131\ud654\ud574\uc57c \ud569\ub2c8\ub2e4. \uc790\uccb4 \ud638\uc2a4\ud305\uc744 \ud558\uace0 \uc788\ub2e4\uba74 WhatsApp\uc774 \uadc0\ud558\uc758 \uc11c\ubc84\uc5d0 \uc5f0\uacb0\ud560 \uc218 \uc788\ub3c4\ub85d \ud558\uc138\uc694."
      },
      "typeVersion": 1
    },
    {
      "id": "a36524d0-22a6-48cc-93fe-b4571cec428a",
      "name": "AI Sales Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1960,
        -400
      ],
      "parameters": {
        "text": "={{ $json.messages[0].text.body }}",
        "options": {
          "systemMessage": "You are an assistant working for a company who sells Yamaha Powered Loudspeakers and helping the user navigate the product catalog for the year 2024. Your goal is not to facilitate a sale but if the user enquires, direct them to the appropriate website, url or contact information.\n\nDo your best to answer any questions factually. If you don't know the answer or unable to obtain the information from the datastore, then tell the user so."
        },
        "promptType": "define"
      },
      "typeVersion": 1.6
    }
  ],
  "connections": {
    "AI Sales Agent": {
      "main": [
        [
          {
            "node": "Reply To User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WhatsApp Trigger": {
      "main": [
        [
          {
            "node": "Handle Message Types",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Product Catalogue",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Create Product Catalogue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Sales Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Product Catalogue": {
      "ai_vectorStore": [
        [
          {
            "node": "Vector Store Tool",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "Vector Store Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Sales Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Create Product Catalogue",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Vector Store Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Create Product Catalogue",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Handle Message Types": {
      "main": [
        [
          {
            "node": "AI Sales Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reply To User1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Sales Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "get Product Brochure": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "get Product Brochure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}