- create slack apps
- active slack with socket mode (no need endpoint when this method active)
- add scope Oauth & Permission (BOT Scope):
- app_mentions:read
- channels:history
- chat:write
- commands
- groups:history
- im:history
- mpim:history
- reactions:write
- Event and subscription (Subscribe to bot events)
- app_mention
- message.channels
- message.groups
- message.im
- message.mpim
- Get app token(xoxp***) and bot token (xoxb***)
- open GCP console
- open API & Services -> Library
- search Google Sheets API and enable
- open API & Services -> Credentials
- Create Credentials -> Service Account (fill necessary data)
- back to API & Services scroll to bottom (Service Accounts)
- copy your service account email
- create Gsheet document
- add your service account email as an editor at gsheet doc