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

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

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. Only applies when the URL is not a Chat API message path, the Chat API is UTF-8 only.

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

Variables used to render template

Map rendered into the template context

Text override for message

Plain text that overrides or supplements the template output