- GCP
- Google Cloud Billing
- Google Cloud Pub/Sub
- Google Cloud Functions
- Python 3.9
- Slack bot
- Access to Slack API and creat a bot
- In "App Home" Add, "App Display Name"
- In "OAuth & Permissions" > "Scopes" > "Bot Token Scopes", set chat:write "Send messages as ~"
- "Install App to Workspace"
- Copy "Bot User OAuth Access Token"
- Set BOT_ACCESS_TOKEN, CHANNEL_ID vars
- Set cloud Pub/Sub topics as a Trigger
complete!!
This is under MIT license .