
SquadcastIncomingWebhook
Send a Squadcast message using an Incoming Webhook.
Add this task to send direct Squadcast notifications. Check the Squadcast documentation for more details.
type: "io.kestra.plugin.notifications.squadcast.SquadcastIncomingWebhook"Examples
Send a Squadcast alert via incoming webhook
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
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
url*Requiredstring
1Squadcast incoming webhook URL
Check the Squadcast Webhook documentation for more details.
options
Options
The options to set to customize the HTTP client
io.kestra.plugin.notifications.AbstractHttpOptionsTask-RequestOptions
durationThe time allowed to establish a connection to the server before failing.
PT0SdurationThe time an idle connection can remain in the client's connection pool before being closed.
UTF-8The default charset for the request.
java.nio.charset.Charset
HTTP headers
HTTP headers to include in the request
10485760The maximum content length of the response.
PT5MdurationThe time allowed for a read connection to remain idle before closing it.
PT10SdurationThe maximum time allowed for reading data from the server before failing.
payloadstring
Squadcast message payload