Actions11
Incoming Webhook → Create
AI-generatedOverview
This node allows sending messages to Google Chat via an Incoming Webhook URL. It supports creating messages either by providing a simple text message or a full JSON message object. This is useful for automating notifications, alerts, or any chat messages in Google Chat spaces using webhooks.
Use Case Examples
- Send a plain text notification to a Google Chat space using an Incoming Webhook URL.
- Send a complex message with cards and formatting by providing a JSON message object to the Incoming Webhook.
Properties
| Name | Meaning |
|---|---|
| Incoming Webhook URL | The URL for the incoming webhook to which the message will be sent. |
| JSON Parameters | Determines whether the message is passed as a JSON object/string or as simple text parameters. |
| Message | The message content to send. Can be a simple text string or a JSON object depending on the JSON Parameters setting. |
| Additional Fields | Optional additional fields such as Thread Key to group messages into a single thread. |
Output
JSON
response- The response from the Google Chat API after sending the message.
Dependencies
- Requires an API key credential for Google API authentication to send messages via the webhook URL.
Troubleshooting
- If the Incoming Webhook URL is invalid or missing, the node will throw an error. Ensure the URL is correct and accessible.
- If JSON Parameters is enabled, the JSON message must be valid JSON; otherwise, an error will be thrown.
- If the message text is empty when JSON Parameters is disabled, the node will throw an error indicating that message text must be provided.
Links
- Google Chat Guide To Webhooks - Official Google documentation on how to use incoming webhooks with Google Chat.
- Google Chat Guide To Creating Messages - Official Google documentation on the message object structure for Google Chat API.