Google Workspace GoogleChatExecution

Google Workspace GoogleChatExecution

Certified

Send execution summary to Google Chat

Posts a templated message with execution link, ID, namespace, flow name, start time, duration, and status; includes failing task when applicable. Use in flows triggered by Flow alerts, not in errors handlers—prefer GoogleChatIncomingWebhook there.

yaml
type: io.kestra.plugin.googleworkspace.chat.GoogleChatExecution

Send a Google Chat notification on a failed flow execution.

yaml
id: failure_alert
namespace: company.team

tasks:
  - id: send_alert
    type: io.kestra.plugin.googleworkspace.chat.GoogleChatExecution
    url: "{{ secret('GOOGLE_WEBHOOK') }}" # format: https://chat.googleapis.com/v1/spaces/xzy/messages
    text: "Google Chat Notification"
    executionId: "{{trigger.executionId}}"

triggers:
  - id: failed_prod_workflows
    type: io.kestra.plugin.core.trigger.Flow
    conditions:
      - type: io.kestra.plugin.core.condition.ExecutionStatus
        in:
          - FAILED
          - WARNING
      - type: io.kestra.plugin.core.condition.ExecutionNamespace
        namespace: prod
        prefix: true
Properties
Min length1

Incoming Google Chat webhook URL

Full Chat webhook endpoint (e.g. https://chat.googleapis.com/v1/spaces/.../messages); threadKey may be included

Custom fields to be added on notification

Custom message to be added on notification

Default{{ execution.id }}

The execution id to use

Default is the current execution, change it to {{ trigger.executionId }} if you use this task with a Flow trigger to use the original execution.

Configure HTTP client options

Optional HTTP settings (timeouts, charset, headers) applied to webhook calls

Definitions
connectTimeoutstring

Connect timeout for webhook calls

Max time to open the connection before failing

connectionPoolIdleTimeoutstring
DefaultPT0S

Connection pool idle timeout

How long an idle connection stays in the pool; default PT0S

defaultCharsetstring
DefaultUTF-8

Default charset for requests

Request charset; default UTF-8

headersobject

Custom HTTP request headers

Optional headers to add to every request

maxContentLengthintegerstring
Default10485760

Maximum response body size

Maximum response body length; default 10MB

readIdleTimeoutstring
DefaultPT5M

Idle timeout during read

Idle time on an open connection before closing; default PT5M

readTimeoutstring
DefaultPT10S

Read timeout for responses

Max time to read data before failing; default PT10S

JSON payload sent to Chat

Raw JSON body sent to Chat

Reference (ref) of the pluginDefaults to apply to this task.

Variables used to render template

Map rendered into the template context

Text override for message

Plain text that overrides or supplements the template output