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"
}
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
duration
The time allowed to establish a connection to the server before failing.
PT0S
duration
The time an idle connection can remain in the client's connection pool before being closed.
UTF-8
The default charset for the request.
HTTP headers
HTTP headers to include in the request
10485760
The maximum content length of the response.
PT5M
duration
The time allowed for a read connection to remain idle before closing it.
PT10S
duration
The maximum time allowed for reading data from the server before failing.