OpenParable
Skip to content
← Back to skills

Message Dispatcher

Apps & Automation
message-dispatcher

Message Dispatcher is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

이메일 및 카카오톡 알림톡 통합 발송 관리

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/message-dispatcher/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/message-dispatcher, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Message Dispatcher 스킬

🎯 역할

생성된 콘텐츠를 소원이에게 발송:

  1. 이메일 발송: SendGrid 연동
  2. 카카오톡 발송: Solapi 알림톡
  3. 스케줄링: 예약 발송 관리

📥 입력

{
  "recipient": {
    "name": "소원이 이름",
    "phone": "010-0000-0000",
    "email": "[email protected]"
  },
  "channel": "kakao|email|both",
  "content": {
    "type": "message|pdf|magic-link",
    "body": "메시지 내용",
    "attachments": []
  },
  "schedule": "2025-12-22T09:00:00+09:00"
}

📤 출력

{
  "success": true,
  "messageId": "msg_123456",
  "channel": "kakao",
  "sentAt": "2025-12-22T09:00:01+09:00",
  "status": "delivered"
}

📡 발송 채널

카카오톡 (Solapi) ✅ 구현 완료

구현 파일: services/solapiService.js

채널 정보:

API 함수:

// 알림톡 발송
sendKakaoAlimtalk(to, templateId, variables)

// SMS 발송 (fallback)
sendSMS(to, text)

// 소원 ACK 발송 (통합)
sendWishAck(phone, wishData)

// RED 신호 긴급 알림
sendRedAlert(wishData)

환경변수:

SOLAPI_API_KEY=       # Solapi API 키
SOLAPI_API_SECRET=    # Solapi API 시크릿
SOLAPI_PFID=          # 카카오 채널 ID
SENDER_PHONE=18996117 # 발신번호
SOLAPI_TEMPLATE_WISH_ACK=  # 소원 ACK 템플릿 ID (승인 후)
CRO_PHONE=            # RED 알림 수신자 (재미)

메시지 템플릿: config/messageTemplates.js

  • generateWishAckMessage() - 소원 접수 ACK
  • generateRedAlertMessage() - RED 신호 긴급 알림

이메일 (SendGrid)

  • HTML 템플릿
  • PDF 첨부 가능
  • 열람 추적

⚡ 속도 기준

  • 목표: 3초
  • 최대: 5초

🔗 의존

← wish-writer (메시지) ← roadmap-generator (PDF) → comi-orchestrator (발송 로그)