Squadcast SquadcastExecution

Squadcast SquadcastExecution

Certified

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.

yaml
type: io.kestra.plugin.squadcast.SquadcastExecution

Send a Squadcast alert via incoming webhook

yaml
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
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-squadcast --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.

Properties

Set incident message

Required alert message shown in Squadcast after template rendering

Min length1

Squadcast Incoming Webhook URL

Full webhook endpoint from Squadcast (includes token); keep in a secret. See Squadcast Webhook docs.

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

Incident event identifier

Unique event ID to correlate trigger/resolve calls; required by Squadcast when updating incidents

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 overrides for Squadcast calls; defaults keep a 5m idle timeout and UTF-8 charset

Definitions
connectTimeoutstring

Set connect timeout before failing

Time allowed to establish the TCP connection; uses the global HTTP default when unset

connectionPoolIdleTimeoutstring
DefaultPT0S

Evict idle pooled connections

Deprecated, this option has no effect: Kestra's HTTP client does not support a connection pool idle timeout.

defaultCharsetstring
DefaultUTF-8

Set default request charset

Charset used when encoding request bodies; defaults to UTF-8

headersobject

Add custom HTTP headers

Additional headers appended to the request; supports templating per execution

maxContentLengthintegerstring
Default10485760

Cap response content size

Deprecated, this option has no effect: Kestra's HTTP client does not limit the response size.

readIdleTimeoutstring
DefaultPT5M

Close idle read connections

Idle read timeout before closing the connection; defaults to 5 minutes

readTimeoutstring
DefaultPT10S

Limit response read duration

Deprecated, this option has no effect: Kestra's HTTP client has no separate read timeout. Use readIdleTimeout instead.

Raw JSON payload

JSON body sent as-is after template rendering; must include Squadcast-required fields such as status and event_id

Incident priority code

One of P1–P5; invalid values fall back to Squadcast "Unset"

Incident status action

Squadcast action such as trigger or resolve; controls incident lifecycle

Tags applied to incident

Key-value tags added to the incident payload after template rendering

Render variables for template

Data map provided to the message template before JSON parsing