Send notifications to Google Chat from your workflow Stay organized with collections Save and categorize content based on your preferences.
You can create a workflow that sends messages to a Google Chatincoming webhook.Incoming webhooks let you send asynchronous messages into Google Chat fromapplications that aren't Chat apps. For example, you can configure a monitoringapplication to notify on-call personnel on Google Chat when a server goes down.
Create and register a Google Chat incoming webhook
In the Google Chat space where you want to receive messages, create a webhook.Follow the instructions toregister the incoming webhook.
Make an HTTP call to the webhook URL
Create a workflowand add a step to the workflow that makes anHTTP POST call to the webhook URL.For example:
YAML
-get_message:call:http.postargs:url:WEBHOOK_URLbody:text:"Helloworld!"headers:Content-Type:"application/json;charset=UTF-8"result:response-return_value:return:${response}
JSON
[{"get_message":{"call":"http.post","args":{"url":"WEBHOOK_URL","body":{"text":"Hello world!"},"headers":{"Content-Type":"application/json; charset=UTF-8"}},"result":"response"}},{"return_value":{"return":"${response}"}}]
ReplaceWEBHOOK_URL with the webhook URL that you copiedwhen registering the incoming webhook.
You can confirm that the workflow works as expected by ensuring that anotification is sent to your Google Chat space.
What's next
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.