
Squadcast SquadcastExecution
CertifiedSend Squadcast alert with execution context
Squadcast SquadcastExecution
Send Squadcast alert with execution context
Builds a templated Squadcast payload containing execution ID, namespace, flow name, timings, and status. Use only from Flow trigger alerts; for errors tasks prefer SquadcastIncomingWebhook.
type: io.kestra.plugin.squadcast.SquadcastExecutionExamples
Send a Squadcast alert via incoming webhook
id: failure_alert
namespace: company.team
tasks:
- id: send_alert
type: io.kestra.plugin.squadcast.SquadcastExecution
url: "{{ secret('SQUADCAST_WEBHOOK') }}" # format: https://api.squadcast.com/v2/incidents/api/xyzs
message: "Kestra Squadcast alert"
priority: P1
eventId: "6"
status: trigger
tags:
severity: high
tagName1: tagValue1
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
message *Requiredstring
Set incident message
Required alert message shown in Squadcast after template rendering
url *Requiredstring
1Squadcast Incoming Webhook URL
Full webhook endpoint from Squadcast (includes token); keep in a secret. See Squadcast Webhook docs.
customFields object
Custom fields to be added on notification
customMessage string
Custom message to be added on notification
eventId string
Incident event identifier
Unique event ID to correlate trigger/resolve calls; required by Squadcast when updating incidents
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.
options
Configure HTTP client options
Optional HTTP overrides for Squadcast calls; defaults keep a 10s read timeout, 5m idle timeout, UTF-8 charset, and 10 MiB response cap
io.kestra.plugin.squadcast.AbstractSquadcastConnection-RequestOptions
Set connect timeout before failing
Time allowed to establish the TCP connection; uses the global HTTP default when unset
PT0SEvict idle pooled connections
How long an idle pooled connection stays open; default 0s closes it immediately after use
UTF-8Set default request charset
Charset used when encoding request bodies; defaults to UTF-8
java.nio.charset.Charset
Add custom HTTP headers
Additional headers appended to the request; supports templating per execution
10485760Cap response content size
Maximum response size in bytes; defaults to 10 MiB
PT5MClose idle read connections
Idle read timeout before closing the connection; defaults to 5 minutes
PT10SLimit response read duration
Maximum time to read the response before failing; defaults to 10s
payload string
Raw JSON payload
JSON body sent as-is after template rendering; must include Squadcast-required fields such as status and event_id
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
priority string
Incident priority code
One of P1–P5; invalid values fall back to Squadcast "Unset"
status string
Incident status action
Squadcast action such as trigger or resolve; controls incident lifecycle
templateRenderMap object
Render variables for template
Data map provided to the message template before JSON parsing