
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@robinpath/slack
Advanced tools
Slack Web API and Incoming Webhooks client for messaging, channels, reactions, file uploads, and user management
Slack Web API and Incoming Webhooks client for messaging, channels, reactions, file uploads, and user management
The slack module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
robinpath add @robinpath/slack
1. Set up credentials
slack.setToken "default" "xoxb-your-token" {"defaultChannel": "general"}
2. Send a message to a Slack channel via chat.postMessage
slack.send "default" "#general" "Hello from RobinPath!"
| Function | Description |
|---|---|
slack.setToken | Store a Slack Bot User OAuth Token for a workspace |
slack.send | Send a message to a Slack channel via chat.postMessage |
slack.sendWebhook | Send a message via a Slack Incoming Webhook URL (no token needed) |
slack.reply | Reply to a message thread via chat.postMessage with thread_ts |
slack.react | Add an emoji reaction to a message via reactions.add |
slack.upload | Upload a file to a Slack channel using the new file upload API |
slack.listChannels | List Slack channels via conversations.list |
slack.getHistory | Get message history for a channel via conversations.history |
slack.setStatus | Set the authenticated user's status via users.profile.set |
slack.userInfo | Get user information via users.info |
slack.createChannel | Create a new Slack channel via conversations.create |
slack.updateMessage | Update an existing message via chat.update |
slack.send "default" "#general" "Hello from RobinPath!"
slack.sendWebhook "https://hooks.slack.com/services/T.../B.../xxx" "Deploy complete!"
slack.reply "default" "C01234" "1234567890.123456" "Got it, thanks!"
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/slack";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
slack.setToken "default" "xoxb-your-token" {"defaultChannel": "general"}
slack.send "default" "#general" "Hello from RobinPath!"
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/discord — Discord module for complementary functionality@robinpath/teams — Teams module for complementary functionality@robinpath/telegram — Telegram module for complementary functionality@robinpath/whatsapp — WhatsApp module for complementary functionality@robinpath/json — JSON module for complementary functionalityMIT
FAQs
Slack Web API and Incoming Webhooks client for messaging, channels, reactions, file uploads, and user management
We found that @robinpath/slack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.