Slack Notifications Configuration Guide
This guide explains how to configure Slack notifications for the Help Desk application.
Overview
The Help Desk application supports real-time Slack notifications for ticket updates. Users can receive notifications in a Slack channel when:
- A new ticket is created
- A ticket status changes
- A ticket is assigned
- A reply is added to a ticket
- A ticket is resolved or closed
Prerequisites
- A Slack workspace where you want to receive notifications
- Admin or owner access to create a Slack app (or permission from an admin)
Step 1: Create a Slack App
- Go to api.slack.com/apps
- Click Create New App
- Choose From scratch
- Enter an app name (e.g., “Help Desk Notifications”)
- Select your workspace
- Click Create App
Step 2: Enable Incoming Webhooks
- In your app settings, go to Incoming Webhooks in the left sidebar
- Toggle Activate Incoming Webhooks to On
- Click Add New Webhook to Workspace
- Select the channel where you want to receive notifications
- Click Allow
- Copy the Webhook URL that appears (it looks like
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX)
Step 3: Configure in Help Desk
For Individual Users
- Log in to the Help Desk application
- Click on your avatar in the top-right corner
- Select User Preferences
- Expand the Slack Notifications section
- Toggle Enable Slack Notifications to on
- Paste your Slack webhook URL in the Slack Webhook URL field
- Optionally enter a Channel Name for reference
- Click Test Webhook to verify the connection works
- Click Connect Slack to save the configuration
- Click Save Preferences
For Ticket-Specific Notifications
When creating a new ticket:
- If Slack is connected, you’ll see a Slack Notifications section
- Check the box Send me updates via Slack for this ticket
- Submit the ticket
You’ll receive Slack notifications for that specific ticket’s updates.
For Admin/Tech Staff
Admins and tech staff can configure system-wide Slack notifications:
- Go to User Preferences
- Expand the Admin Slack Notifications section
- Enable Admin Slack Notifications
- Configure which events trigger notifications:
- New tickets created - Get notified when any new ticket is submitted
- Ticket status changes - Get notified when tickets change status
- Tickets closed/resolved - Get notified when tickets are closed
- High/Urgent priority only - Only notify for high-priority tickets
Webhook URL Security
- Your webhook URL is stored securely in Firebase
- Never share your webhook URL publicly
- Each webhook URL is unique to your Slack channel
- You can regenerate the webhook URL in Slack if it’s compromised
Notification Format
Slack notifications use Markdown formatting and include:
New Ticket:
*New Ticket Created*
Ticket: *#ABC123*Subject: Unable to access email
We'll keep you updated on progress.Ticket Update:
*Ticket Update*
Ticket: *#ABC123*Status: *In Progress*Status changed from Open to In ProgressTicket Resolved:
*Ticket Resolved!*
Ticket: *#ABC123*Your ticket has been resolved. Check your email for details.
Thank you for using Help Desk!Troubleshooting
Notifications Not Working
- Test the webhook: Use the “Test Webhook” button in User Preferences
- Check the webhook URL: Ensure it starts with
https://hooks.slack.com/ - Verify the channel: Make sure the Slack app is still installed in the channel
- Check Slack app permissions: The app needs permission to post messages
Webhook URL Invalid
If your webhook URL becomes invalid:
- Go to api.slack.com/apps
- Select your app
- Go to Incoming Webhooks
- Delete the old webhook
- Create a new webhook to the desired channel
- Update the webhook URL in Help Desk
Too Many Notifications
To reduce notification volume:
- Use the High/Urgent priority only filter for admin notifications
- Only enable Slack notifications for specific tickets that need close monitoring
- Create a dedicated Slack channel for Help Desk notifications
Disconnecting Slack
To stop receiving Slack notifications:
- Go to User Preferences
- Click Disconnect Slack
- Click Save Preferences
Or, from Slack:
- Go to api.slack.com/apps
- Select your app
- Go to Incoming Webhooks
- Delete the webhook for the channel
Data Stored
The following data is stored when you connect Slack:
- Webhook URL (encrypted)
- Channel name (optional, for your reference)
- Connection timestamp
- Message count (for analytics)
- Last message timestamp
No Slack user data, workspace data, or message content is stored beyond what’s needed for delivering notifications.
API Reference
Firestore Collections
slackPreferences- Stores user Slack preferencesuserSlackPreferences- Stores user-level settingsslackMessages- Logs sent messages for troubleshooting
Cloud Functions
onTicketCreatedSlack- Triggered when a ticket is createdonTicketUpdatedSlack- Triggered when a ticket is updatedsendTicketSlackManual- HTTP endpoint for manual notificationstestSlackWebhook- HTTP endpoint for testing webhook URLs
Support
If you encounter issues with Slack notifications, please:
- Check this documentation
- Review the troubleshooting section
- Contact your Help Desk administrator