Linguo is a Slack bot that corrects corporate-speak. Linguo uses the Google Cloud Natural Language API.
1. Deploy this repository to Heroku
2. Create a Slack app
Visit the Slack Apps page and create a new app. Give your app a name, Linguo, and specify the workplace you would like Linguo to patrol.
3. Subscribe to Slack events
Visit the Events Subscriptions page for your Slack app and verify your request URL. Yours will look something like
Once you have verified your request URL, subscribe to the messages.channels event. This will allow Linguo to listen to messages in your public slack channels.
4. Create a Google Cloud project
Sign up for Google Cloud account and then create a new project by visiting the Manage Resources page. You can name it whatever you'd like. The Google Cloud NLP API analyzes the syntax of words to determine if they have been used correctly.
5. Add API credentials to your Heroku app
Now that you have set up all of the necessary accounts, add your API credentials to your Heroku app.
And that's it. From now on, Linguo will correct a Slack user when they use corporate-speak (e.g. "What is your ask?").