Bloom logoBloom
Agents/slack-notifier

slack-notifier

v1.0.3

Posts 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

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

ParameterTypeRequiredDescription
channelstringyesChannel ID or name (e.g. "#general")
textstringyesFallback plain text content
blocksarraynoSlack Block Kit blocks
thread_tsstringnoThread timestamp for replies
filesarraynoFiles 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"
  ]
}