
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 *string
Set incident message
Required alert message shown in Squadcast after template rendering
url *string
1Squadcast Incoming Webhook URL
Full webhook endpoint from Squadcast (includes token); keep in a secret. See Squadcast Webhook docs.
assets
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.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset 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.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150customFields 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
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