{
  "nodes": [
    {
      "id": "76589d1c-45f3-4a89-906f-8ef300d34964",
      "name": "n8n Form Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -2520,
        -280
      ],
      "parameters": {
        "path": "schedule_appointment",
        "options": {
          "ignoreBots": true,
          "appendAttribution": true,
          "useWorkflowTimezone": true
        },
        "formTitle": "Schedule an Appointment",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Your Name",
              "placeholder": "eg. Sam Smith",
              "requiredField": true
            },
            {
              "fieldType": "email",
              "fieldLabel": "Email",
              "placeholder": "eg. sam@example.com",
              "requiredField": true
            },
            {
              "fieldType": "textarea",
              "fieldLabel": "Enquiry",
              "placeholder": "eg. I'm looking for...",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Welcome to Jim's Appointment Form.\nBefore we set a date, please tell me a little about yourself and how I can help."
      },
      "typeVersion": 2.1
    },
    {
      "id": "194b7073-fa33-4e75-85ed-c02724c8075c",
      "name": "Form End",
      "type": "n8n-nodes-base.form",
      "position": [
        -420,
        -260
      ],
      "parameters": {
        "options": {
          "formTitle": "Appointment Request Sent!"
        },
        "operation": "completion",
        "completionTitle": "Appointment Request Sent!",
        "completionMessage": "=Thank you for submitting an appointment request. A confirmation of this request will be sent to your inbox. I'll get back to you shortly with a confirmation of the appointment.\n\nHere is the summary of the appointment request.\n\nName: {{ $('Get Form Values').item.json.name }}\nDate & Time: {{ DateTime.fromISO($('Get Form Values').item.json.dateTime).format('EEE, dd MMM @ t') }}\nEnquiry: {{ $('Get Form Values').item.json.enquiry.trim() }}\n"
      },
      "typeVersion": 1
    },
    {
      "id": "688ea2cc-b595-4b6f-9214-d5dfd3893172",
      "name": "Enter Date & Time",
      "type": "n8n-nodes-base.form",
      "position": [
        -1260,
        -320
      ],
      "parameters": {
        "options": {
          "formTitle": "Enter a Date & Time",
          "formDescription": "=Please select a date and time"
        },
        "defineForm": "json",
        "jsonOutput": "={{\n[\n   {\n      \"fieldLabel\":\"Date\",\n      \"requiredField\":true,\n      \"fieldType\": \"dropdown\",\n      \"fieldOptions\":\n        Array(5).fill(0)\n          .map((_,idx) => $now.plus(idx+1, 'day'))\n          .filter(d => !d.isWeekend)\n          .map(d => ({ option: d.format('EEE, d MMM') }))\n   },\n   {\n     \"fieldLabel\": \"Time\",\n     \"requiredField\": true,\n     \"fieldType\": \"dropdown\",\n     \"fieldOptions\": [\n        { \"option\": \"9:00 am\" },\n        { \"option\": \"10:00 am\" },\n        { \"option\": \"11:00 am\" },\n        { \"option\": \"12:00 pm\" },\n        { \"option\": \"1:00 pm\" },\n        { \"option\": \"2:00 pm\" },\n        { \"option\": \"3:00 pm\" },\n        { \"option\": \"4:00 pm\" },\n        { \"option\": \"5:00 pm\" },\n        { \"option\": \"6:00 pm\" }\n     ]\n   }\n]\n}}"
      },
      "typeVersion": 1
    },
    {
      "id": "602c40f9-ab11-4908-aab3-1a199126e097",
      "name": "Get Form Values",
      "type": "n8n-nodes-base.set",
      "position": [
        -900,
        -260
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={{\n{\n  name: $('n8n Form Trigger').first().json['Your Name'],\n  email: $('n8n Form Trigger').first().json.Email,\n  enquiry: $('n8n Form Trigger').first().json.Enquiry,\n  dateTime: DateTime.fromFormat(`${$json.Date} ${$json.Time}`, \"EEE, dd MMM t\"),\n  submittedAt: $('n8n Form Trigger').first().json.submittedAt,\n}\n}}"
      },
      "typeVersion": 3.4
    },
    {
      "id": "21f93645-5e27-4e9f-a72c-47a39e42a79c",
      "name": "Terms & Conditions",
      "type": "n8n-nodes-base.form",
      "position": [
        -1680,
        -240
      ],
      "parameters": {
        "options": {
          "formTitle": "Before we continue...",
          "formDescription": "=Terms and Conditions for Booking an Appointment\n\nNon-Binding Nature of Discussions:\nAny information shared, discussed, or agreed upon during the call is non-binding and provisional. No agreement, service, or commitment shall be considered confirmed unless explicitly documented and agreed to in writing.\n\nProhibition of Recording and Note-Taking Tools:\nBy proceeding with the appointment, the user agrees not to use AI assistants, note-taking applications, recording devices, or any other technology to record or transcribe the conversation, whether manually or automatically. This is to ensure confidentiality and respect for the integrity of the discussion.\n\nConfirmation of Understanding:\nBy booking this appointment, you acknowledge and accept these terms and conditions in full."
        },
        "formFields": {
          "values": [
            {
              "fieldType": "dropdown",
              "fieldLabel": "Please select",
              "multiselect": true,
              "fieldOptions": {
                "values": [
                  {
                    "option": "I accept the terms and conditions"
                  }
                ]
              },
              "requiredField": true
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "22e03fec-bd56-4fc3-864a-f1e81a864cb5",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2340,
        -140
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8b4e9bba-cd57-46af-8042-4b47e5ebcd82",
      "name": "Has Accepted?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1500,
        -240
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "bc7c3e99-e610-4997-82a7-4851f2c04c19",
              "operator": {
                "type": "string",
                "operation": "startsWith"
              },
              "leftValue": "={{ $json[\"Please select\"] }}",
              "rightValue": "I accept"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "627a4c00-e831-4a77-8aad-f417f0f8e6dd",
      "name": "Send Receipt",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -580,
        -260
      ],
      "parameters": {
        "sendTo": "={{ $('Get Form Values').first().json.email }}",
        "message": "=<p>Dear {{ $('Get Form Values').first().json.name }},</p>\n<p>Thanks for requesting an appointment. We will review and get back to you shortly.</p>\n<p>Here is the summary of the request that was sent:</p>\n<p>\nName: {{ $('Get Form Values').first().json.name }}<br/>\nEmail: {{ $('Get Form Values').first().json.email }}<br/>\nEnquiry: {{ $('Get Form Values').first().json.enquiry }}<br/>\nSubmitted at: {{ $('Get Form Values').first().json.submittedAt }}\n</p>\n",
        "options": {},
        "subject": "=Appointment Request Received for {{ DateTime.fromISO($('Get Form Values').first().json.dateTime).format('EEE, dd MMM @ t') }}"
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "91d3dd7d-53f8-4f8e-9af2-ec54cf7f42ad",
      "name": "Wait for Approval",
      "type": "n8n-nodes-base.gmail",
      "position": [
        340,
        -260
      ],
      "parameters": {
        "sendTo": "=admin@example.com",
        "message": "=<h2>A new appointment request was submitted!</h2>\n<p>\nRequesting appointment date is <strong>{{ DateTime.fromISO($('Execute Workflow Trigger').item.json.dateTime).format('EEE, dd MMM @ t') }}</strong>.\n</p>\n<p>\nName: {{ $('Execute Workflow Trigger').first().json.name }}<br/>\nEmail: {{ $('Execute Workflow Trigger').first().json.email }}<br/>\nEnquiry Summary: {{ $json.text }}<br/>\nSubmitted at: {{ $('Execute Workflow Trigger').first().json.submittedAt }}\n</p>",
        "subject": "New Appointment Request!",
        "operation": "sendAndWait",
        "approvalOptions": {
          "values": {
            "approvalType": "double",
            "approveLabel": "Confirm"
          }
        }
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "7a02b57b-b9b1-45b1-9b3d-aebb84259875",
      "name": "Has Approval?",
      "type": "n8n-nodes-base.if",
      "position": [
        520,
        -260
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "e5e37acb-9e9d-4a9e-bf59-a35dfc035886",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.data.approved }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "96aab8be-4c5e-4e14-a6ea-6d2b743551be",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        0,
        -120
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6f2b5454-70a3-4391-b785-bb871c3e2081",
      "name": "Create Appointment",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        720,
        -340
      ],
      "parameters": {
        "end": "={{ DateTime.fromISO($('Execute Workflow Trigger').first().json.dateTime).plus(30, 'minute').toISO() }}",
        "start": "={{ $('Execute Workflow Trigger').first().json.dateTime }}",
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": "c_5792bdf04bc395cbcbc6f7b754268245a33779d36640cc80a357711aa2f09a0a@group.calendar.google.com",
          "cachedResultName": "n8n-events"
        },
        "additionalFields": {
          "summary": "=Appointment Scheduled - {{ $('Execute Workflow Trigger').item.json.name }} & Jim",
          "attendees": [
            "={{ $('Execute Workflow Trigger').item.json.email }}"
          ],
          "description": "={{ $('Summarise Enquiry').first().json.text }}\n\nOriginal message:\n> {{ $('Execute Workflow Trigger').item.json.enquiry }}",
          "conferenceDataUi": {
            "conferenceDataValues": {
              "conferenceSolution": "hangoutsMeet"
            }
          }
        }
      },
      "credentials": {
        "googleCalendarOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e6881867-5b3c-4b85-b06a-a0a3c01be227",
      "name": "Send Rejection",
      "type": "n8n-nodes-base.gmail",
      "position": [
        720,
        -180
      ],
      "parameters": {
        "sendTo": "={{ $('Execute Workflow Trigger').first().json.email }}",
        "message": "=<p>Dear {{ $('Execute Workflow Trigger').first().json.name }},</p>\n<p>Unfortunately, we cannot schedule the requested appointment at the requested time.</p>\n<p>Kind regards</p>\n",
        "options": {},
        "subject": "=Appointment Request Rejected for {{ DateTime.fromISO($('Execute Workflow Trigger').first().json.dateTime).format('EEE, dd MMM @ t') }}"
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "40785eca-943c-45f6-b4a9-0c95538621ed",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2580,
        -555.2889298043726
      ],
      "parameters": {
        "color": 7,
        "width": 763.0427617951669,
        "height": 611.898918296892,
        "content": "## 1. AI\ub97c \uc0ac\uc6a9\ud55c \ubb38\uc758 \uc790\uaca9 \ud655\uc778  \n[\ud14d\uc2a4\ud2b8 \ubd84\ub958\uae30\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.text-classifier/)  \n\nn8n\uc758 \ub2e4\uc911 \ud3fc\uc744 \uc0ac\uc6a9\ud558\uba74 \ub354 \uc774\uc0c1 \uae38\uace0 \uc555\ub3c4\uc801\uc778 \ud3fc\uc744 \ub9cc\ub4dc\ub294 \ub370 \uac07\ud600 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ub300\uc2e0, \ub354 \ub611\ub611\ud558\uace0 \ub354 \ub9e4\ub825\uc801\uc778 \ud3fc \uacbd\ud5d8\uc744 \ub514\uc790\uc778\ud558\uae30 \uc704\ud574 \ub354 \ub9ce\uc740 \uc720\uc5f0\uc131\uacfc \uc81c\uc5b4\ub97c \uac00\uc9d1\ub2c8\ub2e4.  \n\n\uc774 \ub370\ubaa8\uc5d0\uc11c, \uc6b0\ub9ac\ub294 \uc0ac\uc6a9\uc790\uac00 \uadf8\ub4e4\uc758 \ubb38\uc758\ub97c \ub17c\uc758\ud558\uae30 \uc704\ud574 \ud1b5\ud654\ub97c \uc608\uc57d\ud558\uace0 \uc2f6\uc5b4\ud558\ub294 \uc57d\uc18d \uc694\uccad \uc2dc\ub098\ub9ac\uc624\ub97c \ud0d0\uad6c\ud560 \uac83\uc785\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ubaa8\ub4e0 \ubb38\uc758\uac00 \ud68c\uc758\ub97c \ud544\uc694\ub85c \ud558\ub294 \uac83\uc740 \uc544\ub2c8\ubbc0\ub85c, AI\uac00 \uc694\uccad\uc744 \uc0ac\uc804 \uc790\uaca9 \ud655\uc778\ud558\ub294 \ub370 \uc644\ubcbd\ud55c \uc6a9\ub840\uc785\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc774 \uac80\uc99d\uc744 \ud14d\uc2a4\ud2b8 \ubd84\ub958\uae30 \ub178\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "985be8d1-e77a-475b-9ac2-dba163dbd950",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1800,
        -549.8684464902185
      ],
      "parameters": {
        "color": 7,
        "width": 781.472405063291,
        "height": 606.0718987341766,
        "content": "## 2. \uc0ac\uc6a9\uc790 \uacbd\ud5d8 \ud5a5\uc0c1\uc744 \uc704\ud55c \ud3fc \ubd84\ud560  \n[\ud3fc\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.form)  \n\n\uc628\ubcf4\ub529\uc740 \ud070 \ud3fc\uc744 \ub354 \uc791\uc740 \ud3fc\uc73c\ub85c \ub098\ub204\ub294 \ud6cc\ub96d\ud55c \uc774\uc720\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub97c \ub2e8\uacc4\ubcc4 \ud504\ub85c\uc138\uc2a4\ub97c \ud1b5\ud574 \uc548\ub0b4\ud558\uba74 \uc6d0\ud65c\ud55c \uacbd\ud5d8\uc744 \ubcf4\uc7a5\ud558\uace0 \uc804\uccb4 \uacfc\uc815\uc5d0\uc11c \ucc38\uc5ec\ub97c \uc720\uc9c0\ud569\ub2c8\ub2e4.  \n\n\uc5ec\uae30\uc11c, \uc6b0\ub9ac\ub294 \ucd94\uac00 \ucee8\ud14d\uc2a4\ud2b8 \uacf5\uac04\uc758 \uae30\ud68c\ub97c \uc774\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790\uac00 \uc694\uccad\uc744 \uc81c\ucd9c\ud558\uae30 \uc704\ud574 \ub3d9\uc758\ud574\uc57c \ud558\ub294 \uc774\uc6a9 \uc57d\uad00\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. \ub2e4\uc74c \ud3fc\uc740 \uc774\ubca4\ud2b8\uc758 \uc6d0\ud558\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ubb3b\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "9b0a3f0e-e15d-4d0e-b620-1acc78bf812c",
      "name": "Decline",
      "type": "n8n-nodes-base.form",
      "position": [
        -2020,
        -160
      ],
      "parameters": {
        "options": {},
        "operation": "completion",
        "completionTitle": "Send me a DM Instead!",
        "completionMessage": "Thanks for your enquiry but it may not necessarily need an appointment. Please feel free to email me instead at jim@example.com."
      },
      "typeVersion": 1
    },
    {
      "id": "fcd3eb7d-6389-4c07-97cc-275ae387c963",
      "name": "Decline1",
      "type": "n8n-nodes-base.form",
      "position": [
        -1260,
        -160
      ],
      "parameters": {
        "options": {},
        "operation": "completion",
        "completionTitle": "Send me a DM Instead!",
        "completionMessage": "Thanks for your enquiry but it may not necessarily need an appointment. Please feel free to email me instead at jim@example.com."
      },
      "typeVersion": 1
    },
    {
      "id": "d89427cb-fffb-4aa4-b55c-b315fa0e92be",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -498.80432681242814
      ],
      "parameters": {
        "color": 7,
        "width": 792.9401150747982,
        "height": 497.4250863060987,
        "content": "## 3. \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud655\uc778 \uba54\uc2dc\uc9c0 \ubcf4\ub0b4\uae30 \ubc0f \uc2b9\uc778 \ud504\ub85c\uc138\uc2a4 \uc2dc\uc791  \n[ Gmail node\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.gmail/)  \n\n\ubaa8\ub4e0 \uc591\uc2dd \ub2e8\uacc4\uac00 \uc644\ub8cc\ub418\uba74, \uc694\uccad\uc790\uc5d0\uac8c \uc774\uba54\uc77c\ub85c \uc54c\ub9bc\uc744 \ubcf4\ub0bc \uc218 \uc788\uace0, \ubc30\uacbd\uc5d0\uc11c \uad00\ub9ac\uc790\uc5d0\uac8c \ub2e4\ub978 \uc774\uba54\uc77c\uc744 \ubcf4\ub0b4 \uc2b9\uc778 \ud504\ub85c\uc138\uc2a4\ub97c \uc2dc\uc791\ud569\ub2c8\ub2e4. \uc2b9\uc778 \ud504\ub85c\uc138\uc2a4\ub294 \ubcc4\ub3c4\uc758 \uc2e4\ud589\uc5d0\uc11c \uc791\ub3d9\ud558\ubbc0\ub85c \uc0ac\uc6a9\uc790\uc758 \uc591\uc2dd \uacbd\ud5d8\uc744 \ubc29\ud574\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "041081e1-ee98-4b40-aa14-1980b23f4031",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -620
      ],
      "parameters": {
        "color": 7,
        "width": 609.4228768699652,
        "height": 287.178089758343,
        "content": "## 4. \uc57d\uc18d \uc2b9\uc778 \ub610\ub294 \uac70\ubd80\n\n[\uc2b9\uc778 \ub300\uae30 \uae30\ub2a5\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.gmail/message-operations/#send-a-message-and-wait-for-approval)\n\nGmail\uc5d0 \ub300\ud55c \uc2b9\uc778 \ub300\uae30 \uae30\ub2a5\uc740 n8n \uc6cc\ud06c\ud50c\ub85c\uc5d0\uc11c \uc778\uac04 \uac1c\uc785 \uc0c1\ud638\uc791\uc6a9\uc744 \ud5c8\uc6a9\ud558\ub294 \ud2b9\ubcc4\ud55c \uc791\uc5c5\uc785\ub2c8\ub2e4. \uc774 \uc608\uc2dc\uc5d0\uc11c \uc778\uac04 \uc0c1\ud638\uc791\uc6a9\uc740 \uc57d\uc18d \uc694\uccad\uc758 \uc2b9\uc778\uc785\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \uc6cc\ud06c\ud50c\ub85c\ub97c \ub300\uae30 \uc0c1\ud0dc\ub85c \ub9cc\ub4e4\uba70, \uad00\ub9ac\uc790\uc5d0\uac8c \ud655\uc778 \ubc0f \uac70\ubd80\ub77c\ub294 2\uac1c\uc758 \ubc84\ud2bc\uc774 \ud3ec\ud568\ub41c \uba54\uc2dc\uc9c0\ub97c \ubcf4\ub0c5\ub2c8\ub2e4.\n\n\uad00\ub9ac\uc790\uac00 \ud655\uc778 \ubc84\ud2bc\uc744 \ud074\ub9ad\ud558\uba74, \uc6cc\ud06c\ud50c\ub85c\uac00 Gmail \ub178\ub4dc\uc5d0\uc11c \uc7ac\uac1c\ub418\uace0 \uc694\uccad\ud55c \uc0ac\uc6a9\uc790\uc5d0\uac8c Google Calendar\uc5d0 \ubbf8\ud305 \uc774\ubca4\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n\n\uac70\ubd80\ub41c \uacbd\uc6b0, \uc694\uccad\uc790\uc5d0\uac8c \uac70\ubd80 \uc774\uba54\uc77c\uc744 \ubcf4\ub0c5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "d6af0f50-234f-46ca-aa41-7f3891aff8a3",
      "name": "Trigger Approval Process",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        -740,
        -260
      ],
      "parameters": {
        "mode": "each",
        "options": {
          "waitForSubWorkflow": false
        },
        "workflowId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $workflow.id }}"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "e524d6df-9b6d-4d61-8e71-08a0d3a751d7",
      "name": "Execute Workflow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -160,
        -260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "74dccbc1-7728-4336-a18a-2541007fd369",
      "name": "Summarise Enquiry",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        0,
        -260
      ],
      "parameters": {
        "text": "=The enquiry is as follows:\n{{ $('Execute Workflow Trigger').first().json.enquiry.substring(0, 500) }}",
        "messages": {
          "messageValues": [
            {
              "message": "Summarise the given enquiry"
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "b74f0f5a-39f0-4db3-beba-03caf981c5d2",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3080,
        -640
      ],
      "parameters": {
        "width": 468.6766398158801,
        "height": 690.6653164556957,
        "content": "## \uc2dc\ub3c4\ud574 \ubcf4\uc138\uc694!\n\n\uc774 n8n \ud15c\ud50c\ub9bf\uc740 n8n \ud3fc\uc744 \uc0ac\uc6a9\ud55c \uac04\ub2e8\ud55c \uc57d\uc18d \uc608\uc57d \uc6cc\ud06c\ud50c\ub85c\uc6b0\ub85c, AI\ub97c \uc801\uc808\ud788 \ud63c\ud569\ud558\uc5ec \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \ub610\ud55c n8n\uc758 \uc2b9\uc778 \ub300\uae30 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc57d\uc18d \uc694\uccad\uc744 \ud655\uc778\ud558\uace0 Google Calendar\uc5d0 \uc774\ubca4\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n### \uc791\ub3d9 \uc6d0\ub9ac\n* \uc57d\uc18d\uc758 \ubaa9\uc801\uc744 \ubb3b\ub294 \ud3fc \ud2b8\ub9ac\uac70\ub85c \uc2dc\uc791\ud569\ub2c8\ub2e4.\n* \uc989\uc2dc \ud14d\uc2a4\ud2b8 \ubd84\ub958\uae30 \ub178\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec AI\uc758 \ub9e5\ub77d \uc774\ud574\ub97c \ud1b5\ud574 \uc57d\uc18d\uc774 \uac00\uce58 \uc788\ub294\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4. \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ub300\uc548\uc744 \uc81c\uc548\ud569\ub2c8\ub2e4.\n* \ub2e4\uc911 \ud398\uc774\uc9c0 \ud3fc\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc57d\uc18d \uc870\uac74\uc744 \uc124\uc815\ud558\uace0 \uc0ac\uc6a9\uc790\uac00 \uc6d0\ud558\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ubb3b\uc2b5\ub2c8\ub2e4.\n* \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud655\uc778 \uba54\uc2dc\uc9c0\ub97c \ubcf4\ub0b4\ub294 \ub3d9\uc2dc\uc5d0 \ubc30\uacbd\uc5d0\uc11c \uc774\uba54\uc77c \uc2b9\uc778 \ud504\ub85c\uc138\uc2a4\ub97c \ud2b8\ub9ac\uac70\ud569\ub2c8\ub2e4.\n* \ud558\uc704 \uc6cc\ud06c\ud50c\ub85c\uc6b0\uc5d0\uc11c Gmail\uc758 \uc2b9\uc778 \ub300\uae30 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uc5ec \uad00\ub9ac\uc790\uc5d0\uac8c \uc2b9\uc778 \uc591\uc2dd\uc744 \ubcf4\ub0b4, \uc57d\uc18d \uc694\uccad\uc744 \ud655\uc778\ud558\uac70\ub098 \uac70\ubd80\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n* \uc2b9\uc778\ub418\uba74 Google Calendar\uc5d0 \uc774\ubca4\ud2b8\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4. \uac70\ubd80\ub418\uba74 \uc0ac\uc6a9\uc790\uac00 \uc774\uba54\uc77c\ub85c \uc57d\uc18d \uc694\uccad\uc774 \uac70\ubd80\ub418\uc5c8\ub2e4\ub294 \ud1b5\uc9c0\ub97c \ubc1b\uc2b5\ub2c8\ub2e4.\n\n### \ub3c4\uc6c0\uc774 \ud544\uc694\ud558\uc2e0\uac00\uc694?\n[\ub514\uc2a4\ucf54\ub4dc](https://discord.com/invite/XPKeKXeB7d)\uc5d0 \ucc38\uc5ec\ud558\uac70\ub098 [\ud3ec\ub7fc](https://community.n8n.io/)\uc5d0\uc11c \ubb38\uc758\ud558\uc138\uc694!\n\n\uc990\uac70\uc6b4 \ud574\ud0b9!"
      },
      "typeVersion": 1
    },
    {
      "id": "d3c87dfa-d6e5-402a-89e5-6d8f93b824a6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        299,
        -280
      ],
      "parameters": {
        "width": 177.66444188722656,
        "height": 257.56869965477557,
        "content": "### \ud83d\udea8 \uc5ec\uae30\uc5d0\uc11c \uad00\ub9ac\uc790 \uc774\uba54\uc77c\uc744 \uc124\uc815\ud558\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "6351121d-6ebe-432d-b370-13296fd58e1a",
      "name": "Enquiry Classifier",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        -2340,
        -280
      ],
      "parameters": {
        "options": {
          "fallback": "other"
        },
        "inputText": "={{ $json.Enquiry }}",
        "categories": {
          "categories": [
            {
              "category": "relevant enquiry",
              "description": "Enquire about AI, automation, digital products and product engineering."
            }
          ]
        }
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Send Receipt": {
      "main": [
        [
          {
            "node": "Form End",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Accepted?": {
      "main": [
        [
          {
            "node": "Enter Date & Time",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Decline1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Approval?": {
      "main": [
        [
          {
            "node": "Create Appointment",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Rejection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Form Values": {
      "main": [
        [
          {
            "node": "Trigger Approval Process",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n Form Trigger": {
      "main": [
        [
          {
            "node": "Enquiry Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enter Date & Time": {
      "main": [
        [
          {
            "node": "Get Form Values",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Enquiry Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Summarise Enquiry": {
      "main": [
        [
          {
            "node": "Wait for Approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Approval": {
      "main": [
        [
          {
            "node": "Has Approval?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enquiry Classifier": {
      "main": [
        [
          {
            "node": "Terms & Conditions",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Decline",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Summarise Enquiry",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Terms & Conditions": {
      "main": [
        [
          {
            "node": "Has Accepted?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow Trigger": {
      "main": [
        [
          {
            "node": "Summarise Enquiry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Approval Process": {
      "main": [
        [
          {
            "node": "Send Receipt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}