π¦ ClawHub
SIGNL4 Alerting
by @rons4
Send and close SIGNL4 alerts using the SIGNL4 inbound webhook (team secret in URL).
TERMINAL
clawhub install signl4π About This Skill
name: signl4 description: Send and close SIGNL4 alerts using the SIGNL4 inbound webhook (team secret in URL). metadata: {"openclaw":{"emoji":"π¨","requires":{"bins":["curl"],"env":["SIGNL4_TEAM_SECRET"]},"primaryEnv":"SIGNL4_TEAM_SECRET"}}
Overview
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
Required configuration
The following environment variable must be set:SIGNL4_TEAM_SECRET β the SIGNL4 team secret used in the webhook URLOptional (advanced):
SIGNL4_WEBHOOK_BASE β defaults to https://connect.signl4.com/webhookInputs to gather from the user
When sending an alert
Required:Optional:
X-S4-Service)X-S4-AlertingScenario β e.g. single_ack, multi_ack, emergency)X-S4-Location, format: "lat,long")When closing an alert
Required:How to send an alert
Rules
X-S4-ExternalID if the alert might need to be closed later.X-S4-Status: "new" to create an alert.Command template
Set the webhook URL:WEBHOOK_URL="${SIGNL4_WEBHOOK_BASE:-https://connect.signl4.com/webhook}/${SIGNL4_TEAM_SECRET}"
Send the alert:
curl -sS -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{
"Title": "",
"Message": "",
"X-S4-ExternalID": "",
"X-S4-Status": "new",
"X-S4-Service": "",
"X-S4-AlertingScenario": "",
"X-S4-Location": "",
"X-S4-SourceSystem": "OpenClaw"
}'
What to report back
If the request fails:
SIGNL4_TEAM_SECRET is set and correctHow to close (resolve) an alert
Rules
To close an alert, you must:X-S4-Status to resolvedCommand template
curl -sS -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{
"X-S4-ExternalID": "",
"X-S4-Status": "resolved"
}'
What to report back
Security notes
SIGNL4_TEAM_SECRET as confidentialπ Constraints
X-S4-ExternalID if the alert might need to be closed later.X-S4-Status: "new" to create an alert.Command template
Set the webhook URL:WEBHOOK_URL="${SIGNL4_WEBHOOK_BASE:-https://connect.signl4.com/webhook}/${SIGNL4_TEAM_SECRET}"
Send the alert:
curl -sS -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{
"Title": "",
"Message": "",
"X-S4-ExternalID": "",
"X-S4-Status": "new",
"X-S4-Service": "",
"X-S4-AlertingScenario": "",
"X-S4-Location": "",
"X-S4-SourceSystem": "OpenClaw"
}'
What to report back
If the request fails:
SIGNL4_TEAM_SECRET is set and correct