Send and close SIGNL4 alerts using the SIGNL4 inbound webhook (team secret in URL).
Use this skill to interact with SIGNL4 via its **inbound webhook**:
Authentication is handled via the **team secret embedded in the webhook URL**.
Webhook documentation:
https://docs.signl4.com/integrations/webhook/webhook.html
---
The following environment variable must be set:
Optional (advanced):
---
Required:
Optional:
Required:
---
Set the webhook URL:
```sh
WEBHOOK_URL="${SIGNL4_WEBHOOK_BASE:-https://connect.signl4.com/webhook}/${SIGNL4_TEAM_SECRET}"
```
Send the alert:
```sh
curl -sS -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{
"Title": "<TITLE>",
"Message": "<MESSAGE>",
"X-S4-ExternalID": "<EXTERNAL_ID>",
"X-S4-Status": "new",
"X-S4-Service": "<OPTIONAL_SERVICE>",
"X-S4-AlertingScenario": "<OPTIONAL_SCENARIO>",
"X-S4-Location": "<OPTIONAL_LAT_LONG>",
"X-S4-SourceSystem": "OpenClaw"
}'
```
- Title
- External ID
- Optional service/scenario
If the request fails:
---
To close an alert, you must:
```sh
curl -sS -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{
"X-S4-ExternalID": "<EXTERNAL_ID>",
"X-S4-Status": "resolved"
}'
```
---
Leave a review
No reviews yet. Be the first to review this skill!