Send a Google Chat via Google Chat Webhook

It would help if there was a node for: Google Chat Webhook

We can either create or enhance the current “Create a Message” to accept Google Chat Webhook (new credentials type).

My use case:

Due to how my employer sets my Google Chat, I can’t just make automation that sends message as certain installed apps. Google handles this by introducing Google Chat Webhook. This way, I can just build my own automation to just do a HTTP call to sends out a one way chat, just like Discord Webhook.

While I can setup this using HTTP Request node + Custom HTTP Header Credential, juggling the credentials for testing stuff is not easy.

To give you some illustrations, here are the Google Chat Webhook URL Sample:

https://chat.googleapis.com/v1/spaces/SPACE_ID/messages?key=KEY&token=TOKEN&messageReplyOption=REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD

When I need to switch the channel/credential, I need to update 2 things:

  • URL (the SPACE_ID part on https://chat.googleapis.com/v1/spaces/SPACE_ID/messages)
  • Credentials (the key=KEY&token=TOKEN part from ?key=KEY&token=TOKEN&messageReplyOption=REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD)

This is not productive. Adding capabilities to current Google Chat node will help increase my productivity by allowing me switching the credentials much faster.

Any resources to support this?

Please see the following resouces on Google Chat documentations:

Are you willing to work on this?

Yes. I can send a PR for this.

Hi chez,

Im also facing and trying to use Google chat app and getting all the messages from either the space or dm to app and then respond to that.

The problem is I can’t get all the messages from space unless I use @mention. Or I can’t respond to the dm to the app. I’ve seen a YouTube video in which make.com have this node that let’s you respond to Google chat. If you have something like that built it would be great