SquadcastIncomingWebhook​Squadcast​Incoming​Webhook

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 length 1

Squadcast incoming webhook URL

Check the Squadcast Webhook documentation for more details.

Options

The options to set to customize the HTTP client

Squadcast message payload

Format duration

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

Default PT0S
Format duration

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

Default UTF-8

The default charset for the request.

SubType string

HTTP headers

HTTP headers to include in the request

Default 10485760

The maximum content length of the response.

Default PT5M
Format duration

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

Default PT10S
Format duration

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