Automating Slack with workflows

  • Automation
  • Slack CLI

 

Customizing Slack with apps

  • Start learning
  • Authentication
  • Messaging
    • Managing messages
      • Retrieving
      • Sending
      • Modifying
      • Scheduling
      • Webhooks
    • Composing messages
    • ...
  • ...

 

Your Apps

  • 일단 App 생성
    • https://api.slack.com/apps
    • Settings
      • Basic Information
        • Building Apps for Slack
          • Add features and functionality
            • Incoming Webhooks : ...
            • Interactive Components : ...
            • Slash Commands : ...
            • Event Subscriptions : ...
            • Bots : App이, 채널에서 대화 할 수 있도록 하는 봇 기능.
            • Permissions : App에, 허용할 권한 셋팅.
          • Install your app
          • Manage distribution
        • App Credentials
        • App-Level Tokens
        • Display Information
          • 딱... 512x512 or 2000x2000 정싸이즈 아니면... 안됨;;;
          • 리싸이즈 프로세서 따원 절때 만들지 안겠다는... 의지 인가? ㅎㅎ
        • Delete App
          • App 제거
      • Collaborators
      • Socket Mode
      • Install App
      • Manage Distribution
    • Features
      • App Home
        • ...
        • First, assign a scope to your bot token -> [Review Scopes to Add]
          • bot token 의 scope 를 셋팅 하였다.
        • ...
      • ...
      • OAuth & Permissions
        • Scopes
          • Bot Token Scopes : chat:write, ...
          • User Token Scopes : ...
        • OAuth Tokens for Your Workspace -> [Install to Workspace]
          • 활용할 Workspace 에 해당 권한을 부여하고,  "OAuth Token"이 발급 되었다.
      • ...
      •  

Ex) 워크스페이스 채널에 봇 추가 및 메세지 전송

  • https://api.slack.com/apps 이동
  • Create App -> Select From scratch -> ...
  • OAuth & Permissions -> Bot Token Scopes -> ['chat:write.public', 'chat:write', 'channels:read']
  • Install to Workspace
  • 알람 채널로 이동 -> /invite @AlarmByLee22
  • ??? Orb Level ???

참고 : https://api.slack.com/quickstart

참고 : https://api.slack.com/messaging/sending

-끝-

'빅브로 들' 카테고리의 다른 글

유튜브와 파이 (youtube-dl, pytube, pytchat, ...)  (0) 2023.11.21
OBS  (0) 2023.11.21
DISCORD  (0) 2021.05.05
sendbird  (0) 2021.04.28
firebase  (0) 2020.12.02

+ Recent posts