slack-notifier
v1.0.3Posts messages to any Slack channel or DM. Supports rich Block Kit formatting, file uploads, and threaded replies.
Install
bloom install slack-notifier@1.0.3
Stars2
Downloads3601
Version1.0.3
PublishedMar 4, 2026
Author
Max Stoiber
@mxstbr
README
Overview
slack-notifier wraps the Slack Web API for clean, composable message delivery. Supports all Slack Block Kit elements.
Usage
{
"channel": "#deployments",
"text": "Deploy successful: v1.4.2 is live.",
"blocks": [
{
"type": "section",
"text": { "type": "mrkdwn", "text": "*Deploy successful* :rocket:" }
}
]
}
Configuration
Set SLACK_BOT_TOKEN with a bot token that has chat:write and files:write scopes.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| channel | string | yes | Channel ID or name (e.g. "#general") |
| text | string | yes | Fallback plain text content |
| blocks | array | no | Slack Block Kit blocks |
| thread_ts | string | no | Thread timestamp for replies |
| files | array | no | Files to attach |
License
MIT
Agent Schema
{
"name": "slack-notifier",
"inputs": {
"type": "object",
"required": [
"channel",
"text"
],
"properties": {
"text": {
"type": "string"
},
"blocks": {
"type": "array"
},
"channel": {
"type": "string"
},
"thread_ts": {
"type": "string"
}
}
},
"outputs": {
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"ts": {
"type": "string"
},
"channel": {
"type": "string"
},
"message": {
"type": "object"
}
}
},
"runtime": "node",
"version": "1.0.3",
"description": "Posts messages to Slack channels",
"capabilities": [
"slack",
"messaging",
"notifications"
]
}