SquadcastIncomingWebhookSquadcastIncomingWebhook
​Squadcast​Incoming​WebhookCertified

Send a Squadcast message using an Incoming Webhook.

Add this task to send direct Squadcast notifications. Check the Squadcast documentation for more details.

yaml
type: "io.kestra.plugin.notifications.squadcast.SquadcastIncomingWebhook"

Send a Squadcast alert via incoming webhook

yaml
id: squadcast_notification
namespace: company.team

tasks:
  - id: send_squadcast_message
    type: io.kestra.plugin.notifications.squadcast.SquadcastIncomingWebhook
    url: "{{ secret('SQUADCAST_WEBHOOK') }}"
    payload: |
      {
        "message": "Alert from Kestra flow {{ flow.id }}",
        "description": "Error occurred in task {{ task.id }}",
        "tags": {
          "flow": "{{ flow.namespace }}.{{ flow.id }}",
          "execution": "{{ execution.id }}",
          "severity": "Critical"
        },
        "status": "trigger",
        "event_id": "1"
      }

Resolve a Squadcast incident using event ID

yaml
id: squadcast_notification
namespace: company.team
tasks:
  - id: send_squadcast_message
    type: io.kestra.plugin.notifications.squadcast.SquadcastIncomingWebhook
    url: "{{ secret('SQUADCAST_WEBHOOK') }}"
    payload: |
      {
        "status": "resolve",
        "event_id": "1"
      }
Properties
Min length1

Squadcast incoming webhook URL

Check the Squadcast Webhook documentation for more details.

Options

The options to set to customize the HTTP client

Definitions
connectTimeoutstring
Formatduration

The time allowed to establish a connection to the server before failing.

connectionPoolIdleTimeoutstring
DefaultPT0S
Formatduration

The time an idle connection can remain in the client's connection pool before being closed.

defaultCharsetstring
DefaultUTF-8

The default charset for the request.

headersobject
SubTypestring

HTTP headers

HTTP headers to include in the request

maxContentLengthintegerstring
Default10485760

The maximum content length of the response.

readIdleTimeoutstring
DefaultPT5M
Formatduration

The time allowed for a read connection to remain idle before closing it.

readTimeoutstring
DefaultPT10S
Formatduration

The maximum time allowed for reading data from the server before failing.

Squadcast message payload