Skip to content

Slack Support App is a Node.js application designed to assist with support and channel management within your Slack workspace.

Notifications You must be signed in to change notification settings

Guazzihub/Slack-Support-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slack Support App

Slack Support App is a Node.js application designed to assist with support and channel management within your Slack workspace. The app provides interactive options to handle support requests, channel modifications, and feedback submissions efficiently.

Features

  • Interactive Buttons: Users can interact with buttons to:
    • Submit feedback or suggestions.
    • Request support.
    • Add, update, or delete channels.
  • Modals for Input: Opens modals for users to input their requests.
  • Support Channel Integration: Routes all support tickets to a specified channel.
  • Simple Setup: Easy to configure.

Setup and Installation

Prerequisites

  • Node.js: Ensure you have Node.js (version 14 or higher) installed.
  • Slack App: You can create the Slack app using the provided manifest.json file:
    • Go to your Slack workspace's app management page.
    • Select "Create New App" and choose the "From manifest" option.
    • Paste the contents of manifest.json to automatically configure the app.

The app requires certain credentials and configurations to be set in a .env file. Create a .env file in the root directory with the following structure:

# Slack credentials
SLACK_BOT_TOKEN=xoxb-...         # Your Slack bot token
SLACK_APP_TOKEN=xapp-...         # Your Slack app token
SLACK_SIGNING_SECRET=...         # Your Slack signing secret

# Support channel configuration
SUPPORT_CHANNEL_ID=...           # The ID of the channel where tickets will be routed

Installation

  1. Download the repository.

  2. Install dependencies:

npm install

Running the app

Start the app in Socket Mode:

node index.js

Invite the app to a Slack channel and mention it to trigger the app:

@your-app-name

The App will log "⚡️ App is running in socket mode!" when successfully started.

Usage

  1. Mention the App in Slack:
    • The App responds with interactive buttons for feedback, support, or channel management.
  2. Interact with the Modals:
    • Each action opens a modal for user input.
  3. Receive Tickets in the Support Channel:
    • All tickets are routed to the channel specified in SUPPORT_CHANNEL_ID.

Project Structure

app/
├── .env                 # Environment variables
├── index.js             # App logic
├── manifest.json        # Slack app configuration
├── package.json         # Dependencies and scripts

Contribution

Contributions are welcome! Feel free to open issues or submit pull requests.

About

Slack Support App is a Node.js application designed to assist with support and channel management within your Slack workspace.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published