GoogleChatIncomingWebhook ​Google​Chat​Incoming​Webhook

yaml
type: "io.kestra.plugin.notifications.google.googlechatincomingwebhook"
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
Min length 1
Format duration
Default PT0S
Format duration
Default UTF-8
SubType string
Default 10485760
Default PT5M
Format duration
Default PT10S
Format duration