
Zenduty ZendutyExecution
CertifiedNotify Zenduty on flow execution
Zenduty ZendutyExecution
Notify Zenduty on flow execution
Sends a templated Zenduty message with execution link, namespace, flow, start time, duration, status, and failing task (if any). Use only in Flow trigger notifications; for errors handlers prefer ZendutyAlert.
type: io.kestra.plugin.zenduty.ZendutyExecutionExamples
Send a Zenduty notification on a failed flow execution.
id: zenduty_failure_alert
namespace: company.team
tasks:
- id: send_alert
type: io.kestra.plugin.zenduty.ZendutyExecution
url: "https://www.zenduty.com/api/events/{{ secret('ZENDUTY_INTEGRATION_KEY') }}/"
executionId: "{{ trigger.executionId }}"
message: Kestra workflow execution {{ trigger.executionId }} of a flow {{ trigger.flowId }} in the namespace {{ trigger.namespace }} changed status to {{ trigger.state }}
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
url *Requiredstring
1Zenduty Events API URL
Full Events API endpoint including integration key, e.g. https://www.zenduty.com/api/events/<integration_key>/
alertType string
CRITICALACKNOWLEDGEDRESOLVEDERRORWARNINGINFOAlert severity
Zenduty alert type value rendered to lowercase string
customFields object
Custom fields to be added on notification
customMessage string
Custom message to be added on notification
entityId string
Alert entity id
Optional unique id for the alert; Zenduty generates one if omitted
executionId string
{{ 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.
message string
Event title
Rendered into message in the Zenduty payload
options
Tune Zenduty HTTP client
Optional HTTP client settings such as timeouts, charset, headers, and response size limits. Defaults: read timeout 10s, read idle timeout 5m, connection pool idle timeout 0s (no reuse), max content length 10 MB, charset UTF-8
io.kestra.plugin.zenduty.AbstractZendutyConnection-RequestOptions
Connection timeout before failing
PT0SConnection pool idle timeout
Defaults to 0s; disables keeping idle connections in the pool
UTF-8Request charset
Defaults to UTF-8 for request encoding
java.nio.charset.Charset
HTTP headers
Additional headers to include on the Zenduty request; supports expression rendering
10485760Maximum response size
Defaults to 10 MB; responses larger than this fail
PT5MIdle read timeout
Defaults to 5m; closes the connection if no data is read during this interval
PT10SRead timeout before failing
Defaults to 10s; aborts if the server does not send data within this duration
payload string
Alert payload JSON
Raw JSON body sent to Zenduty; supports expressions before send
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
summary string
Event summary
Rendered into summary in the Zenduty payload
templateRenderMap object
Template variables map
Values injected into the template; supports expressions
urls array
Related URLs
List of URLs added under urls in the payload