Skip to main content

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​

  1. Open Slack and navigate to your workspace

  2. Visit Slack Apps: Go to https://api.slack.com/apps

  3. Create New App: Click "Create New App" β†’ "From scratch"

  4. Configure App:

    • App Name: AstroPulse Notifications (or your preferred name)
    • Workspace: Select your target workspace
  5. 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
  6. Copy Webhook URL: Save the generated webhook URL (format: https://hooks.slack.com/services/...)

Step 2: Configure in AstroPulse​

  1. Navigate to Settings: Go to Console β†’ Settings β†’ Notifications
  2. Add Channel: Click "Add Channel"
  3. Select Slack: Choose "Slack" from the channel type dropdown
  4. Enter Webhook URL: Paste your Slack webhook URL
  5. 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
  6. Create Channel: Click "Create Channel" after successful test

Step 3: Subscribe to Topics​

  1. Subscribe to Topics: Click "Subscribe to Topic"
  2. Select Topics: Choose events you want to receive:
    • Cluster Pipeline Events - Infrastructure updates
    • Application Pipeline Events - Deployment notifications
    • System Events - Platform alerts
  3. Select Channels: Check "Slack" to receive notifications via Slack
  4. 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:

  1. Create Multiple Apps: Different Slack apps for different purposes
  2. Channel-Specific URLs: Unique webhook per channel type
  3. 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.