Slack Integration
Monitor Slack channels, messages, and user activity through the Slack API. Detect changes in your workspace and route events via webhooks with RocketHooks.
How RocketHooks Works with Slack
RocketHooks monitors Slack’s API endpoints to detect changes in your workspace: new messages in specific channels, user presence updates, channel membership changes, and more. By polling Slack’s API at configurable intervals, RocketHooks transforms Slack data into real-time webhook events that feed into your automation pipelines.
Works with any Slack workspace with bot token access.
Authentication Setup
Create a Slack app and install it to your workspace. Use the bot token for API monitoring:
{ "auth": { "type": "bearer", "token": "xoxb-YOUR-SLACK-BOT-TOKEN" }}Required scopes for monitoring: channels:history, channels:read, users:read, team:read.
Endpoint Examples
Monitor Channel Messages
Track new messages in a specific channel:
{ "url": "https://slack.com/api/conversations.history?channel=C0123456789&limit=10", "method": "GET", "pollInterval": 30, "changeDetection": { "strategy": "jsonpath", "expression": "$.messages[*].ts" }}Monitor User Presence
Detect when team members update their status or go offline:
{ "url": "https://slack.com/api/users.list?limit=100", "method": "GET", "pollInterval": 300, "changeDetection": { "strategy": "jsonpath", "expression": "$.members[*].profile.status_text" }}Monitor Channel Membership
Watch for changes to channel membership:
{ "url": "https://slack.com/api/conversations.members?channel=C0123456789&limit=200", "method": "GET", "pollInterval": 600, "changeDetection": { "strategy": "deep-compare" }}Common Patterns
Team Coordination Triggers
Monitor Slack channels for new messages and route change events via webhooks to your backend systems. Useful for triggering automated workflows when specific channels receive updates.
User Activity Tracking
Track user presence and status changes across your workspace. When team members update their status or go inactive, send webhook events to your HR or project management tools for activity reporting.
Channel Audit and Compliance
Monitor channel membership changes and message activity for compliance purposes. Route change events to your audit logging system via webhooks.
Delivery Channels
- Webhooks: Route Slack API change events to any HTTP endpoint with HMAC-signed payloads and automatic retries
Additional delivery channels (Slack notifications, email, SMS) coming soon.
Next Steps
- Create a Slack app at api.slack.com with required scopes
- Install the app to your workspace
- Configure your first Slack API monitor in RocketHooks
- Set up webhook delivery to route Slack events to your automation pipeline