Slack Integration Setup
Transform your team communication with real-time AstroPulse notifications delivered directly to your Slack channels. Enterprise-grade integration with webhook validation ensures reliable, formatted alerts for your entire organization.
π Prerequisitesβ
- Enterprise Plan: Slack integration is an Enterprise-only feature
- Organization Owner: Only organization owners can configure Slack channels
- Slack Workspace Admin: Ability to create incoming webhooks in your Slack workspace
π Quick Setupβ
Step 1: Create Slack Webhookβ
-
Open Slack and navigate to your workspace
-
Visit Slack Apps: Go to https://api.slack.com/apps
-
Create New App: Click "Create New App" β "From scratch"
-
Configure App:
- App Name:
AstroPulse Notifications
(or your preferred name) - Workspace: Select your target workspace
- App Name:
-
Add Incoming Webhooks:
- Navigate to "Incoming Webhooks" in the left sidebar
- Activate incoming webhooks
- Click "Add New Webhook to Workspace"
- Select Channel: Choose the channel for notifications
- Authorize the integration
-
Copy Webhook URL: Save the generated webhook URL (format:
https://hooks.slack.com/services/...
)
Step 2: Configure in AstroPulseβ
- Navigate to Settings: Go to Console β Settings β Notifications
- Add Channel: Click "Add Channel"
- Select Slack: Choose "Slack" from the channel type dropdown
- Enter Webhook URL: Paste your Slack webhook URL
- Test Webhook: Click "Test Webhook" to verify the integration
- A test message will be sent to your Slack channel
- β Success: Test passes, channel can be created
- β Failure: Check webhook URL and permissions
- Create Channel: Click "Create Channel" after successful test
Step 3: Subscribe to Topicsβ
- Subscribe to Topics: Click "Subscribe to Topic"
- Select Topics: Choose events you want to receive:
- Cluster Pipeline Events - Infrastructure updates
- Application Pipeline Events - Deployment notifications
- System Events - Platform alerts
- Select Channels: Check "Slack" to receive notifications via Slack
- Enable Subscription: Ensure the subscription is enabled
Visual Elementsβ
- π¨ Rich Blocks: Structured layouts with sections and fields
- π Action Buttons: Direct links to AstroPulse Console
- π Status Indicators: Color-coded severity levels
- π± Mobile Optimized: Perfect formatting on all devices
π§ Troubleshootingβ
Common Issuesβ
β "Test failed" or "Failed to fetch"β
- Problem: Webhook is unreachable or returns error
- Solutions:
- β Verify webhook URL is complete and unmodified
- β Check Slack app permissions in workspace
- β Ensure channel exists and app has access
- β Regenerate webhook if necessary
β "Enterprise Only" Messageβ
- Problem: Slack integration requires Enterprise plan
- Solution: Upgrade to Enterprise plan or use Email notifications
β Messages Not Appearingβ
- Problem: Integration created but no messages received
- Check:
- β Subscription Status: Ensure subscriptions are enabled
- β Channel Selection: Verify Slack is selected in subscription
- β Event Activity: Confirm events are occurring
- β Webhook Health: Re-test webhook URL
π Security & Best Practicesβ
Security Guidelinesβ
- π Secure URLs: Webhook URLs contain sensitive tokensβnever share publicly
- π’ Workspace Control: Only workspace admins should create webhooks
- π Rotation: Regenerate webhook URLs periodically
- π Audit: Monitor webhook usage in Slack app settings
Best Practicesβ
- π Dedicated Channels: Create specific channels for AstroPulse notifications
- π₯ Team Access: Ensure relevant team members have access to notification channels
- π Channel Settings: Configure notification preferences per channel
- π± Mobile: Enable mobile notifications for critical alerts
Channel Organizationβ
#astropulse-critical β System Events (high priority)
#astropulse-deployments β Application Pipeline Events
#astropulse-infra β Cluster Pipeline Events
#astropulse-general β All events (development)
π Advanced Configurationβ
Multiple Webhooksβ
Create separate integrations for different channels:
- Create Multiple Apps: Different Slack apps for different purposes
- Channel-Specific URLs: Unique webhook per channel type
- Topic Targeting: Subscribe different topics to different channels
Integration Managementβ
- βοΈ Edit Integration: Use the pencil icon to modify existing Slack channels
- π Re-test Webhooks: Test existing integrations periodically
- π Monitor Usage: Track message delivery and engagement
Compliance & Auditβ
- π Permanent Records: All notification subscriptions and changes are logged
- π Audit Trail: Full history of webhook tests and configurations
- π Compliance Export: Export notification settings for compliance review
π Supportβ
Need help with Slack integration?
- π Documentation: Check Slack API documentation
- π« Support: Contact AstroPulse support with webhook configuration details
- π¬ Community: Join our community for integration tips and best practices
Next Steps: Subscribe to notification topics or explore Email notifications as an alternative.