How to Configure and Use Slack Notifications in Taskify

Steps for Slack Bot Token Setup:

  1. Create a Slack App:

    1. Go to https://api.slack.com/apps

    2. Click "Create New App"

    3. Choose "From scratch"

    4. Name your app (e.g., "Taskify Notifier") and select your workspace

    5. Click "Create App"

  2. Set up Bot Token Scopes:

    1. In the left sidebar, click on "OAuth & Permissions"

    2. Scroll down to "Scopes"

    3. Under "Bot Token Scopes", click "Add an OAuth Scope"

    4. Add these scopes:

  3. Install the app to your workspace:

    1. Scroll up to the top of the "OAuth & Permissions" page

    2. Click "Install to Workspace"

    3. Review the permissions and click "Allow"

  4. Get your Bot Token:

    1. After installation, you'll be back on the "OAuth & Permissions" page

    2. Look for "Bot User OAuth Token" under "OAuth Tokens for Your Workspace"

    3. Click "Copy" to copy this token

    4. Store this token securely (we'll use it in the code later)

  5. Enable Socket Mode (optional, but recommended for enhanced security):

    1. In the left sidebar, click on "Socket Mode"

    2. Toggle "Enable Socket Mode" to On

    3. If prompted, generate an app-level token and store it securely

Important: Keep your Bot Token and app-level token (if generated) confidential. Do not share them publicly or commit them to version control systems.

Additional Info: To send a Slack notification to a specific user, the Slack user ID will be automatically retrieved using the email ID registered in the system.