Back to Catalog
job-config.json
{
"config": {
"body": "{\"text\": \"${MESSAGE}\", \"username\": \"OneOff Bot\", \"icon_emoji\": \":robot_face:\"}",
"headers": {
"Content-Type": "application/json"
},
"method": "POST",
"retry": {
"attempts": 3,
"delay": 1000
},
"timeout": 10,
"url": "${SLACK_WEBHOOK_URL}"
},
"type": "http"
}Import via API
curl -X POST http://localhost:8080/api/jobs -H "Content-Type: application/json" -d '{"config":{"body":"{\"text\": \"${MESSAGE}\", \"username\": \"OneOff Bot\", \"icon_emoji\": \":robot_face:\"}","headers":{"Content-Type":"application/json"},"method":"POST","retry":{"attempts":3,"delay":1000},"timeout":10,"url":"${SLACK_WEBHOOK_URL}"},"type":"http"}'Or copy the config above and create the job manually via the web UI.
Slack Webhook Notification
Send a message to a Slack channel via incoming webhook. Great for deployment notifications, alerts, and scheduled announcements.
Job TypeHTTP
CategoryAPI & Webhooks
Tags
#slack #notification #webhook #alerts
Added on January 15, 2025
