DOCS/workflow/_archive/skill_slack_send_message_bridge.json
happybell80 45847403fe docs: workflow Phase 1 정리 — 레거시 이동, n8n 제거, IP 하드코딩 제거
- 레거시 .md 2건(slack_basic_dialogue, service_health_check)을 _archive/로 이동
- n8n .json 파일 18건을 _archive/로 이동
- README.md 전면 재작성: n8n 전제 제거, 현행 아키텍처(APScheduler DB + SKILL.md) 반영
- 구 IP(192.168.219.52)를 localhost로 교체 (infrastructure-ssot-principle 준수)

Refs: DOCS#8

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 07:48:39 +09:00

64 lines
2.0 KiB
JSON

{
"name": "robeing-skill-slack-send-message-bridge",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "skills/slack/send",
"responseMode": "responseNode",
"options": {}
},
"id": "skill-slack-001",
"name": "Webhook In",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [220, 220]
},
{
"parameters": {
"jsCode": "const body = $json.body || {};\nreturn {\n channel: body.channel,\n text: body.text,\n thread_ts: body.thread_ts || '',\n blocks: body.blocks || []\n};"
},
"id": "skill-slack-002",
"name": "Normalize Payload",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [460, 220]
},
{
"parameters": {
"resource": "message",
"operation": "post",
"channel": "={{ $json.channel }}",
"text": "={{ $json.text }}",
"otherOptions": {
"threadTs": "={{ $json.thread_ts }}"
}
},
"id": "skill-slack-003",
"name": "Post to Slack",
"type": "n8n-nodes-base.slack",
"typeVersion": 2,
"position": [710, 220]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\"success\":true,\"channel\":\"{{$('Normalize Payload').item.json.channel}}\",\"thread_ts\":\"{{$('Normalize Payload').item.json.thread_ts}}\"}",
"options": {}
},
"id": "skill-slack-004",
"name": "Return Response",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [940, 220]
}
],
"connections": {
"Webhook In": { "main": [[{ "node": "Normalize Payload", "type": "main", "index": 0 }]] },
"Normalize Payload": { "main": [[{ "node": "Post to Slack", "type": "main", "index": 0 }]] },
"Post to Slack": { "main": [[{ "node": "Return Response", "type": "main", "index": 0 }]] }
},
"pinData": {},
"meta": { "templateCredsSetupCompleted": true, "instanceId": "robeing-skills" }
}