Skip to content

Google Cloud-based SlackBot (a bot that wanted to be born on Whatsapp but ended up on Slack) to randomly generate a PM phrase for you.

Notifications You must be signed in to change notification settings

dai-anna/DukeMIDS-CloudFunctions-SlackBotPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP Cloud Functions - Slack Bot Project Manager

Brief Description

This is a slash command chatbot on Slack that is hosted entirely on the cloud. One serverless Cloud Function sends JSON payloads with HTTP trigger to a Firestore Database, which hosts all my chatbot messages. Another Cloud Function gets triggered via HTTP through the Slack API with their slash command trigger, pulls a random message from my database and returns it to Slack.

I added an additional function where we can write to the database using a CLI tool: PMBot.py instead of cURLing or directly using my Google Cloud Function trigger. In the same CLI tool, I also have an option to pull a random message from my database similar to Slack.

SlackBot Demo Screen Shot 2021-10-08 at 4 26 21 PM

CLI Tool Demo Screen Shot 2021-10-08 at 4 34 28 PM

Architectural Diagram

About

Google Cloud-based SlackBot (a bot that wanted to be born on Whatsapp but ended up on Slack) to randomly generate a PM phrase for you.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published