
GoogleChatIncomingWebhook
GoogleChatIncomingWebhook
yaml
type: "io.kestra.plugin.googleworkspace.chat.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.googleworkspace.chat.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.googleworkspace.chat.GoogleChatIncomingWebhook
url: "{{ secret('GOOGLE_WEBHOOK') }}"
payload: |
{
"text": "Google Chat Hello"
}
Properties
url*Requiredstring
Min length
1options
Definitions
io.kestra.plugin.googleworkspace.chat.AbstractChatConnection-RequestOptions
connectTimeoutstring
Format
durationconnectionPoolIdleTimeoutstring
Default
PT0SFormat
durationdefaultCharsetstring
Default
UTF-8java.nio.charset.Charset
headersobject
SubTypestring
maxContentLengthintegerstring
Default
10485760readIdleTimeoutstring
Default
PT5MFormat
durationreadTimeoutstring
Default
PT10SFormat
duration