{
 "name": "[노드 한 장] Slack · 샘플 세 항목을 알림 하나로",
 "nodes": [
  {
   "id": "m",
   "name": "Run manually",
   "type": "n8n-nodes-base.manualTrigger",
   "typeVersion": 1,
   "position": [
    0,
    0
   ],
   "parameters": {}
  },
  {
   "id": "c",
   "name": "Prepare one sample alert",
   "type": "n8n-nodes-base.code",
   "typeVersion": 2,
   "position": [
    220,
    0
   ],
   "parameters": {
    "jsCode": "// 직접 작성한 교육용 샘플. 실제 회사 실적/고객 데이터 아님\nreturn [{json:{sample:true,itemCount:3,items:[{\"label\":\"실습 자료 제작\",\"count\":3},{\"label\":\"튜토리얼 점검\",\"count\":2},{\"label\":\"자동화 테스트\",\"count\":1}],text:\"노드 한 장 #50 테스트 알림\\n직접 작성한 샘플 데이터입니다. 실제 회사 실적이나 고객 정보가 아닙니다.\\n\\n실습 자료 제작: 3건\\n튜토리얼 점검: 2건\\n자동화 테스트: 1건\\n\\n교육용 메시지 1건 전송 테스트입니다.\"}}];"
   }
  },
  {
   "id": "s",
   "name": "Send one test message",
   "type": "n8n-nodes-base.slack",
   "typeVersion": 2.7,
   "position": [
    440,
    0
   ],
   "parameters": {
    "authentication": "accessToken",
    "resource": "message",
    "operation": "post",
    "select": "channel",
    "channelId": {
     "__rl": true,
     "mode": "id",
     "value": "YOUR_SLACK_CHANNEL_ID"
    },
    "messageType": "text",
    "text": "={{ $json.text }}",
    "otherOptions": {
     "includeLinkToWorkflow": false,
     "link_names": false,
     "mrkdwn": true,
     "unfurl_links": false,
     "unfurl_media": false
    }
   }
  }
 ],
 "connections": {
  "Run manually": {
   "main": [
    [
     {
      "node": "Prepare one sample alert",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Prepare one sample alert": {
   "main": [
    [
     {
      "node": "Send one test message",
      "type": "main",
      "index": 0
     }
    ]
   ]
  }
 },
 "settings": {
  "executionOrder": "v1",
  "timezone": "Asia/Seoul"
 },
 "meta": {
  "templateCredsSetupCompleted": false,
  "source": "datapopcorn.ai/workflow/nodes"
 }
}