Slack Integration
Alerts where your team lives.
Send messages, create channels, register slash commands, build interactive flows, and deploy bot users — all through ee.notification.
Features
Full Slack surface. One SDK.
Send Messages
Post to any channel or DM — rich text, blocks, attachments.
Create Channels
Programmatically create, archive, and manage channels.
Slash Commands
Register custom /commands that trigger EEv3 workflows.
Interactive Messages
Buttons, menus, modals — build interactive flows in Slack.
Bot Users
Deploy custom bot users that respond to mentions and DMs.
Code
Rich notifications. One call.
// Send a deploy notification
await ee.notification.slack({
channel: '#deploys',
text: 'v3.12.0 shipped',
blocks: [
{
type: 'section',
text: { type: 'mrkdwn', text: '*v3.12.0* deployed to production' },
},
{
type: 'section',
fields: [
{ type: 'mrkdwn', text: '*Commits:* 14' },
{ type: 'mrkdwn', text: '*Duration:* 43s' },
],
},
],
})Use cases
Slack as infrastructure.
Deploy Notifications
Every deploy posts to #deploys with commit count, duration, and status.
Error Alerts
Critical errors route to #oncall with stack trace and severity.
Approval Workflows
Request approvals with interactive buttons — approve or reject from Slack.
Daily Reports
Scheduled digests — revenue, signups, errors — delivered every morning.
Connect Slack
One OAuth flow. Deploy notifications, error alerts, and approval workflows — live in minutes.
Start Integrating