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 Chat incoming webhook.
Incoming webhooks let you send asynchronous messages into Google Chat from
applications that aren't Chat apps. For example, you can configure a monitoring
application 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 to
register the incoming webhook.
Make an HTTP call to the webhook URL
Create a workflow
and add a step to the workflow that makes an HTTP POST call to the webhook URL.
For example:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Send notifications to Google Chat from your workflow\n\nYou can create a workflow that sends messages to a Google Chat *incoming webhook*.\nIncoming webhooks let you send asynchronous messages into Google Chat from\napplications that aren't Chat apps. For example, you can configure a monitoring\napplication to notify on-call personnel on Google Chat when a server goes down.\n\nCreate and register a Google Chat incoming webhook\n--------------------------------------------------\n\nIn the Google Chat space where you want to receive messages, create a webhook.\nFollow the instructions to\n[register the incoming webhook](https://developers.google.com/chat/how-tos/webhooks#step_1_register_the_incoming_webhook).\n\nMake an HTTP call to the webhook URL\n------------------------------------\n\n[Create a workflow](/workflows/docs/creating-updating-workflow#create_a_workflow)\nand add a step to the workflow that makes an `HTTP POST` call to the webhook URL.\nFor example:\n\n\u003cbr /\u003e\n\n### YAML\n\n```yaml\n - get_message:\n call: http.post\n args:\n url: WEBHOOK_URL\n body:\n text: \"Hello world!\"\n headers:\n Content-Type: \"application/json; charset=UTF-8\"\n result: response\n - return_value:\n return: ${response}\n```\n\n### JSON\n\n```json\n [\n {\n \"get_message\": {\n \"call\": \"http.post\",\n \"args\": {\n \"url\": \"\u003cvar translate=\"no\"\u003eWEBHOOK_URL\u003c/var\u003e\",\n \"body\": {\n \"text\": \"Hello world!\"\n },\n \"headers\": {\n \"Content-Type\": \"application/json; charset=UTF-8\"\n }\n },\n \"result\": \"response\"\n }\n },\n {\n \"return_value\": {\n \"return\": \"${response}\"\n }\n }\n ]\n```\n\n\u003cbr /\u003e\n\nReplace \u003cvar translate=\"no\"\u003eWEBHOOK_URL\u003c/var\u003e with the webhook URL that you copied\nwhen registering the incoming webhook.\n\nYou can confirm that the workflow works as expected by ensuring that a\nnotification is sent to your Google Chat space.\n\nWhat's next\n-----------\n\n- [Learn more about making HTTP requests](/workflows/docs/http-requests)\n- [Learn more about Workflows](/workflows/docs/overview)"]]