Automate aggregating number of messages and reduce workload
Reduce workload for staffs aggregating posted messages.
This app will:
- Enter the Slack Channel ID, Google Spread Sheet ID and set period of time. Then run the application, it will automatically update Google Spreadsheet with results.
Before running any scripts, you'll need additional setups. After 2 steps, you should run the next command.
$ pip install-r requirements.txt
$ python app.pySteps:
- Setup API key and environment variables
- Visit Google Developer Console and create a new project.
- Enable Google Sheets API
- Create service account
- Create OAuth 2.0 client ID
- Download JSON files (Name the file as
client_secret.jsonfrom service account andcredentials.jsonfrom 0Auth 2.0 client ID), set files in root directory.
- Acces Slack API and create a new app
- Set permission. The permisson should cover :
- conversations.history, conversations.replies and users.info
- Issue a token
After creating all necessary keys, run next command and paste appropriate values. Please modefy the SECRET_KEY.
$ cp .env.example .env_Note: To develop this app with Pyhon, making virtual environment is recommended.
Enter the Slack Channel ID, Google Spread Sheet ID and set period of time.
Then click the submit button to get messages and update Google Spreadsheet.
This app is:
- Expected to be a temporary solution
- Not designed to be scalable
- Not designed for mobile or with accessability (some are included in UI library)