{
  "name": "[실습 3-I] SMS 받아서 응대하기",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "sms-rent",
        "authentication": "headerAuth",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -928,
        -288
      ],
      "id": "db3eeb43-0716-4c17-817e-aabb4f4b310c",
      "name": "SMS 정보 받기"
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "=보낸사람:  {{ $json.headers['x-sms-sender'] }}\n\n내용: {{ $json.body }}\n\n보낸시간: {{ $json.headers['x-sms-received-at'] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        -704,
        -192
      ],
      "id": "e3963396-b58c-486b-8a64-8ee93fb295cc",
      "name": "Discord"
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "누가": "={{ $json.headers['x-sms-sender'] }}",
            "내용": "={{ $json.body }}",
            "언제": "= {{ $now.format('yyyy-MM-dd HH:mm') }}",
            "비고": "="
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "누가",
              "displayName": "누가",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "내용",
              "displayName": "내용",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "언제",
              "displayName": "언제",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "비고",
              "displayName": "비고",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "row_number",
              "displayName": "row_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "number",
              "canBeUsedToMatch": true,
              "readOnly": true,
              "removed": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.7,
      "position": [
        -704,
        -384
      ],
      "id": "86fea8a6-6464-4310-81f7-74d61e6dc030",
      "name": "시트에 기록"
    }
  ],
  "connections": {
    "SMS 정보 받기": {
      "main": [
        [
          {
            "node": "Discord",
            "type": "main",
            "index": 0
          },
          {
            "node": "시트에 기록",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": true
  },
  "nodeGroups": []
}
