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.