GoogleChatIncomingWebhook
yaml
type: "io.kestra.plugin.notifications.google.googlechatincomingwebhook"
Examples
yaml
id: unreliable_flow
namespace: company.team
tasks:
- id: fail
type: io.kestra.plugin.scripts.shell.Commands
runner: PROCESS
commands:
- exit 1
errors:
- id: alert_on_failure
type: io.kestra.plugin.notifications.google.GoogleChatIncomingWebhook
url: "{{ secret('GOOGLE_WEBHOOK') }}" # https://chat.googleapis.com/v1/spaces/xzy/messages?threadKey=errorThread
payload: |
{
"text": "Google Chat Alert"
}
yaml
id: google_incoming_webhook
namespace: company.team
tasks:
- id: send_google_chat_message
type: io.kestra.plugin.notifications.google.GoogleChatIncomingWebhook
url: "{{ secret('GOOGLE_WEBHOOK') }}"
payload: |
{
"text": "Google Chat Hello"
}
Properties
Definitions
java.nio.charset.Charset
io.kestra.plugin.notifications.AbstractHttpOptionsTask-RequestOptions
connectTimeout string
Format
duration
connectionPoolIdleTimeout string
Default
PT0S
Format
duration
defaultCharset Charsetstring
Default
UTF-8
headers object
SubType string
maxContentLength integerstring
Default
10485760
readIdleTimeout string
Default
PT5M
Format
duration
readTimeout string
Default
PT10S
Format
duration