{
  "name": "[실습 3-F] AI에게 요약시켜서 보내기",
  "nodes": [
    {
      "parameters": {
        "formTitle": "문의 접수",
        "formDescription": "내용을 남겨주시면 확인 후 연락드립니다",
        "formFields": {
          "values": [
            {
              "fieldLabel": "이름",
              "requiredField": true
            },
            {
              "fieldLabel": "연락처",
              "requiredField": true
            },
            {
              "fieldLabel": "금액",
              "fieldType": "number"
            },
            {
              "fieldLabel": "내용",
              "fieldType": "textarea"
            }
          ]
        },
        "options": {}
      },
      "id": "9559275e-f137-436b-8042-3df943ed7c76",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.6,
      "position": [
        -416,
        0
      ]
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=아래는 사업장에 들어온 문의 한 건이다.\n\n{{ $json['내용'] }}\n\n다음 형식으로만 답하라. 설명을 붙이지 마라.\n[긴급도] 높음/보통/낮음\n[한 줄 요약] 20자 이내\n[해야 할 일] 한 문장",
        "batching": {}
      },
      "id": "6499ab16-a4ff-4e91-b9b2-2609e0c33c6b",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.9,
      "position": [
        -224,
        0
      ]
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "claude-sonnet-5",
          "cachedResultName": "Claude Sonnet 5"
        },
        "options": {}
      },
      "id": "c67d61e0-694a-4957-8ef3-503840fb480c",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "typeVersion": 1.5,
      "position": [
        -224,
        192
      ]
    },
    {
      "parameters": {
        "authentication": "webhook",
        "content": "={{ $json.text }}",
        "options": {}
      },
      "id": "b27cab65-c180-4a38-8694-5cbe5acaff45",
      "name": "Discord",
      "type": "n8n-nodes-base.discord",
      "typeVersion": 2,
      "position": [
        48,
        0
      ]
    }
  ],
  "connections": {
    "On form submission": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Discord",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": true
  },
  "nodeGroups": []
}
