Slack
Slack connections enable sending notifications, alerts, and messages to Slack channels.
Used By
- Notifications - Send alerts to Slack channels
- Notification Action - Send messages from playbooks
| Field | Description | Scheme |
|---|---|---|
channel* | The channel to send messages to, in |
|
token* | Slack app's API bot token (starts with xoxb-) | |
botName | Bot name displayed in messages | |
color | Message left-hand border color | good | warning | danger | hex color code |
icon | Bot icon as emoji or image URL | emoji or URL |
threadTS | Parent message timestamp to send as thread reply | |
title | Prepended text above the message |
Example
slack-connection.yamlapiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: slack-alerts
spec:
slack:
token:
valueFrom:
secretKeyRef:
name: slack-credentials
key: BOT_TOKEN
channel: C0123456789
botName: Mission Control
icon: ":robot_face:"
Next Steps
- Slack Channel Guide - Configure Slack notifications