This is a response chatbot in public channels through slash commands. I explain more in detail through the YouTube video, but it's only available in Korean.
When you request the created slash command in Slack, the request comes to the webhook. Then, the Switch Node branches appropriately according to each slash command request. Here, a slash command called /ask
is connected to the chatbot, and the chatbot generates answers to the questions asked. The final node responds to the channel.
chat:write
permission in Slack OAuth&Permissions>Scopes.<br />
<br />
슬래시 커맨드를 통한 공개 채널에서의 응답 챗봇 입니다. 유튜브 영상에 더 자세하게 설명 드립니다.
슬랙에 생성한 슬래시 커맨드를 슬랙에서 요청하면 웹훅에 요청이 들어옵니다. 이후 Switch Node에서 각 슬래시 커맨드의 요청에 따라 알맞게 분기합니다. 여기에서는 /ask
라는 슬래시 커맨드가 챗봇으로 연결되어 있고, 챗봇에서 질문한 내용의 답변을 생성합니다. 마지막 노드에서 채널로 응답을 합니다.
chat:write
권한을 추가하세요.