"인터넷은 내일의 지구촌을 위한 마을 광장이 되고 있다."
chat:write → 메시지 보내기 (필수) channels:read → 채널 목록 읽기 channels:history → 채널 메시지 기록 읽기 files:write → 파일 업로드 users:read → 사용자 정보 읽기
// 채널로 보낼 때 Channel: #general Channel: #팀-알림 // DM으로 보낼 때 (사용자 ID 입력) Channel: U08ABC123DE → Slack에서 사람 이름 클릭 → 프로필 → 더보기(⋯) → 멤버 ID 복사
[ { "type": "header", "text": { "type": "plain_text", "text": "📢 자동화 알림" } }, { "type": "divider" }, { "type": "section", "text": { "type": "mrkdwn", "text": "*발신자:* {{ $json.발신자 }} *내용:* {{ $json.메시지 }}" } } ]
안녕하세요! :wave: {{ $json.발신자 }} 이 보낸 자동화 메시지입니다. 날짜: {{ $now.toFormat("yyyy-MM-dd HH:mm") }} :tada:
[ { "type": "header", "text": { "type": "plain_text", "text": "📢 자동화 알림" } }, { "type": "divider" }, { "type": "section", "text": { "type": "mrkdwn", "text": "*내용:* {{ $json.메시지 }} *시각:* {{ $now.toFormat('yyyy-MM-dd HH:mm') }}" } } ]
⋯