How to Send Google Cloud Billing Alerts to Slack

Tadashi Shigeoka ·  Sat, October 9, 2021

I’ll introduce how to send Google Cloud billing alerts to Slack.

Google Cloud

Background: Want to send Google Cloud billing alert emails to Slack

This article is about researching how to configure Google Cloud billing alert emails to be sent to a specific Slack channel.

Notify to Slack using Zapier

Referring to the above article, I set up notifications in the flow Gmail -> Slack.

Notify to Slack using Cloud Pub/Sub and Cloud Functions

With the method described in the above articles, you need to use:

  1. Cloud Pub/Sub
  2. Cloud Functions
  3. Slack Incoming Webhook

Since managing Cloud Functions code and setting up deployment flows is somewhat cumbersome, I haven’t put this into practice.

That’s all from the Gemba.