{
  "name": "\uc0c8\ub860\uae08\uc735 SNS \uc790\ub3d9\ud654 \ub9ac\ub4dc\uad00\ub9ac",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "saeloan-lead",
        "responseMode": "immediateResponse",
        "responseData": "allEntries"
      },
      "name": "Webhook (\ud648\ud398\uc774\uc9c0 \ud3fc\uc218\uc2e0)",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": "YOUR_GOOGLE_SHEET_ID",
        "sheetName": "\uc0c1\ub2f4\uc2e0\uccad",
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "\uc2e0\uccad\uc2dc\uac01": "={{ $now.format('yyyy-MM-dd HH:mm') }}",
            "\uc774\ub984": "={{ $json.body.name }}",
            "\uc5f0\ub77d\ucc98": "={{ $json.body.phone }}",
            "\ud76c\ub9dd\uae08\uc561": "={{ $json.body.amount }}",
            "\ubb38\uc758\uc0ac\ud56d": "={{ $json.body.memo }}",
            "\ucc98\ub9ac\uc0c1\ud0dc": "\uc2e0\uaddc"
          }
        }
      },
      "name": "Google Sheets (CRM \uae30\ub85d)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        480,
        200
      ]
    },
    {
      "parameters": {
        "fromEmail": "noreply@saeloan.co.kr",
        "toEmail": "YOUR_EMAIL@gmail.com",
        "subject": "=[\uc0c8\ub860\uae08\uc735 \uc2e0\uaddc\uc0c1\ub2f4] {{ $json.body.name }} \ub2d8",
        "text": "=\uc2e0\uccad\uc2dc\uac01: {{ $now.format('yyyy-MM-dd HH:mm') }}\n\uc774\ub984: {{ $json.body.name }}\n\uc5f0\ub77d\ucc98: {{ $json.body.phone }}\n\ud76c\ub9dd\uae08\uc561: {{ $json.body.amount }}\n\ubb38\uc758: {{ $json.body.memo }}\n\n\ube60\ub978 \uc5f0\ub77d \ubc14\ub78d\ub2c8\ub2e4!"
      },
      "name": "\uc774\uba54\uc77c \uc54c\ub9bc (\ub2f4\ub2f9\uc790)",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        480,
        400
      ]
    },
    {
      "parameters": {
        "chatId": "YOUR_TELEGRAM_CHAT_ID",
        "text": "=\ud83d\udd14 \uc0c8\ub860\uae08\uc735 \uc2e0\uaddc \uc0c1\ub2f4\uc2e0\uccad!\n\n\ud83d\udc64 \uc774\ub984: {{ $json.body.name }}\n\ud83d\udcf1 \uc5f0\ub77d\ucc98: {{ $json.body.phone }}\n\ud83d\udcb0 \ud76c\ub9dd\uae08\uc561: {{ $json.body.amount }}\n\n\u23f0 {{ $now.format('HH:mm') }}",
        "additionalFields": {}
      },
      "name": "Telegram \uc989\uc2dc\uc54c\ub9bc (\ub2f4\ub2f9\uc790\ud3f0)",
      "type": "n8n-nodes-base.telegram",
      "position": [
        480,
        550
      ]
    }
  ],
  "connections": {
    "Webhook (\ud648\ud398\uc774\uc9c0 \ud3fc\uc218\uc2e0)": {
      "main": [
        [
          {
            "node": "Google Sheets (CRM \uae30\ub85d)",
            "type": "main",
            "index": 0
          },
          {
            "node": "\uc774\uba54\uc77c \uc54c\ub9bc (\ub2f4\ub2f9\uc790)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Telegram \uc989\uc2dc\uc54c\ub9bc (\ub2f4\ub2f9\uc790\ud3f0)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}