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 onhttps://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.