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"
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"
}
YES
1
Squadcast incoming webhook URL
Check the Squadcast Webhook documentation for more details.
YES
Options
The options to set to customize the HTTP client
YES
Squadcast message payload
YES
duration
The time allowed to establish a connection to the server before failing.
YES
PT0S
duration
The time an idle connection can remain in the client's connection pool before being closed.
NO
UTF-8
The default charset for the request.
YES
HTTP headers
HTTP headers to include in the request
NO
10485760
The maximum content length of the response.
YES
PT5M
duration
The time allowed for a read connection to remain idle before closing it.
YES
PT10S
duration
The maximum time allowed for reading data from the server before failing.